Hi, if i were to create tab pages in HTML, what 'container' so i need to produce multiple times for each 'page'? I was just going to adjust the 'visible' property (whichever one doesnt take up layout space when unselected) when the button is clicked.
+1
A:
You'll need to use a bit of JavaScript to achieve this, jQuery will be your easiest option, check out the jQuery UI tabs, this is what you need.
ILMV
2010-06-29 11:30:27
"a bit of JavaScript": you mean jQuery + jQuery UI = 70k??? little right...
galambalazs
2010-06-29 12:04:42
Yeah? And if you get them from a CDN they'll probably be cached from another site, if you'd like to suggest a different method then feel free.
ILMV
2010-06-29 12:21:50
it sounds good except it's not true - http://bit.ly/9G5sGX
galambalazs
2010-06-29 16:29:49
But still what's your point? He asked for a solution to his problem and he got one?
ILMV
2010-06-29 16:47:06
A:
If you dont want to use javascript, it can be done by css3 http://carsonified.com/blog/dev/stay-on-target/
Codler
2010-06-29 11:32:37
css3 is not even a finalized specification. It can be trashed or changed...
galambalazs
2010-06-29 12:07:04
@galambalazs That does not mean it should be ignored, both of your comments are completely pointless as the author never said in what environment his problem existed in, if it was an intranet he may well be able to use CSS3, and it will not be trashed.
ILMV
2010-06-29 12:23:16
to hell with accessibility, right? who cares users? use shiny new stuff which is 3 lines for me, no matter if it wont work for most of the users out there...
galambalazs
2010-06-29 16:28:18
Ever heard of graceful degradation? Because it turns out that concept will allow a website to remain accessible if CSS / JavaScript isn't able to operate.
ILMV
2010-06-29 16:50:57
A:
You can create this pages with using CSS easily.
Here sample examples
http://www.dynamicdrive.com/style/csslibrary/item/css-tabs-menu
http://www.alvit.de/css-showcase/css-navigation-techniques-showcase.php
There are many tools to create tab menus.
Judas Imam
2010-06-29 11:33:07