PDA

View Full Version : CMotion Image Gallery Help - Swap Image Problem



jessicabunnythomas
12-05-2007, 07:11 AM
1) Script Title: CMotion Image Gallery II

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

3) Describe problem:
http://www.jessicabunnythomas.com/portfolio.htm

http://www.jessicabunnythomas.com/portfolio1.htm

In the 1st link, ONLY the HOME navigation button has the "Swap Image / Restore" scripting.

the second link: portfolio1.htm has the scripting removed.

The MotionGallery does NOT scroll if I have the "Swap Image / Restore" on.
It does not scroll if i have "Swap Image / Restore" anywhere on the page.



OK, I found someone else here that has this working.
But I have no clue what is causing the conflict in mine.
help...:(

jscheuer1
12-05-2007, 08:27 AM
It is called an onload conflict. Remove this from the motiongallery2.js file :


window.onload=fillup

Add it in with the body onload, like so:


<body text="#FFFFFF" link="#EF1821" vlink="#EF1821" alink="#EF1821" onLoad="fillup();MM_preloadImages('common-pics/nav/homeO.jpg')">

jessicabunnythomas
12-05-2007, 01:56 PM
thank you!

GillianSeeley
04-07-2008, 11:13 AM
Thank you thank you jscheuer1 for sharing your knowledge!! I've tried to solve this problem the last 5 days. Thanks again

I applied it to a similar script http://www.dynamicdrive.com/dynamicindex4/cmotiongallery.htm

Thanks to you my swap image function is working when I clicked on an image in my CMotion Image Gallery.

Perhaps you (or anyone for that matter!) might be able to help me take the swap image function in CMotion gallery further.

I would like editable text to accompany each image.

So when I click on the thumbnail image in the CMotion gallery, the image swap occurs as well as a text swap in another box.

My fingers are crossed