SUBSCRIBE - [ Tech News ] [ Make Money Blogging Tips ] [ Online Marketing Tips ] [ Web Dev News ]
Powered by MaxBlogPress  

Right Flyout for Nice menus (Drupal) not showing for IE6

February 9, 2009 by MK  
Filed under CSS, Javascript, web development

There seems to be a bug with Zen 3 column layout for Drupal and using it with Nice Menus created by jakeg.

I am using a Zen 3 column layout for one of my clients. While the layout was working okay, I was experiencing problem with Nice Menu not appearing on hovering over parent nodes in IE6. Nice Menus were working as expected both for IE7 and FF though.

Nice Menus does provide a JavaScript file to make the menus work with IE6. Though the JavaScript file was working okay, I was still not able to get the hover menu.

After wrestling with CSS that came along with Nice Menus and by stripping the page off with all the unnecessary DOM, I concluded that there is nothing wrong with Nice manus but the page layout itself might have a CSS bug.

That is after I started debugging layout.css that I found the real culprit. I am pasting the solution here just in case any of our developer friends is having the same problem.

In layout.css file comment position:relative; attribute as follows -

#sidebar-left
{
   float:left;
   float:right;
   width:170px;
   /*position:relative;*/
   right:15px;
   padding: 0;
}

And that will do the trick. Please leave comments about other issues with Drupal and what you did to get rid of them, or email me if you need any help and I will try my best. Happy Coding.

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google
  • LinkedIn
  • Reddit
  • StumbleUpon
  • Technorati
  • TwitThis
  • Yahoo! Buzz

Related posts brought to you by Yet Another Related Posts Plugin.

Comments

4 Responses to “Right Flyout for Nice menus (Drupal) not showing for IE6”
  1. Scott says:

    Thanks for the tip. I spent hours and hours trying to fix the flyout in my left nav. I am using the jazz light theme and put the css code into the style.css file.

    Thanks again!
    -Scott

  2. sas says:

    spent 3 hours already, thanks!

  3. sas says:

    in my case it was position @ #navigation-top, #navigation { position: absolute; /* Take the named anchors out of the doc flow */ left: -10000px; /* and prevent any anchor styles from appearing. */ }

  4. yoyo says:

    spent 90$ of my time

Speak Your Mind

Tell us what you're thinking...
and oh, if you want a pic to show with your comment, go get a gravatar!