Yes...

I know what your talking about. 

Here is the javascript to get it working if you have a element with ID
of "nav"

startList = function() {
if (document.all&&document.getElementById) {
navRoot = document.getElementById("nav");
for (i=0; i<navRoot.childNodes.length; i++) {
node = navRoot.childNodes[i];
if (node.nodeName=="LI") {
node.onmouseover=function() {
this.className+=" over";
  }
  node.onmouseout=function() {
  this.className=this.className.replace>
        (" over", "");
   }
   }
  }
 }
}
window.onload=startList;

This comes from http://www.alistapart.com/articles/horizdropdowns/

Read that.

Buddy Quaid http://www.tangerinefiles.com

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Stuart Sherwood
> Sent: Tuesday, August 09, 2005 8:18 PM
> To: [email protected]
> Subject: Re: [WSG] Proper IE Hacks
> 
> 
> Hi All,
> The tips and advice here is really fantastic. Highly 
> appreciated. I have a problem with a submenu that works by 
> altering the z-index. I 
> have used the following hack which I'm not entirely happy with. Can 
> someone suggest something better?
> 
> #submenu a:hover {
>     z-index: 20;
>     z-index: expression(body.z-index 20); /* invalid css: IE fix */ }
> 
> Regards,
> Stuart Sherwood
> ******************************************************
> The discussion list for  http://webstandardsgroup.org/
> 
>  See http://webstandardsgroup.org/mail/guidelines.cfm
>  for some hints on posting to the list & getting help
> ******************************************************
> 
> 
> 

******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to