Forums

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

Home Forums JavaScript Slide Down Div

  • This topic is empty.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #36711

    I am trying to work on a redesign of my site, and I need a div to slide down when the page is loaded. Is there anyone that can help me?

    #96908

    You could use jQuery’s document ready method: http://jsfiddle.net/joshnh/LY6ud/

    #96909

    I tried altering that script to fit what I am doing, but unfortunately, it did not work. I am not quite sure if I did something wrong though, or what, but the link to the page I am trying to build is http://thatothertechguy.com/templates/simplicity/ . If you would do me a favour and look at the source of it, that would be great. Thanks

    #96910

    You need to load jQuery first: http://jquery.com/

    #96911

    Oh…..that would be my problem……I have made many sites before, and this is the time I forget to load jQuery. Thanks for reminding me! I would have tried going on without it….

    #96914

    No worries :)

    #96918
    Vermaas
    Participant

    There’s no jQuery in the functions.js as i see. Beside that, you need to load the jQuery library first before any of other scripts.

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