Animated gifs stop after clicking buttons!
Hello all,
I have a question I can't seem to find an answer to. I have an animated gif as a button that is used to open a new window. Now if I just add the link normally (ie. "_blank" etc.) then when you click on the animation it opens up a new window and the animated gif on the original page continues to loop as it should.
However...
I am using javascript to make the "new windows" open up at certain sizes with no scroll bars, titlebars, etc. and when you click on the animated gif on the original page, the new window opens however the animated gif on the origianl page stops looping.
Even if I have the javascript on "other" images and not the animated gif the animated gif still stops looping after those buttons are clicked.
What is the trick for this? I see animated banners all the time that, when clicked on, do not stop looping.
Thanks in advance,
Mark
Maquar posted this at 09:24 — 16th July 2005.
They have: 32 posts
Joined: Nov 2003
Okay I think I may have gotten it!
However, when people hover over the image or "link" it says Javascript:void(0) in the status bar instead of the URL. Considering I have seen this in my status bar MANY times I'm assuming this is the only way its done!
For those who dont understand what I did..
Mark
Busy posted this at 11:27 — 16th July 2005.
He has: 6,151 posts
Joined: May 2001
use
that way if javascript is disabled the person is still able to see the page, the title bar will show the correct destination and a few other reasons.
The animation stops as the link can be a stop (stop looking at this page and go view new page), the 'link' becomes an 'vlink', do you have CSS in use for your links?
Maquar posted this at 18:10 — 16th July 2005.
They have: 32 posts
Joined: Nov 2003
Hi Busy,
Yes I'm using css for the links but please remember that I'm using images as links.
Thanks for any further suggestions...
Mark
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.