Closed Thread Icon

Preserved Topic: netscape javascript errors... (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=17781" title="Pages that link to Preserved Topic: netscape javascript errors... (Page 1 of 1)" rel="nofollow" >Preserved Topic: netscape javascript errors... <span class="small">(Page 1 of 1)</span>\

 
mikey milker
Paranoid (IV) Mad Scientist

From:
Insane since: Apr 2000

posted posted 07-08-2000 21:08

hello hello,

i'm trying to implement a chunk of javascript code that gives a dual image flip on a design. it works fine in IE, but netscape just doesn't even give a fuck...

the url is http://www.zerominuszero.net/jinjer/

click on 'hello!' to load the page... the icons should glow and have an image flip separate, please help!!! i'm lost for now!!!

cheers.mikey.milker





Piper
Paranoid (IV) Inmate

From: California
Insane since: Jun 2000

posted posted 07-09-2000 03:50
code:
function imageChange(imageID,imageName,imageID2,imageName2) { 

{

document.images[imageID].src = eval(imageName + ".src");
document.images[imageID2].src = eval(imageName2 + ".src");

}

}



Try taking out the extra "curly brace" like this:

code:
function imageChange(imageID,imageName,imageID2,imageName2) { 
document.images[imageID].src = eval(imageName + ".src");
document.images[imageID2].src = eval(imageName2 + ".src");
}



I dont know if it will help but I didn't really see anyhting else wrong with it.

CP

Piper
Paranoid (IV) Inmate

From: California
Insane since: Jun 2000

posted posted 07-09-2000 03:58

Nevermind, that didn't fix it for me when I tried it.

CP

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 07-09-2000 23:21

OK, you have that big image called "global", inside the <div>, right? Netscape won't find the image unless it's pointed to the div's name also, like...

document.divname.document.imagename.src="....";

I didn't look too closely, what was it supposed to be doing, that global image? Anyway, that's the problem, right there.

Your pal, -doc-<P>

DocOzone
Maniac (V) Lord Mad Scientist
Sovereign of all the lands Ozone and just beyond that little green line over there...

From: Stockholm, Sweden
Insane since: Mar 1994

posted posted 07-09-2000 23:23

OK, I fired up IE and saw it, looks OK! Do you really need that image in a div? It complicates things, the easiest solution is just to align it all in a table.

Your pal, -doc-<P>

« BackwardsOnwards »

Show Forum Drop Down Menu