Back Home

Open Designs

Community. Driven.

    •  
      CommentAuthorbradm81
    • CommentTimeSep 4th 2008
     
    In a template I'm working on, I'd like to include a box with tabs like a lot of news sites have. The idea is for it to provide new info under each tab without having to reload the page.

    I found this but it requires javascript.

    Anyone know of a purely CSS way of doing this?
    • CommentAuthorzanzibar
    • CommentTimeSep 4th 2008
     
    Try this
    http://www.highdots.com/css-tab-designer

    or Google "CSS tabs" and you can find a lot of different options.
  1.  
    could you do something with anchor tags and a div tag with fixed height and overflow scroll or something? thats all i can think of.
    • CommentAuthorLourdes
    • CommentTimeSep 5th 2008
     
    I don't know of a pure CSS way of doing it... There's this and this, but I think a bit of javascript is needed in order to make the box hide/show properly. Stu Nicholl's Tabbed Pages requires minimal js so you might want to check that out. And there's also Ajax Tabs. bakie