Dreamweaver Club Forums

Dreamweaver Club Forums (http://www.dreamweaverclub.com/forum//index.php)
-   Spry (http://www.dreamweaverclub.com/forum//forumdisplay.php?f=189)
-   -   Spry accordion (http://www.dreamweaverclub.com/forum//showthread.php?t=40099)

ShadowArcher 05-04-2011 03:21 PM

Spry accordion
 
Hi - I am trying to find out how to link directly to a specific tab in a spry accordion. So, in other words, click a link to be taken to the page, with the correct tab open. I'm sure it must be possible, and I hope it's easy :)
Thanks.

ShadowArcher 05-10-2011 11:52 AM

Ok, great; all these replies have been very helpful, thank you very much. I'm guessing it's going to be a few if statements in the javascript, but I don't know JS. But I guess something along the lines of 'if clicked link is A, then open tab A; if clicked link B, open B'.

DWcourse 05-10-2011 02:15 PM

this might help: http://foundationphp.com/tutorials/spry_url_utils.php

ShadowArcher 05-10-2011 02:25 PM

Sounds like it; thank you :). Google was not my friend on this occasion.

ShadowArcher 05-10-2011 03:30 PM

Yep, that's worked perfectly. Thank you :)


All times are GMT. The time now is 11:38 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Copyright 2006 DreamweaverClub.com