Re: "error on page"
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.javascript archive

Re: "error on page"

From: Lee David <affordable_turnkey_solutions@comcast.net>
Date: Fri Jul 22 2005 - 04:28:22 CEST

>
> Why does it matter if its Netscape, Mozilla, FunkyBrowser or
> myBrowserThatIMadeUpTheName? You don't browser detect, you feature detect.
>

Because specific browsers have specific and unique values such as Netscape's
"show" vs. the IE "visible."

>
> That actually "works", it just doesn't work the way you think it would.
>

Could you elaborate on how it is working vs. how it would be expected to?

>
> if (document.layers){
> //use the document.layers collection
> }
>
> if (document.getElementByID){
> //use the getElementByID method
> }
>
> if (document.all){
> //use the document.all collection
> }
>
> And all that without caring what browser it was. This is covered in the
> groups FAQ.
>

I've seen 4.15 and it doesn't give very much information. For example, how
to apply anything it says at all. Do you happen to know of a tutorial that
does explain it and give examples?

Thanks, Lee
Received on Tue Oct 18 02:59:39 2005