Tim,

On Jun 11, 2006, at 9:27 AM, Tim Ware wrote:

> Hello,
>
> I'm using CSS/JavaScript dropdowns here:
>
> http://help.hyperarts2.com/
>
> and they work perfectly everywhere except IE 6, and they *almost*
> work with IE 6!
>
> CSS:
> http://help.hyperarts2.com/_inc/nav.css
> JavaScript:
> http://help.hyperarts2.com/_inc/main.js
>
> The other styles are in the head of the index page, for now.
> -------  8< ---------
> So it's just the presence of the image that causes the browser to put
> the "flash" div above the dropdowns.
>
> The way out will be most appreciated!
>
> Finally, if there's a way to keep the active state on the top-level
> nav when mousing over the dropdown, that would be great.

I haven't examined the javascript at all, but a few things come to mind:
1.  You could likely make the css/javascript simpler by nesting the 
sub-navigation inside the main nav.  It would also allow keeping the 
active state on the top level li.  Something like this.

<ul>
<li onmouseover="subabout();" ><a href="/about/">About Us</a>
   <ul id="sub-about">
        <li><a href="/about/">Approach</a></li>
        <li><a href="/about/management.html">Management</a></li>

        <li><a href="/about/investors.html">Investors</a></li>
        <li><a href="/about/board.html">Board of Directors</a></li>
   </ul>
</li>
...  and the rest

2.  You might want to consider moving the nodrop() function to the 
mouseout event of the subnav instead.

3.  If the #flash div is to eventually contain a flash object, be aware 
that ie considers it a 'windowed control' (like an iframe) which will 
show through all that is above it.  I vaguely recall that you have to 
export the flash in 'windowless' mode, but I'm not a flash expert so 
you'll want to double-check that.

Since javascript questions are off-topic for this list, if you want 
more detailed help, you can contact me directly.

-- 
Roger Roelofs
"Remember, if you’re headed in the wrong direction,
        God allows U-turns!"
          ~Allison Gappa Bottke
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to