PDA

View Full Version : CMotion Question



Yo!!!!
05-20-2006, 11:10 PM
I'm using the CMotion script (http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm)

I wanted to know how can i put two of them, not only one

Here is the page where i want them to appear http://eikiu.atspace.com/layouts.html


sorry for my english ^^

jscheuer1
05-21-2006, 05:16 AM
Try an iframe . . .

Here is what I often recommend folks look into:


See this tutorial (http://www.javascriptkit.com/javatutors/multiplejava.shtml) for one possible solution.

Aside from the tutorial above, which usually is the solution when the problem is two different scripts, you may need to consult:

http://www.howtocreate.co.uk/tutorials/index.php?tut=0&part=0&TOshow=allshow#refcon

Which explains how two scripts on the same page may not use the same set of variable names, id names, function names, etc. This is especially important if the problem is two copies of the same script on a page but, can come into play with two different scripts when the first step (tutorial) won't fix it.

One other approach that works in both situations, if adaptable to one (or more) of the scripts, is to put one script in a borderless iframe. It will look like it is on the same page but, since it really is on a separate page, conflicts are no longer an issue.