Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. Tab Navigation Help

Tab Navigation Help

Scheduled Pinned Locked Moved Web Development
xmlhelpquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    caheo
    wrote on last edited by
    #1

    Hi everyone I've been developing a tab navigation lately using XML. Now I'm trying to put all things together. I have 2 nested tabs.I would like to know what is the best way to assembly when I click on a button on the tab the content will appear below. There are mutiple ways out there, I would like to know the most efficient way of your solution Thanks

    P T I 3 Replies Last reply
    0
    • C caheo

      Hi everyone I've been developing a tab navigation lately using XML. Now I'm trying to put all things together. I have 2 nested tabs.I would like to know what is the best way to assembly when I click on a button on the tab the content will appear below. There are mutiple ways out there, I would like to know the most efficient way of your solution Thanks

      P Offline
      P Offline
      Paul Watson
      wrote on last edited by
      #2

      Use hidden DIVs and with JavaScript set them to show or hide as needed. Use the display: none; property rather than visibility: hidden; though as the former will then not take up any space. regards, Paul Watson Bluegrass South Africa Christopher Duncan quoted: "...that would require my explaining Einstein's Fear of Relatives" Crikey! ain't life grand? Einstein says...

      1 Reply Last reply
      0
      • C caheo

        Hi everyone I've been developing a tab navigation lately using XML. Now I'm trying to put all things together. I have 2 nested tabs.I would like to know what is the best way to assembly when I click on a button on the tab the content will appear below. There are mutiple ways out there, I would like to know the most efficient way of your solution Thanks

        T Offline
        T Offline
        theJazzyBrain
        wrote on last edited by
        #3

        I have done the same with TABLES and content for every TAB was included in a TR of the TABLE. Then set the DISPLAY style of each TR to either BLOCK or NONE. If I was to do somehting like this again I would use DIVs instead as the other fellow CPian suggested... theJazzyBrain

        Excelence is not an act, but a habbit

        Aristotle

        1 Reply Last reply
        0
        • C caheo

          Hi everyone I've been developing a tab navigation lately using XML. Now I'm trying to put all things together. I have 2 nested tabs.I would like to know what is the best way to assembly when I click on a button on the tab the content will appear below. There are mutiple ways out there, I would like to know the most efficient way of your solution Thanks

          I Offline
          I Offline
          intrader
          wrote on last edited by
          #4

          I do it by having named div elements with style="display:none" or style="display:block" as appropriate. You will put all the tab stuff inside the divs Enjoy

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups