Forums

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

Home Forums JavaScript jquery animated menu (image reposition/fade)

  • This topic is empty.
Viewing 2 posts - 16 through 17 (of 17 total)
  • Author
    Posts
  • #84526
    jamygolden
    Member

    Yes! You’re loading the javascript on window load. $(window).load(). You should fire it once the DOM is ready. $(document).ready.()

     

    Should be:

     

    Also note: You’re loading up 2 version of jQuery.
    Also, you should put the javascript in the footer, just before the </body></html>. If a javascript file struggles to load for some reason, it will hold up everything after it, so it’s (mildly) important for it to be in the footer – That’s what I do at least. Also, order the scripts in my most important to least important, starting with jQuery.

    Cool site btw!

    #84529
    gromfy
    Member

    Excellent. All fixed. Thank you so much!

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