View Full Version : Switch Content Script Link

12-02-2010, 01:55 PM

Im putting together a website with the use of the switch content script. http://www.dynamicdrive.com/dynamicindex17/switchcontent.htm

I was just wondering is there a way I can add something to it to automatically link to the individual contents. For example.

Script contains

Then my services page has links to each of the contents seperatly, so effectively i click a link for content 3 and it loads the page with content 3 opened automatically.

Thanks in advance.

12-03-2010, 02:33 AM
Have you looked at DD Accordion (http://www.dynamicdrive.com/dynamicindex17/ddaccordion.htm)? It supports such a feature, whereby you can define a remote link augmented with a parameter at the end of the URL to get a specific content on the target page to appear expanded by default when that page loads. See "Remote links that expand select headers on the target page (http://www.dynamicdrive.com/dynamicindex17/ddaccordion_suppliment.htm)" on the script's documentation page for more info.