Topic: NS, Layers + Animated Gifs ! (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=10561" title="Pages that link to Topic: NS, Layers + Animated Gifs ! (Page 1 of 1)" rel="nofollow" >Topic: NS, Layers + Animated Gifs ! <span class="small">(Page 1 of 1)</span>\

 
Hew
Neurotic (0) Inmate
Newly admitted Neurotic (0) Inmate
Newly admitted
posted posted 05-05-2001 12:44

In NS, I have a Gif in a Layer, and I want it so that when something happens, it changes this gif to a different animated Gif, it works fine in IE, but in NS it just shows the first frame of the GIf ?? Also another animated Gif stops animating when this happens, it doesnt really make sense.

The Code I use is something like:

document.layerID.document.GifName.src = "animated.gif";

Can anyone help me ?

Is this a flaw with v4.5 of Netscape ( the version I use ) Has anyone seen a site that does this successfully ? or should I just disable this 'feature' in NS ??

icklepix

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 05-05-2001 16:20

im no dhtml expert, but i think you should go to the image like this:
document.*Gifname*.src="ani.gif"

if that doesnt work, just get the latest NS (4.7), maybe this is really a flaw in 4.5

btw: cool homepage you have there!

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 05-05-2001 19:20

Hew, your JavaScript code is OK, try upgrading to the latest version of Shitscape...



Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu