Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

animated gif



6:21 pm on Mar 30, 2012 (gmt 0)

5+ Year Member

I found a free javascript program that animates a small bug to crawl across the screen. I changed the generic bug to a specific bug, then the bug started moving in jerky movements, disappears at times, and has even moved backwards...Another Forum Member (in a different forum class because I thought my issue was with the browser) clarified my problem to be that I'm using an animated gif of a bug, then applying script to it to move it around as well...So, I changed the gif to only 1 image of the new bug and now it 'crawls' a few steps and freezes. In case you can't tell, I'm very new with javascript...can someone please explain what I should do to fix my error? All guidance would be greatly appreciated.


4:54 pm on Apr 2, 2012 (gmt 0)

WebmasterWorld Senior Member rocknbil is a WebmasterWorld Top Contributor of All Time 10+ Year Member

The **best** advice: Don't do "stupid web tricks." They will just annoy your visitors.

The get-it-working-advice: Start from the original working text page again and examine what you are changing a little more carefully. Does your new bug have a different image size? Read the documentation on the free script, if any.

It's also important to clear the cache between changes, this can also give you inconsistent results in testing.

Set up the buggy page (har har) where you can access it via FireFox and open the Error Console prior to loading the page. Load up the page and watch the Error Console carefully, and attempt to decipher it's meaning. It's sometimes vague, but will always report a line number if there are errors.


5:39 pm on Apr 2, 2012 (gmt 0)

5+ Year Member

Thank you for the information. Yes, I know! "No stupid tricks!" But, my client wants the bug on their home page. :( I will do as you suggest and see what I can figure out.

Featured Threads

Hot Threads This Week

Hot Threads This Month