Results 1 to 7 of 7

Thread: Cmotion Image Gallery - Scroll on pageload?

  1. #1
    Join Date
    May 2005
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Cmotion Image Gallery - Scroll on pageload?

    Hi, is it possible to start scrolling the images (right>left) automatically on pageload, then controlling direction and speed with mouseover (what it does now already)?

    If so, can anyone tell me how to do this? THX

  2. #2
    Join Date
    Feb 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    I would really like an answer to this question too... I'm trying to figure it out myself and will let you know if I figure it out.

  3. #3
    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

    Find this at the end of the script (motiongallery.js):
    Code:
    positiondiv()
    }
    }
    window.onload=fillup
    Make it look like this:
    Code:
    positiondiv()
    }
    scrollspeed=1
    moveleft()
    }
    window.onload=fillup
    - John
    ________________________

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

  4. #4
    Join Date
    Feb 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hmmmm, I tried your code but it didn't seem to do anything...

    http://www.happybrigade.com/cmotion/cmotion.html

  5. #5
    Join Date
    May 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Funny page Dubious.

    In a previous post called "about Cmotion Gallery" I was asking for the same question.

    For me the trick given by John really works. I have changed something more because I wanted that when the mouse is left out then the cmotion continues in moving. I have changed:

    crossmain.onmouseout=function(e){
    stopmotion(e)
    showhidediv("hidden")
    }


    For this:

    crossmain.onmouseout=function(e){
    scrollspeed=1
    showhidediv("hidden")
    }



    You can verify it at http://www.pintorcastanyer.com

    exactly at http://www.pintorcastanyer.com/MUBAG.htm


    bye

  6. #6
    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

    Glad you like, pepito. To Dubious, since your page's initial position apparently is already all the way to the left, try this:

    Code:
    positiondiv()
    }
    scrollspeed=1
    moveright()
    }
    window.onload=fillup
    - John
    ________________________

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

  7. #7
    Join Date
    Feb 2005
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    that's just the body of the page... for the record the page with all the bells and whistles is http://www.happybrigade.com/cmotion

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
  •