WordPress.org

Support

Support » How-To and Troubleshooting » Which one of these JavaScripts is “pre-loading” the site?

Which one of these JavaScripts is “pre-loading” the site?

  • Hello,

    My theme has these JS in header code and one of them is showing a “Please wait….” while the whole theme loads. I want to remove it but I dont know which one I have to remove:

    <!-- begin javascript -->
    	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/javascript.php"></script>
    	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/assets/js/jquery-1.3.2.min.js"></script>
    	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/assets/js/scripts.js"></script>
    	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/assets/js/sidebartabs.js"></script>
    	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/assets/js/prototype.js"></script>
    	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/assets/js/scriptaculous.js?load=effects,builder"></script>
    	<script type="text/javascript" src="<?php bloginfo('template_url'); ?>/assets/js/lightbox.js"></script>
    	<!-- end javascript -->

    I want to remove that the JavaScript.

    Could you please tell me which onw should I remove?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Chris Olbekson

    @c3mdigital

    Level 12 Bug Squasher & Forum Moderator

    It is probably the first one but without knowing the contents it would be hard to tell. It is either the 1st or 3rd. Could you provide a link to the site?

    The site is: http://www.tecnicasderelajacion.org/

    I’d appreciate any help. The creator of the theme doesn’t respond.

    Thanks.

    Alex.

    Chris Olbekson

    @c3mdigital

    Level 12 Bug Squasher & Forum Moderator

    The first js file javascript.php contains the loading code. You can try removing the file or make the following changes to it:

    Change:

    var clear = 'http://www.tecnicasderelajacion.org/wp-content/themes/TecnicasDeRelajacion/assets/images/clear.gif';
    var searchDefault = 'Introduzca las palabras claves aqu&iacute;';
    var videoWidth = '300';
    var videoHeight = '225';
    var autoSlide = true;
    var autoSlideSecs = 5;
    var youtubeID = 'CR3dM-GlZK8';
    var lightbox = true
    var commentName = 'Su nombre';
    var commentEmail = 'Su email (no ser&aacute; publicado)';
    var commentUrl = 'Su Web site (opcional)';
    var cssdir = 'http://www.tecnicasderelajacion.org/wp-content/themes/TecnicasDeRelajacion/assets/css/';
    var hideLoading = true;
    var loadingMessage = 'Espere por favor...';
    var imgLoading = 'http://www.tecnicasderelajacion.org/wp-content/themes/TecnicasDeRelajacion/assets/images/loading.gif';
    var imgClose = 'http://www.tecnicasderelajacion.org/wp-content/themes/TecnicasDeRelajacion/assets/images/closelabel.gif';
    var inputColor = '#000000';

    To:

    var clear = 'http://www.tecnicasderelajacion.org/wp-content/themes/TecnicasDeRelajacion/assets/images/clear.gif';
    var searchDefault = 'Introduzca las palabras claves aqu&iacute;';
    var videoWidth = '300';
    var videoHeight = '225';
    var autoSlide = true;
    var autoSlideSecs = 5;
    var youtubeID = 'CR3dM-GlZK8';
    var lightbox = true
    var commentName = 'Su nombre';
    var commentEmail = 'Su email (no ser&aacute; publicado)';
    var commentUrl = 'Su Web site (opcional)';
    var cssdir = 'http://www.tecnicasderelajacion.org/wp-content/themes/TecnicasDeRelajacion/assets/css/';
    var hideLoading = false;
    var imgClose = 'http://www.tecnicasderelajacion.org/wp-content/themes/TecnicasDeRelajacion/assets/images/closelabel.gif';
    var inputColor = '#000000';

    We are just changing the boolean from hideloading from true to false and removing the loading image.

    damiangonzalez

    @damiangonzalez

    Hi alex.

    I would like to know the name of your theme or where buy it.

    I have a blog and do not like the theme and I’m looking for a theme like yours.

    If you want to see the theme is the link to my blog http://www.dlgtradingroom.com/blog/
    The theme is called “Revolution code Blue”
    Best regards

    /*
    Theme Name: QuickRise
    Theme URI: http://themeforest.net/item/quickrise-wordpress-theme/35202
    Description: An advanced, full-featured, magazine-style WordPress Theme created by <a href="http://darrenpangan.com/">Darren Pangan</a> and sold exclusively at <a href="http://themeforest.net/?r=rkquest">ThemeForest</a>.
    Version: 1.00
    Author: Darren Pangan
    Author URI: http://darrenpangan.com/
    Tags: blue, red, green, gray, magazine, custom style, fixed width, three columns, widgets
    */

    is that theme

    damiangonzalez

    @damiangonzalez

    Thanks Rev.Voodoo. How quick

    Best Regards.

    Damian

    I had the same problem. At the end, just deleted it all. You can check it at: http://www.hidroterm.com.ve.

    The w3c validator was very helpfull.

    bye

    I have the same problem like chewie…
    this is the page: http://www.pymesenmexico.com

    Please any help!!

    Thank u to all!!

    Manuel

    Hi! Im just starting to use WordPress, and I have a little problem with my site Fiestas Infantiles , I dont want the Time appears on my web site, if someone knows something I’d be grateful., Thanks !! Alejandro

    Hi, I also I have that problem on my website, is vuelos bajo coste, please if anyone can give you appreciate the solcion.

    Greetings

    I much doubt, mine is the same, follow the torque response is helping to see the site is tienda radiocontrol

    Hi again! Please check my site DecoraciĆ³n de Fiestas, Is not being showed on google, I dont know if maybe the theme has problems. Thanks!

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Which one of these JavaScripts is “pre-loading” the site?’ is closed to new replies.