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

Home Forums JavaScript Jquery Tab Effect & URLs

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #25901

    OK, jquery problem… I am creating a simple tabbed effect for a website. Click on a tab, the tab itself changes to an active state and the content below the tab changes. That is working quite well. What I would like to do though is link each tab to a specific url — so, by visiting the visitor would see tab #1, would see tab #2, etc.

    Any ideas as to how I could go about that? (jQuery/javascript specific, I should add.) Not necessarily looking for specific code, just ways to approach the problem, or links to tutorials that might have done similar things.


    Solved my own question… In case anyone else finds this useful, one approach is to use window.location.hash.

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