View Full Version : Spry accordion

05-04-2011, 04:21 PM
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 :)

05-10-2011, 12:52 PM
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'.

05-10-2011, 03:15 PM
this might help: http://foundationphp.com/tutorials/spry_url_utils.php

05-10-2011, 03:25 PM
Sounds like it; thank you :). Google was not my friend on this occasion.

05-10-2011, 04:30 PM
Yep, that's worked perfectly. Thank you :)