They work perfectly in Firefox, however in IE the drop down doesn't activate every time it should. If you check the code fragment from my template below, the bold part is the text on one of the filters and a small arrow image. In IE if you put the mouse cursor between the text and the arrow the drop-down doesn't trigger, which is quite annoying.
[HTML] <div id="filters">
...
<div class="filter_group">
<div id="trigger_manufacturers" class="trigger_filters">
Manufacturers <img class="filter_arrow" src="images/filter_arrow.gif" alt="arrow" />
</div>
<ul id="filter_manufacturers" class="filters">
{section name=m loop=$manufacturers}
<li><a class="frontend_black" href="url">{$manufacturers[m].manufacturer_name}</a></li>
{/section}
</ul>
</div>
.....
</div>
[/HTML]
I suspect it is a CSS problem because i tried different menus and i got the same problem. I couldn't find any solution to this annoying issue in IE, so i would really appreciate some tips.
This is all the CSS code related to the filters:
Expand|Select|Wrap|Line Numbers
- #filters{
- padding-top : 2em;
- }
- #filters div.filter_group{
- float : left;
- width : 10em;
- padding:0.2em;
- }
- #filters ul{
- width : 9em;
- margin : 0px;
- padding : 0px;
- }
- .trigger_filters {
- cursor:pointer;
- background:transparent url("images/filters_background.jpeg") repeat-x;
- border:1px solid #555555;
- font-weight:bold;
- font-size:11px;
- }
- ul.filters {
- position:absolute;
- visibility:hidden;
- overflow:hidden;
- z-index: 3;
- margin:0;
- background:#f5f5f5;
- border:1px solid #ff9724;
- vertical-align:top;
- }
- ul.filters li{
- /*border-bottom:1px dotted #ff9724;*/
- border-left:1px solid white;
- border-right:1px solid white;
- background: transparent url("images/dotted_line.jpeg") repeat-x bottom;
- }
- #filters span{
- float:left;
- font-weight:bold;
- font-size:11px;
- margin-top:4px;
- }
- img.filter_arrow{
- position:relative;
- float:right;
- top:-10px;
- right:3px;
- }