Hi
Has anybody on the CF Talk list had much experience with hiermenus?
I have been very grateful if someone on the list could spare a minute , to
help me solve a small problem I am
having with the script.
I am trying to get the hiermenus script working correctly however I am
running into some problems.
There is no javascript error, but the drop down menus are not appearing when
I roll the mouse over the hyperlink ??
Can you see from the script below where the problem may be that stops the
mouseover/drop down from appearing
Any help or leads to a solution would be most helpful.
<html>
<!------------------HEAD------------------>
<head>
<script language="JavaScript1.2" type="text/javascript">
HM_PG_BUTTON_START=133;
HM_PG_SectionBarStartY=179;
</script>
<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
// HierMenus Init
if(window.event + "" == "undefined") event = null;
function HM_f_PopUp(){return false};
function HM_f_PopDown(){return false};
popUp = HM_f_PopUp;
popDown = HM_f_PopDown;
HM_DOM = (document.getElementById) ? true : false;
HM_NS4 = (document.layers) ? true : false;
HM_IE = (document.all) ? true : false;
HM_IE4 = HM_IE && !HM_DOM;
HM_Mac = (navigator.appVersion.indexOf("Mac") != -1);
HM_IE4M = HM_IE4 && HM_Mac;
HM_Opera = (navigator.userAgent.indexOf("Opera")!=-1);
HM_Konqueror = (navigator.userAgent.indexOf("Konqueror")!=-1);
HM_Unix = (navigator.appVersion.indexOf("X11") != -1);
HM_IsMenu = !HM_Opera && !HM_Konqueror && !HM_IE4M && (HM_DOM || HM_NS4 ||
HM_IE4);
HM_BrowserString = HM_NS4 ? "NS4" : HM_DOM ? "DOM" : "IE4";
if ((HM_NS4 || HM_DOM) && !HM_IE) {
searchWidth = 12;
vgmWidth = 9;
} else {
searchWidth = 14;
vgmWidth = 14;
}
// localNavId if present
var localNavId = 0
currentAd = 1;
graphicSpeed = 7000;
function insertPic() {
//nill
}
var VISTA_BUTTON = 0;
//-->
//-->
</SCRIPT>
<SCRIPT LANGUAGE="JavaScript1.2" TYPE="text/javascript">
<!--
browser = (((navigator.appName == "Netscape") &&
(parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft
Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )));
// Set up button positions
//var menuWidth = 130;
var topPosition = 40;
// Constants used in menu placement
//BUTTON_SPACING = 78;
//BUTTON_SPACING_SOL = 80;
HM_GL_BUTTON_START = 245;
var sPn = "BUTTON_START";
if (typeof eval("window.HM_PG_" + sPn) == "undefined") {
currentPosition = HM_GL_BUTTON_START;
} else {
currentPosition = HM_PG_BUTTON_START;
}
//-->
</SCRIPT>
</head>
<!-----------------------------BODY----------------------------->
<body>
<script language="JavaScript1.2">
browser = (((navigator.appName == "Netscape") &&
(parseInt(navigator.appVersion) >= 3 )) || ((navigator.appName == "Microsoft
Internet Explorer") && (parseInt(navigator.appVersion) >= 4 )));
if (browser) {
window.onerror=null;
HM_Array2 = [
[,currentPosition,topPosition],
["Industry Solutions","/test.html"]
]
currentPosition = currentPosition + 73;
HM_Array3 = [
[,currentPosition,topPosition],
["Suite","/test.html"],
["Extensions","/test.html"]
]
currentPosition = currentPosition + 68;
HM_Array4 = [
[,currentPosition,topPosition],
["Services","/test.html"],
["Services","/test.html"],
["Services","/test.html"]
]
currentPosition = currentPosition + 83;
HM_Array5 = [
[,currentPosition,topPosition],
["List","/test.html"],
["Studies","/test.html"]
]
currentPosition = currentPosition + 74;
HM_Array6 = [
[,currentPosition,topPosition],
["Partners","/test.html"],
["Education","/test.html"],
["Partner","/test.html"],
["Login","/test.html"]
]
currentPosition = currentPosition + 80;
HM_Array7 = [
[,currentPosition,topPosition],
["About","/test.html"],
["Village","/test.html"],
["Press Center","/test.html"],
["Events","/test.html"],
["Contacts","/test.html"]
]
currentPosition = currentPosition + 84;
</script>
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse:
collapse" bordercolor="#111111" width="781" id="AutoNumber2">
<tr>
<td width="104" background="/images/header/cellheight.gif">
<p align="center">
<a href="/bvintro.cfm" class="headnav"
onMouseOver="HM_f_PopUp('HM_Menu2',event)"
onMouseOut="HM_f_PopDown('HM_Menu2',event)">
Best Value</a></td>
<td width="1" background="/images/header/cellheight.gif">
<img border="0" src="/images/header/headerdividertop.gif" width="1"
height="20"></td></td>
<td width="75" background="/images/header/cellheight.gif">
<p align="center"><a href="/index.cfm" class="headnav"
onMouseOver="HM_f_PopUp('HM_Menu3',event)"
onMouseOut="HM_f_PopDown('HM_Menu3',event)">News</a></td>
<td width="1" background="/images/header/cellheight.gif">
<img border="0" src="/images/header/headerdividertop.gif" width="1"
height="20"></td>
<td width="103" background="/images/header/cellheight.gif">
<p align="center"><a href="/index.cfm" class="headnav"
onMouseOver="HM_f_PopUp('HM_Menu4',event)"
onMouseOut="HM_f_PopDown('HM_Menu4',event)">Personnel</a></td>
<td width="1" background="/images/header/cellheight.gif>
<img border="0" src="/images/header/headerdividertop.gif"width="1"
height="20"></td>
<td width="96" background="/images/header/cellheight.gif">
<p align="center"><a href="/directory/index.cfm" class="headnav"
onMouseOver="HM_f_PopUp('HM_Menu5',event)"
onMouseOut="HM_f_PopDown('HM_Menu5',event)">Directory</a></td>
<td width="1" background="/images/header/cellheight.gif">
<img border="0" src="/images/header/headerdividertop.gif" width="1"
height="20"></td>
<td width="103" background="/images/header/cellheight.gif">
<p align="center"><a href="/corporate/index.cfm" class="headnav"
onMouseOver="HM_f_PopUp('HM_Menu6',event)"
onMouseOut="HM_f_PopDown('HM_Menu6',event)">Corporate</a></td>
<td width="1" background="/images/header/cellheight.gif">
<img border="0" src="/images/header/headerdividertop.gif" width="1"
height="20"></td>
<td width="104" background="/images/header/cellheight.gif">
<p align="center"><a href="/Corporate/index.cfm" class="headnav"
onMouseOver="HM_f_PopUp('HM_Menu7',event)"
onMouseOut="HM_f_PopDown('HM_Menu7',event)">Directorates</a></td>
<td width="1" background="/images/header/cellheight.gif">
<img border="0" src="/images/header/headerdividertop.gif" width="1"
height="20"></td>
<td width="92" background="/images/header/cellheight.gif">
<p align="center"><a href="/Interact/index.cfm"
class="headnav">Interact</a></td>
<td width="1" background="/images/header/cellheight.gif">
<img border="0" src="/images/header/headerdividertop.gif" width="1"
height="20"></td>
<td width="97" background="/images/header/cellheight.gif">
<p align="center"><a href="/members/index.cfm"
class="headnav">Members</a></td>
</tr>
<tr>
<td width="100%" background="/images/header/headerdividerbottom.gif"
colspan="17">
<p align="center">
<img border="0" src="/images/header/headerdividerbottom.gif" width="1"
height="1"></td>
</tr>
</table>
<SCRIPT LANGUAGE="JavaScript1.2"
TYPE="text/javascript">SRC="/scripts/HM_Loader413.js"</SCRIPT>
</body>
<html>
Best Wishes
Ian
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists