|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Problems with CSS
I'm running into some problems with the JavaScript/CSS code for rollover effects on my homepage. For whatever reason, it used to work _only_ under the old Netscape 4.x on any platform, but not under MSIE or Mozilla. Now, it doesn't even appear to work under newer versions of Netscape 4.x.
Any ideas what could be causing the problem? The URL is URL |
|
#2
|
|||
|
|||
|
This isn't a CSS problem, it's a DOM problem.
Your rollovers use the document.layers document object model, a DOM specific to Netscape versions up through 4+. With Netscape 6+, Netscape dropped that proprietary DOM in favor of the W3 recommend DOM 1.0 (document.getElementById) http://www.w3.org/TR/1998/REC-DOM-Level-1-19981001/ IE5+ also supports the DOM 1.0 Earlier versions of IE use Microsoft's proprietary DOM (document.all) Here's a good place to learn more: http://www.xs4all.nl/~ppk/js/index.html?version5.html Good luck |
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > Problems with CSS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|