nathanimate
02-24-2012, 12:19 PM
CMotion Image Gallery
http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm
I am trying to add a second behavior to the thumbs in the motiongallery (ideally a second onClick so as to swap 2 images in 2 different layers).
The idea is that when someone clicks a specific thumb with one click, this swaps 2 other images.
This however, results in suceeding in swapping the 2 images, but the motiongallery has no motion whatsoever.
Example (added onClick in Red):
<nobr id="trueContainer"><img src="thumb_minute.gif" onClick="MM_swapImage('flybath','','minute.gif',0);MM_swapImage('strip1','','strip2.gif',1)">
<img src="thumb_caged.gif" onClick="MM_swapImage('flybath','','caged.gif',0)">
<img src="thumb_sinking.gif" onClick="MM_swapImage('flybath','','flybath.gif',0)">
<img src="thumb_harmony.gif" onClick="MM_swapImage('flybath','','harmony.gif',0)"></nobr>
The text in red is the only thing that has changed. The motiongallery was working perfectly prior to this addition.
http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm
I am trying to add a second behavior to the thumbs in the motiongallery (ideally a second onClick so as to swap 2 images in 2 different layers).
The idea is that when someone clicks a specific thumb with one click, this swaps 2 other images.
This however, results in suceeding in swapping the 2 images, but the motiongallery has no motion whatsoever.
Example (added onClick in Red):
<nobr id="trueContainer"><img src="thumb_minute.gif" onClick="MM_swapImage('flybath','','minute.gif',0);MM_swapImage('strip1','','strip2.gif',1)">
<img src="thumb_caged.gif" onClick="MM_swapImage('flybath','','caged.gif',0)">
<img src="thumb_sinking.gif" onClick="MM_swapImage('flybath','','flybath.gif',0)">
<img src="thumb_harmony.gif" onClick="MM_swapImage('flybath','','harmony.gif',0)"></nobr>
The text in red is the only thing that has changed. The motiongallery was working perfectly prior to this addition.