Advanced AJAX Page Loader
[resolved] Reload Jquery Fade (2 posts)

  1. Bryonmathf
    Posted 3 years ago #

    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,
    $(window).load(function() {
    $( "#puff" ).show( "fade", {percent:100}, 6000 );

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

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


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

    They did not work.


  2. Bryonmathf
    Posted 3 years ago #

    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});

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Advanced AJAX Page Loader
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic