Link to home
Start Free TrialLog in
Avatar of sean__sean
sean__seanFlag for Argentina

asked on

IE <div> vs NS <layer> (getting crazy over here!!!)

http://www.clickmedios.com/_left.asp

The above mentioned page works perfectly with IE 6.
But it doesn't uner NS 6.

I would really appreciete if someone could:
  - Give me an URL comparing and describing IE <div> tag and NS <layer> tags?
  - Is there any Mac Browser simulator to test how the website will look like for Mac users?
  - And for last, but not least important, does any one knwos an url documenting how to make the layer "static", I mean if the user scrolls down the layer will be always seen at the same place.

Thanx all in advance.
ASKER CERTIFIED SOLUTION
Avatar of ahosang
ahosang
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I don't really know any sites which give good tutorials on the DOM, because I mainly use specs like:
http://www.w3.org/TR/2000/WD-DOM-Level-1-20000929/level-one-html.html
It's a bit technical, but has all the methods etc.
Maybe www.javascriptkit.com could help.
Regarding the layers in NS 4.x, divs which are absolutely positioned are regarded as layers.
Avatar of Michel Plungjan
for a quick fix that should make the code work in IE5+ and NS6+ change
document.all[...]
to
document.getElementById(...)

Michel

yes, and michel's point is quite relevant right now because in a bizarre turn, IE 4 is even less common than NS4.x or NS6(due to fact that each new Windows carries the new IE and also IE suggests updating automatically when a new version comes out). So you could actually consider dropping IE 4 support.
 That suggestion would have been crazy a year ago, but as I said, the stats (www.counter.com - a leading internet stats collator) say it's acceptable. Netscape 4.x and Netscape 6 have more users now than IE4.