PDA

View Full Version : Dynamic Content Switching Help



Nanopy
11-14-2005, 01:16 AM
Using the Dynamic Content Switching Script, is there any way to force Javascript to change *ALL* the content with the same id, for example:

<div id=2 class=switchcontent>
blah
</div>
<div id=2 class=switchcontent>
I need to switch as well
</div>

So that with one link, they both are switched?

fujiapple
11-30-2006, 11:05 PM
I'm trying to do the same thing, I think.

Example page: http://dev.mustardart.com/gallery_test2.html

I have a sidebar of thumbnail images. I want to set it up so that when a thumbnail is clicked, the larger version appears as the main image, and at the same time the text at the top and bottom change as well.

I've tried a few things and it's just not working. Can anyone help?