Solved

Dreamweaver Horizontal Spry Menu: Problem with IE; possible css issue

Posted on 2011-03-17
7
370 Views
Last Modified: 2012-05-11
Looks great in Firefox.
In IE, when hovering over secondary navigation, the tertiary menu is truncated.
Go to:
http://gssacorg.tempwebpage.com/index.html
Hover over "What We Do", then hover over "Community Organizing/Coalition" and see the sub-sub menu truncated.
There's a 4th layer under "What We Do" that you'll see (except in IE) if you hover over "Education & Training".
I fixed the previously truncated secondary menu by setting a width of the ul.MenuBarHorizontal ul

Here's the page to the spry css:
http://gssacorg.tempwebpage.com/SpryAssets/SpryMenuBarHorizontal.css

You can see the structure of the navigation at:
http://gssacorg.tempwebpage.com/Library/nav.lbi

I just can't figure out what is driving the decision in IE to not paint the entire menu.

Thanks in advance,
jena
0
Comment
Question by:JenaL2
  • 4
  • 3
7 Comments
 
LVL 30

Expert Comment

by:IanTh
ID: 35171532
hmm might be guessing a bit here but it could be your issue

see
<div align="center"><a class="MenuBarItemSubmenu" href="#">Services</a>
        <ul>
          <li><a href="services_OA.htm">Outsourcing Advisory</a></li>
          <li><a href="services_CS.htm">Category Sourcing</a></li>
          <li><a href="services_OS.htm">Organizational Strategy</a></li>
          <li><a href="services_OEDS.htm">Operational Excellence &amp; Decision Support</a></li>
          <li><a href="services_AMO.htm">Asset Management Optimization</a></li>
          <li><a href="services_RE.htm">Real Estate Services</a></li>
        </ul>
    </div>

this has a div around the sprymenubarsubdomain

and yours dont also note the statement is differnet to yours
0
 

Author Comment

by:JenaL2
ID: 35178218
Doesn't help. Thanks for looking.
0
 
LVL 30

Expert Comment

by:IanTh
ID: 35179319
what have you tested it
it looks like a space issue and the div gives you the space required
0
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

Accepted Solution

by:
JenaL2 earned 0 total points
ID: 35195548
Thanks Ian,
I tried what you suggested and it didn't solve the problem. To wrap around the div with the intent to put a space in front of it? I don't understand how that would solve the problem of the menu being truncated. You did give me an idea that solved the problem though. I created a test site and just used Dreamweaver's Spry menu default install. I then, methodically replaced each section in my customized version until I found the replacement that solved the problem. I was then able to isolate down to this line in the css:
filter:alpha(opacity=98);
as a component of:
ul.MenuBarHorizontal ul

I don't understand why IE would complain about something like that but it is happy now and my problem is solved.

Again, thanks for taking the time to look.
Jena
0
 

Author Closing Comment

by:JenaL2
ID: 35225519
I solved the problem myself so didn't really need to award points.
0
 
LVL 30

Expert Comment

by:IanTh
ID: 35226491
i did the same and I dont have filter in my menubarhorizontal

what version are you using

see
http://www.w3schools.com/Css/css_image_transparency.asp

it points to an ie and firefox difference with filter::
0
 

Author Comment

by:JenaL2
ID: 35227294
Hi Ian,
I had added a filter to allow transparency of the secondary menus. It wasn't a standard option in the spry widget.
ul.MenuBarHorizontal ul
{
      margin: 0;
      padding: 0;
      list-style-type: none;
      font-size: 100%;
      z-index: 1020;
      cursor: default;
      width: 14em;
      position: absolute;
      left: -1000em;
      background-color: #FFCB80;
/*      filter:alpha(opacity=98);
*/      -moz-opacity:0.98;
      -khtml-opacity:0.98;
      opacity:0.98;
}

In the link you were referencing:
"Firefox uses the property opacity:x for transparency, while IE uses filter:alpha(opacity=x)."

That's right. And I hadn't seen the problem with using the filter before even though I have used transparency on other websites. But on the other websites, I hadn't gone so many levels deep into the navigation.  You can see in the above code that I've commented out the filter so the filter isn't enabled with IE.

It still doesn't seem logical that removing that line of code would cause the width restriction of the 3rd and 4th levels of navigation. Very odd.... Oh well, I'm happy it's working now.
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Suggested Solutions

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

760 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now