Writing To a Layer in JavaScript
by Ben Ocean <lists(at)TheWebsons.com>
|
Date: |
Sat, 28 Oct 2000 17:18:43 -0700 |
To: |
hwg-languages(at)hwg.org |
|
todo: View
Thread,
Original
|
|
Hi;
The following function works fine to write to an iframe in IE but *not* for
writing to an ilayer in NN:
function writer(stuff) {
if ( navigator.appName != "Netscape" ) {
eval("frames['writeHere'].location.href = " + stuff + ".src");
} else {
URL = ( + stuff + ".src");
width = "200px";
document.writeThis.load(URL,width)
}
}
}
In the body I have the following:
<span class="myiframe">
<iframe src="original.php3" name="writeHere" width=219 height=274
scrolling="no" cellpadding=5px>
<ilayer src="original.php3" name="writeThis" width=219 height=274
scrolling="no" cellpadding=5px>
</ilayer>
</iframe>
</span>
Does anyone know what I'm doing wrong here?
TIA,
BenO
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA