Re: Layers - NS and IE

by "Peter-Paul Koch" <gassinaumasis(at)hotmail.com>

 Date:  Mon, 29 May 2000 09:04:23 GMT
 To:  nwieland(at)tampabay.rr.com,
hwg-techniques(at)mail.hwg.org
  todo: View Thread, Original
>It appears that IE wants DIV and NetScape wants LAYER.  Is there a way to 
>combine these in one html document?  Or do I need to use a browser detect 
>and direct them to one of two pages (one for IE and one for NetScape).  If 
>the redirect is the solution, I could use some help with the script for 
>that.

No, you can use a DIV in Netscape too. The only thing is that it's named 
differently in the different browsers. See

http://www.xs4all.nl/~ppk/js

under DHTML -> 'Introduction' and 'DOM' for the code you need for 
cross-browser DHTML.


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

HWG hwg-techniques mailing list archives, maintained by Webmasters @ IWA