Tell with URL which tabs are open

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
macangelo
Posts: 756
Joined: Sat 29. Nov 2003, 14:19
Location: Düsseldorf
Contact:

Tell with URL which tabs are open

Post by macangelo »

Hi All

I want to have a web page with tabs (cntpart tabs - this accordion thing). I want to provide links that contain attributes which tell the web page, which tab is open. For example I have 5 tabs and I want to have the the first 2 closed, the 3rd open and 4 and 5 closed. Or the 2nd open and all other closed. And I don't want a fixed setup but pass along my wish per URL … is that possible? I mean, how? ;-)

Thanks a lot!
Webdesign from Düsseldorf - made with phpwcms (most of it):
http://eyelikeit.com/index.php?de_beispiele-webdesign
User avatar
Oliver Georgi
Site Admin
Posts: 9892
Joined: Fri 3. Oct 2003, 22:22
Contact:

Re: Tell with URL which tabs are open

Post by Oliver Georgi »

you will need other JavaScript which checks for the anchor too. Search for a better accordion jQuery plugin. Most handle this well.
Oliver Georgi | phpwcms Developer | GitHub | LinkedIn | Систрон
Post Reply