Results 1 to 3 of 3

Thread: CMotion Gallery in Firefox

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

    Default CMotion Gallery in Firefox

    1) Script Title:
    CMotion Image Gallery

    2) Script URL (on DD):
    http://www.dynamicdrive.com/dynamici...iongallery.htm

    3) Describe problem:
    I am having some trouble with the CMotion Gallery script. I have put it in one of my webpages, and it works perfectly in Internet Explorer. The problem is I cannot get it to work in Firefox. When I get to the page, the first few pictures load, but it will not scroll at all.

    The site is: http://svitcs.com/test/portfolio/

    I have checked previous threads, and none of the solutions seem to match my problem. I am sure that it is something really simple, but for the life of me, I cannot figure it out.

    Any help would be very much appreciated. Thanks.

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    There are a number of problems with the page. Fix at least the following:

    Remove:

    Code:
    window.onload=fillup;
    from the motiongallery.js file. Add it (red) to your other body onload event:

    Code:
    <body onload="fillup();MM_preloadImages('../images/menubar/menubar2_2.png','../images/menubar/menubar3_2.png','../images/menubar/menubar4_2.png','../images/menubar/menubar5_2.png')">
    Remove the intervening division (red, 2 places, opening and closing parts) from the script's markup:

    Code:
                            <div id="motioncontainer" style="position:relative;overflow:hidden;">
                              <div id="motiongallery" style="position:absolute;left:0;top:0;white-space: nowrap;"> <nobr id="trueContainer">
    
                                <div align="left"><a href="cabelas.html"><img src="images/thumbs/cabelas.png" width="144" height="144" border=1></a> 
    <a href="dupage.html"><img src="images/thumbs/dupage.png" width="144" height="144" border=1></a> 
    <a href="farm.html"><img src="images/thumbs/farm.png" width="144" height="144" border=1></a> 
    <a href="fieldmuseum.html"><img src="images/thumbs/fieldmuseum.png" width="144" height="144" border=1></a> 
    
    <a href="henrycrown.html"><img src="images/thumbs/henrycrown.png" width="144" height="144" border=1></a> 
    <a href="midway.html"><img src="images/thumbs/midway.png" width="144" height="144" border=1></a> 
    <a href="penguin.html"><img src="images/thumbs/penguin.png" width="144" height="144" border=1></a> 
    <a href="sixflags.html"><img src="images/thumbs/sixflags.png" width="144" height="144" border=1></a> <a href="totspot.html"><img src="images/thumbs/totspot.png" width="144" height="144" border=1></a> 
    <a href="indy.html"><img src="images/thumbs/indy.png" width="144" height="144" border=1></a>
                                </div>
                              </nobr></div></div>
    - John
    ________________________

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

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

    Default

    thank you very much. that worked.

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
  •