CSS javascript tabs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ansuiya
    New Member
    • Jan 2007
    • 40

    CSS javascript tabs

    Hi

    I want to use tabs in my html page using css and javascript. It would be like, suppose we have 3 tabs and onclick of the tab new div will open in the same place.

    Please tell me how to code it with javascript


    Thanx
    Last edited by Frinavale; May 26 '09, 02:12 PM. Reason: Moved to JavaScript Answers from HTML/CSS
  • prabirchoudhury
    New Member
    • May 2009
    • 162

    #2
    read some DOM Css tutorial online .. here one site might help you

    Comment

    • Atli
      Recognized Expert Expert
      • Nov 2006
      • 5062

      #3
      Hi.

      You could simply put 3 absolutely positioned DIVs on top of each other, invisible.
      Then change the visibility of all three based on which tab is supposed to be open.

      Comment

      • Frinavale
        Recognized Expert Expert
        • Oct 2006
        • 9749

        #4
        What have you tried so far Ansuiya?

        Comment

        Working...