This is the site: http://utvikling.newelement.no/kiskompetanse/
The problem is... Use IE 6, Click on "Truck" icon, two new menues appear, "Truck" and "Stortruck", these two menus both have drop-downs but I cannot get them to show up/down... Using different styles for the templates, and the template for this menu uses primary-navmeny, added "meny" to all the css-styles for correct styling of this perticular menu. Also added a new javascript file, CSSMenu_2.js, where I've changed the var's to match my new styles. JS like this:
Code: Select all
// Javascript for the CMS CSS Menu Module
// Copyright (c) 2005 Alexander Endresen
// Released under General Public Licence
// This script will emulate the css :hover effect on the menu elements in IE
// The variables
var cssid = "primary-navmeny"; // CSS ID for the menuwrapper
var menuadd = "hmeny"; // Character to be added to the specific classes upon hovering. So for example, if this is set to "h", class "menuparent" will become "menuparenth" when hovered over.
var menuh = "menuhmeny"; // Classname for hovering over all other menu items
if (window.attachEvent) window.attachEvent("onload", cssHover);
function cssHover() {
var sfEls = document.getElementById(cssid).getElementsByTagName("LI");
for (var i=0; i<sfEls.length; i++) {
sfEls[i].onmouseover=function() {
if (this.className != "") {
this.className = this.className + menuadd;
}
else {
this.className = menuh;
}
}
sfEls[i].onmouseout=function() {
if (this.className == menuh) {
this.className = "";
}
else {
this.className = this.className.replace(new RegExp(menuadd + "$"), "");
}
}
}
}
The menu works perfectly in FF....haven't tried it in IE7.
Any help greatly appreciated!!