1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

JavaScript Tabs

Discussion in 'JavaScript' started by Omzy, Feb 3, 2009.

  1. #1
    I want to create javascript content tabs based on a div/ul structure. Also each tab should have a link in the form of a bookmark url (#), you should then be able to type in the bookmark url and be taken to that specific tab. Just like this site does:

    http://validator.w3.org/#validate_by_input
     
    Omzy, Feb 3, 2009 IP
  2. koolman

    koolman Peon

    Messages:
    76
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This Tab Menu can do what you asked: http://www.koolphp.net/support/demos/#kooltabs.style_silver

    Sorry that KoolTabs menu is for PHP, however the core inside is javascript. Hope that you use PHP.

    You can set the bookmark url link to tab. For the feature of typing in bookmark url, being taken to specific tab is also easy... all need to do is to read the bookmark of url, call client-side select() function of KoolTabs to select the corresponding tab.

    Hope it helps.
     
    koolman, Feb 3, 2009 IP
  3. Omzy

    Omzy Peon

    Messages:
    249
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes I am using PHP.

    That progrom isn't free however...
     
    Omzy, Feb 3, 2009 IP
  4. Omzy

    Omzy Peon

    Messages:
    249
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Anyone able to advise?
     
    Omzy, Feb 5, 2009 IP
  5. mob4u1

    mob4u1 Well-Known Member

    Messages:
    951
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    110
    #5
    mob4u1, Feb 6, 2009 IP