Forums

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

Home Forums JavaScript How do I prevent my JQuery intro showing everytime I click Home?

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #36839
    skelly87
    Member

    On my site I have created a Jquery intro by wrapping my whole page and setting it to display: none. Once on the site though i’d like it so when you go back to the home page, it skips the intro. Not sure how to do this though, possibly a cookie? any help/advice would be much appreciated!

    http://www.thecopyrights.co.uk

    #97420
    karlpcrowley
    Participant

    Maybe when you “Click to Enter” set a cookie, and when the page loads check if the cookie is set before deciding what to render, if you are able to I would recommend using a session on the server instead

    Nice design BTW

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