danbeall
02-07-2007, 09:00 PM
Switch Content Script II
http://www.dynamicdrive.com/dynamicindex17/switchcontent2.htm
This is a great script, but I have one small problem...
When it loads all the content is expanded by default. I would like it all to be collapsed by default. I have tried to find a setting in the script, but I haven't found anything that works for me.
There is a function to expand all and collapse all (sweeptoggle). Can I tell the browser to select collapse all when the page loads?
Any other ideas?
Thanks in advance!
Dan
http://www.dynamicdrive.com/dynamicindex17/switchcontent2.htm
This is a great script, but I have one small problem...
When it loads all the content is expanded by default. I would like it all to be collapsed by default. I have tried to find a setting in the script, but I haven't found anything that works for me.
There is a function to expand all and collapse all (sweeptoggle). Can I tell the browser to select collapse all when the page loads?
Any other ideas?
Thanks in advance!
Dan