Support » Plugin: Advanced AJAX Page Loader » Reload Jquery Fade

  • Resolved Bryonmathf

    (@bryonmathf)


    Hi everyone,
    This is probably simple for a lot of you, I have tried a few things I was sure should work.. Thanks in advance for the help!

    My html is
    <div id=”puff” style=”display: none;”>My Title</div>

    Later in the code I have,
    <script>
    $(window).load(function() {
    $( “#puff” ).show( “fade”, {percent:100}, 6000 );
    });
    </script>

    I have tried the two below as reload codes, which I was sure would work..

    JQuery(function() {
    JQuery( “#puff” ).show( “fade”, {percent:100}, 6000 );
    }

    and

    JQuery( “#puff” ).show( “fade”, {percent:100}, 6000 );

    They did not work.

    http://wordpress.org/plugins/advanced-ajax-page-loader/

Viewing 1 replies (of 1 total)
  • Thread Starter Bryonmathf

    (@bryonmathf)

    It was very simple, needed to ‘reinclude’ jquery js file

    jQuery( “#puff” ).show( “fade”, {percent:100}, 6000 );
    jQuery.ajax({ url: ‘../wp-content/themes/twentytwelve/js/jquery-1.9.1.js’, dataType: ‘script’, cache:true});

Viewing 1 replies (of 1 total)
  • The topic ‘Reload Jquery Fade’ is closed to new replies.