LCAngela
02-15-2008, 05:35 PM
1) Script Title: Switch Content
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
3) Describe problem:
I've used this script on several different sites with great success; however, there's one thing I find myself wishing for on my latest project: I'd like to disable the collapse of the current element.
For instance, if a user clicks on the link to expand Section1, I would like to remove the functionality that hides Section1 when they click the link again, limiting the script to only collapse that section when they click on another link for another section (with collapsePrevious set to "true").
Here's the mockup I'm currently working on, so hopefully you can get a better idea of what I'm after:
http://eq2gallery.com/bg/
I tried the code provided in this thread (http://www.dynamicdrive.com/forums/showthread.php?t=20198), but it's not quite what I'm looking for (besides that it doesn't tie in smoothly with the JS I'm using to change the appearance of the active "tab.")
Thanks in advance for any help or insight. :)
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm
3) Describe problem:
I've used this script on several different sites with great success; however, there's one thing I find myself wishing for on my latest project: I'd like to disable the collapse of the current element.
For instance, if a user clicks on the link to expand Section1, I would like to remove the functionality that hides Section1 when they click the link again, limiting the script to only collapse that section when they click on another link for another section (with collapsePrevious set to "true").
Here's the mockup I'm currently working on, so hopefully you can get a better idea of what I'm after:
http://eq2gallery.com/bg/
I tried the code provided in this thread (http://www.dynamicdrive.com/forums/showthread.php?t=20198), but it's not quite what I'm looking for (besides that it doesn't tie in smoothly with the JS I'm using to change the appearance of the active "tab.")
Thanks in advance for any help or insight. :)