Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript jQuery Cycle error – DOM not ready

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #46349
    npellegrino
    Participant

    Homepage slider isn’t working anymore.

    Link: http://bit.ly/13FxmcG

    My Console errors:
    – [cycle] DOM not ready, queuing slideshow
    – [cycle] terminating; zero elements found by selector

    Any help would be great. thank you.

    #142504
    Alen
    Participant

    You need document to be loaded first before you run any JavaScript. Either put the scripts right before ending `body` tag or add document ready statement:

    (function($){
    $(document).ready(function (){
    /* CODE FOR SLIDER HERE */
    });
    })(window.jQuery);

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.