[thelist] javascript with opera

Peter-Paul Koch gassinaumasis at hotmail.com
Mon Mar 12 14:36:11 CST 2001



><head><script language=JavaScript>
>  var ie = (document.all) ? true : false; var ne = (document.layers) ? true
>: false; var ns6 = (document.getElementById) ? true : false;

Opera supports document.getElementById

>    else if (ns6)   {
>       document.getElementById("Test").innerHTML = 'Final text';
>    }

but not innerHTML.

>BTW, have got some nice url to deal with opera and javascript (for advanced
>use) ?

http://www.xs4all.nl/~ppk/js/index.html?version5.html

Mainly interesting for how much Opera *doesn't* (yet) support.

ppk

_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.





More information about the thelist mailing list