Results 1 to 4 of 4

Thread: CMotion Image Gallery Help - Swap Image Problem

  1. #1
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Angry CMotion Image Gallery Help - Swap Image Problem

    1) Script Title: CMotion Image Gallery II

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ongallery2.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...

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    29,024
    Thanks
    44
    Thanked 3,209 Times in 3,171 Posts
    Blog Entries
    12

    Default

    It is called an onload conflict. Remove this from the motiongallery2.js file :

    Code:
    window.onload=fillup
    Add it in with the body onload, like so:

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

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Dec 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    thank you!

  4. #4
    Join Date
    Apr 2008
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CMotion Image Gallery Help

    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/dynamici...iongallery.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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •