For the first part (more than one Cmotion Gallery on a page), it would be best to use an object oriented Cmotion script like:
http://home.comcast.net/~jscheuer1/s...cmotion_oo.htm
Which was introduced here:
http://www.dynamicdrive.com/forums/s...ad.php?t=13302
For the second part, you would want to configure the onclick event for each image in the both galleries.
To best determine how to do that, I would need to know what you mean by 'place' when you say:
is displayed in the same place
One way would be to have a display image somewhere on the page, like:
HTML Code:
<img id="displayarea" src="whatever.jpg">
Then in the OO Cmotion script have like:
Code:
gallery[0]='<a href="photo1_large.jpg" onclick="document.getElementById(\'displayarea\').src=this.href;return false;"><img src="photo1.jpg" border="1"></a>';
for each entry. Get step one working first (two Cmotion Galleries on one page). If you have trouble with step two (or for that matter, step one), there are many ways things can be done, let me know.
Bookmarks