Closed Thread Icon

Topic awaiting preservation: Javascript - IE6 (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=8050" title="Pages that link to Topic awaiting preservation: Javascript - IE6 (Page 1 of 1)" rel="nofollow" >Topic awaiting preservation: Javascript - IE6 <span class="small">(Page 1 of 1)</span>\

 
Shifter
Bipolar (III) Inmate

From: Mesquite, TX 75149
Insane since: Aug 2000

posted posted 01-27-2002 16:36

I have a javascript code that I need to add IE6 to but I don't know how (since I got this code from the web). Can anyone help?

Heres the code:

<scriptlanguage="JavaScript">
var nn4= (document.layers);
var nn6= (document.getElementById && !document.all);
var ie4= (document.all && !document.getElementById);
var ie5= (document.all && document.getElementById);

function loadPage(id,nestref,url) {
// change the 550 value to make the layer wider or smaller
content_width = 550;
if (nn4) {
var lyr = (nestref)? eval('document.'+nestref+'.document.'+id) : document.layers[id]
lyr.load(url,content_width)
}

else if(ie4) parent.contentFRM.location = url;

else if(ie5

Slime
Lunatic (VI) Mad Scientist

From: Massachusetts, USA
Insane since: Mar 2000

posted posted 01-27-2002 19:15

If it works in IE5, it should work in IE6. What doesn't work?

Shifter
Bipolar (III) Inmate

From: Mesquite, TX 75149
Insane since: Aug 2000

posted posted 01-27-2002 19:31

A few of the links that go into the iframe won't load in IE6 (the ones that have an embedded soundfile)


(example >> www.templeofmondain.com/members.shtml click on Flights link)

« BackwardsOnwards »

Show Forum Drop Down Menu