1) Script Title: Switch Content
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...tchcontent.htm
3) Describe problem: I'm using this script on a page of presenter bios and the divs are separated alphabetically. The bios contain links to other bios on the page and when I click on them, they do not work. I added this script below to detect the # in incoming urls. The divs expand and the bookmarks work with incoming urls, but I can't figure out how to make it work on the page. I looked at the script for Switch Content II and didn't see a solution. Any ideas?
<code>
if(window.location.hash ) {
webinarBlock.sweepToggle('expand')
} else {
webinarBlock.sweepToggle('collapse')
}
</code>




Reply With Quote
Bookmarks