Results 1 to 3 of 3

Thread: Motion Gallery Jumpy

  1. #1
    Join Date
    May 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Motion Gallery Jumpy

    http://www.dynamicdrive.com/dynamici...iongallery.htm

    I'm using the motion gallery and I'm finding it really jumpy when there are more than a handful of images loaded into it.

    Is there anything that can be done to optimise the code or otherwise improve the performance of the script?

  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

    Generally, it is the size (dimensions) of the images (larger ones being more prone to jumpiness), and the browser/system used to view the gallery that affect that. FF/Mozilla is poor, in my opinion for repetitive animation-like duties in javascript. I'm not aware of any optimizations for those factors.

    But, your particular implementation may have other issues. To help determine that:

    Please post a link to the page on your site that contains the problematic code so we can check it out.
    - John
    ________________________

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

  3. #3
    Join Date
    May 2008
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Unfortunately I can't post a link as it's still in development. The images I'm using are only 60px high so it must just be the speed of JS execution in FF.

    Regardless, I'm going to have to go for a different solution entirely as there's a bug in the script - rounding errors mean that if you scroll all the way to one side and back again, the left-most edge of the left-most image has moved from it's original position.

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
  •