[Javascript] netscape document.write
Cutter Bl
cutterbl at hotmail.com
Fri Aug 10 11:52:12 CDT 2001
/* Used to replace static text on page */
function writeText(id, str) {
var strTag = str
if (document.all)
document.all[id].innerHTML = strTag;
else
if (brw == 'nav406up')
with (document[id].document)
{open();
write(strTag);
close();}
}
<a href="javascript:void(0)" onmouseover="writeText('toast', 'This is how
you make toast')"
P.S. Got this from an HTML page generated by installshield
Cutter
http://www.falcon-knives.com
************************************
Hello and Thank U,
Trying to target a div in Netscape and change the text line in that div.
For instance
<div id="toast" style="visibility: visible;"> DEFAULT TEXT </div>
Now I want to change DEFAULT TEXT to a line that says NEW TEXT
I have tried many things with no success.
Any ideas?
Thanks.
Jay
_______________________________________________
Javascript mailing list
Javascript at LaTech.edu
http://www.LaTech.edu/mailman/listinfo/javascript
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
More information about the Javascript
mailing list