[thelist] IE equivalent in netscape

Don Parker sodakotahusker at hotmail.com
Sat Feb 17 09:54:03 CST 2001


I just created a web site for my new business.  I was carried away with
creating some nice whistles and bells in IE.  Then I remembered I better
test it with Netscape and found that several of the things I had included
(and that I really want to keep) did not work with that browser:

is there a Netscape 4 equivalent for

document.all

IE eg:

document.all.thetext.style.fontSize = fontpitch;
-----------------------------
innerHTML

IE:eg

document.all.explain.innerHTML = passtext;

-------------
I have one page that "reads" the text for the user - by highlighting a word
and then moving to the next word - etc. to the end.  code in IE with each
word given a span id of w1, w2 etc.  Netscape says that w1 is undefined.
Apparently the o.style...  statement is not supported by netscape??
Anything else I could use here??

   wordcount = wordcount + 1;
    var o = eval("w" + wordcount);
   o.style.backgroundColor="a0a0a0";

------------------------------------------------
Thanks!!!
   Don Parker
   Puyallup Washington







More information about the thelist mailing list