homepage Welcome to WebmasterWorld Guest from 54.211.7.174
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Home / Forums Index / Browsers / Google Chrome Browser
Forum Library, Charter, Moderator: open

Google Chrome Browser Forum

    
animated gif not running smoothly
Gabby7




msg:4435245
 2:09 pm on Mar 30, 2012 (gmt 0)

Hi+
I do not know if this should be a Google Chrome issue or a javascript issue, so I am posting here first & will then try the other forum...I made an animated script that runs smoothly in IE 8, but not in Chrome 18.0.1025.142. It is a small bedbug crawling in a clockwise loop on a random spot on the Home Page each time you access the page. [url]www.sunatural.com[/url] is where you can find it. I've made the gif 8 color (grey scale) and changed the speeds from .1 to .05 for each frame, it is 14.7kb in size right now. I was running Chrome 17.0.963.83 & in my research found that the newest version of Chrome (supposedly) fixed animation issues - so I upgraded. But, I still get the same problems: jerky motion, the bedbug dissapears from sections of the loop, and sometimes goes backwards. If you let it run a few times it smooths out, but how many people are going to stay on the page long enough for that to happen? It needs to run smoothly the 1st time it shows up. It is supposed to crawl smoothly (clockwise) in a continuous loop (not a perfect circle). Also, it ran smoothly in FF until I upgraded that browser to its most recent version - so that is why I am not sure if it is a Chrome issue, but it showed up first in Chrome...I am using a PC & Windows XP SP3...
Thank you in advance for all of your assistance!

 

Fotiman




msg:4435302
 4:18 pm on Mar 30, 2012 (gmt 0)

It looks to me like the image you're using is already an animated gif of a bug, then you're applying script to it to move it around as well, so it's no wonder that it might appear to move backwards, etc. You're moving an image of something moving. I think the intention of the script that you're using is that the image is not an animated gif.

Fotiman




msg:4435305
 4:23 pm on Mar 30, 2012 (gmt 0)

Note, the reason it looks smooth in IE is because the script is throwing an error in IE which is preventing it from moving the image around the page. Therefore, all you're seeing in IE is the regular animated gif in a fixed location.

Fotiman




msg:4435310
 4:29 pm on Mar 30, 2012 (gmt 0)

I do not know if this should be a Google Chrome issue or a javascript issue

Looks to me like it's a JavaScript issue.

Gabby7




msg:4435349
 5:55 pm on Mar 30, 2012 (gmt 0)

Hi+
Thank you for the quick response! I found the script & just changed from the bug they were using to the bedbug. But, I did make it an animated gif...I will post a thread in the other forum for assistance with that. Thank you for clarifying the issue for me! I really appreciate it!

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Browsers / Google Chrome Browser
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved