PDA

View Full Version : CMotion Image Gallery script Help



linnus
09-08-2008, 09:22 PM
1) Script Title:
CMotion Image Gallery script

2) Script URL (on DD):
http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm

3) Describe problem:
Im trying to use this script in more than one gallery on the same page.
But only one of then gets the `motion feature`... the other 2 galleries stays frozen.

Take a look... http://allinclusive.com.br/home.html

Can anyone help me with this?

Thanks in advance! :)

jscheuer1
09-09-2008, 04:38 AM
You have at least a little more going on with that page than just Cmotion, so there could be other issues. However, for multiple Cmotion Galleries, you either need to have each in their own iframe or use an object oriented version of the script like:

http://home.comcast.net/~jscheuer1/side/files/cmotion_oo.htm

using:

http://home.comcast.net/~jscheuer1/side/files/motiongallery_oo.js

and:

http://home.comcast.net/~jscheuer1/side/files/gallerystyle_oo.css

Which were introduced here:

http://www.dynamicdrive.com/forums/showthread.php?t=13302

linnus
09-09-2008, 01:06 PM
This was perfect! Thanks! =D