PDA

View Full Version : Combining CMotion 2 and Image Thumbnail viewer 2



ddesigner
01-06-2009, 01:37 AM
1) Script Title: Image Thumbnail Viewer II and CMotion Image Gallery II

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

3) Describe problem:

I am relatively new to javascript, and wished to combine these two for my portfolio. However, when I tried to run them, the CMotion script would not scroll the images. I have read the other forum posts and tried what they suggested, but am still not having any luck. The page with the scripts is at

http://www.dezihandesign.com/TEST/bamf.html

I realize that some part of the scripts are conflicting with each other. I would really appreciate help with this as I'm really confused on what to do. Thanks!

jscheuer1
01-06-2009, 08:22 AM
Change:


<div style="overflow:hidden;">
<div id="motioncontainer" style="width:203px; height:443px; overflow:hidden; position: relative;">
<div id="motiongallery" style="position:center; left:0; top:0;">

to:


<div style="overflow:hidden;">
<div id="motioncontainer" style="width:100px; height:443px; overflow:hidden; position: relative;">
<div id="motiongallery" style="position:absolute; left:0; top:0;">

ddesigner
01-06-2009, 03:56 PM
It worked, thank you! :) Can't believe it was that simple...