PDA

View Full Version : HV Menu v5.5



Dorine
06-29-2005, 05:11 PM
HV Menu v5.5 Horizontal
http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm

I'm having trouble with the horizontal display of this menu in Explorer. Instead of having the submenu drop down from the parent, it appears in the top right corner of the browser. Any submenus of it will appear OVER the first submenu while it will disappear. The version on Dynamic Drives web site works correctly in the same browser.....
http://www.dynamicdrive.com/dynamicindex1/hvmenu/horizon.htm It also works correctly in Firefox (win & mac), Explorer for Mac and Safari.

Any help would be appreciated, TIA.
Dorine

jscheuer1
06-29-2005, 08:20 PM
lfoghf;CJV

Dorine
06-30-2005, 12:09 PM
The site I am having a problem with is:
http://www.100plusposters.com

jscheuer1
06-30-2005, 07:31 PM
I'm not sure if I can figure this one out or not. I did notice that it was fine in IE if the screen resolution and/or window width were great enough to allow full display of the page without the use of a horizontal scrollbar. Perhaps redesigning the page so that its entire contents will fit into narrower widths without requiring a horizontal scrollbar might fix this. This is a good design practice anyway.

vkokkodan
03-27-2007, 09:54 PM
I have a problenm that while righthand mouse clock+refresh my HV menu disappears. other wise there is no issues and working fine. In my code there is a auto refresh and when it happens the menu goes off. pls see the files as below.

frameMain.html
----------
<html>
<title>Federal Aviation Administration</title>
<frameset rows="16%,84%" name = "FrameName" framespacing="0" frameborder="0" border="0">
<frame framespacing="0" frameborder="0" src = "main1.html" scrolling="auto" marginwidth="1" marginheight="1" name = "MyFrameOne">
<frame framespacing="0" frameborder="0" src="" name = "MyFrameTwo" scrolling="auto">
</frameset>
</html>

main1.html
--------
<html>
<head>
<!-- for Clock starts-->


<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="GENERATOR" content="Mozilla/4.5 [en] (Win98; I) [Netscape]">
<meta name="description" content="hhh">
<meta name="keywords" content="Mangalam">
<!--meta http-equiv=refresh content="5; URL=D:\Proto_Carr_Rate_Mgmt\main.html"-->
<script language=JavaScript>



<!--Auto refresh-->
function setup(){
window.setInterval("submitform()",5000);
}

function submitform()
{
//document.forms[0].submit();
//window.location.reload();
//location.replace("main1.html");
//parent.MyFrameOne.location.reload();
parent.MyFrameOne.location.replace("main1.html");
}

setup();

</script>

<!-- Clock Ends-->

<title></title>
</head>
<body >

<!--************************************-->
<script type='text/javascript' src='exmplmenu_var.js'></script>
<script type='text/javascript' src='menu_com.js'></script>
<script type='text/javascript'>
function Go(){return}</script>

<form name="main" method="get">

<!--*************************************action="frameMain.html"-->

<table width="100%" bgcolor="#5CB3FF" cellspacing="0" cellpadding="0" >
<tr align="center">
<td width="20%">
<img src="D:\Proto_Carr_Rate_Mgmt\FAA_logo.jpg" bgcolor="#5CB3FF">
</td>
<td width="80%" align="center">
<table width="100%">
<tr align="center">
<td width="70%">
<h1>Automated Distribution Software Ver 1.0</h1>
</td>
</tr>
<td align="right" width="20%">
<b>User:</b> Kokkodan, Venugopalan
</td>
<td align="left" width="10%">

</td>

</tr>
</table>
</td>
</tr>
</table>

</form>
</body>
</html>


My exmplmenu_var.js
----------------------

var NoOffFirstLineMenus=12; // Number of first level items
var LowBgColor='#5CB3FF'; // Background color when mouse is not over
var LowSubBgColor='#5CB3FF'; // Background color when mouse is not over on subs
var HighBgColor='red'; // Background color when mouse is over
var HighSubBgColor='green'; // Background color when mouse is over on subs
var FontLowColor='black'; // Font color when mouse is not over
var FontSubLowColor='black'; // Font color subs when mouse is not over
var FontHighColor='white'; // Font color when mouse is over
var FontSubHighColor='white'; // Font color subs when mouse is over
var BorderColor='black'; // Border color
var BorderSubColor='black'; // Border color for subs
var BorderWidth=2; // Border width
var BorderBtwnElmnts=1; // Border between elements 1 or 0
var FontFamily="arial,comic sans ms,technical" // Font family menu items
var FontSize=9; // Font size menu items
var FontBold=1; // Bold menu items 1 or 0
var FontItalic=0; // Italic menu items 1 or 0
var MenuTextCentered='left'; // Item text position 'left', 'center' or 'right'
var MenuCentered='left'; // Menu horizontal position 'left', 'center' or 'right'
var MenuVerticalCentered='top'; // Menu vertical position 'top', 'middle','bottom' or static
var ChildOverlap=.2; // horizontal overlap child/ parent
var ChildVerticalOverlap=.2; // vertical overlap child/ parent
var StartTop=240; // Menu offset x coordinate
var StartLeft=1; // Menu offset y coordinate
var VerCorrect=0; // Multiple frames y correction
var HorCorrect=0; // Multiple frames x correction
var LeftPaddng=3; // Left padding
var TopPaddng=2; // Top padding
var FirstLineHorizontal=1; // SET TO 1 FOR HORIZONTAL MENU, 0 FOR VERTICAL
var MenuFramesVertical=0; // Frames in cols or rows 1 or 0
var DissapearDelay=1000; // delay before menu folds in
var TakeOverBgColor=1; // Menu frame takes over background color subitem frame
var FirstLineFrame='MyFrameOne'; // Frame where first level appears
var SecLineFrame='MyFrameTwo'; // Frame where sub levels appear
var DocTargetFrame='MyFrameTwo'; // Frame where target documents appear
var TargetLoc=''; // span id for relative positioning
var HideTop=0; // Hide first level when loading new document 1 or 0
var MenuWrap=1; // enables/ disables menu wrap 1 or 0
var RightToLeft=0; // enables/ disables right to left unfold 1 or 0
var UnfoldsOnClick=0; // Level 1 unfolds onclick/ onmouseover
var WebMasterCheck=0; // menu tree checking on or off 1 or 0
var ShowArrow=1; // Uses arrow gifs when 1
var KeepHilite=1; // Keep selected path highligthed
var Arrws=['tri.gif',5,10,'tridown.gif',10,5,'trileft.gif',5,10]; // Arrow source, width and height

function BeforeStart(){return}
function AfterBuild(){return}
function BeforeFirstOpen(){return}
function AfterCloseAll(){return}



// Menu tree
// MenuX=new Array(Text to show, Link, background image (optional), number of sub elements, height, width);
// For rollover images set "Text to show" to: "rollover:Image1.jpg:Image2.jpg"

Menu1=new Array("FAA Home","","",0,20,102.5);

Menu2=new Array("Carrier Rate Mgmt","","",4);
Menu2_1=new Array("Status","blank.htm","",2,20,150);
Menu2_1_1=new Array("Activate","carr_rate_mgmt_inact_rslt.html","",0,20,150);
Menu2_1_2=new Array("Inactivate","carr_rate_mgmt_actv_rslt.html","",0);
/*Menu2_1_3=new Array("MSNBC","http://www.msnbc.com","",0);
Menu2_1_4=new Array("CBSNews","http://www.cbsnews.com","",0);
Menu2_1_5=new Array("Canadian News","http://news.bbc.co.uk","",2);
Menu2_1_5_1=new Array("Vancouver Sun","http://www.vancouversun.com","",0,20,150);
Menu2_1_5_2=new Array("CTV News","http://www.ctvnews.com","",0);
Menu2_2=new Array("New","blank.htm","",3);
Menu2_2_1=new Array("TechWeb","http://www.techweb.com","",0,20,200);
Menu2_2_2=new Array("News.com","http://www.news.com","",0);
Menu2_2_3=new Array("Wired News","http://www.wired.com","",0);*/

Menu2_2=new Array("New","carr_rate_mgmt_new.html","",0,20,150);
Menu2_3=new Array("Edit","carr_rate_mgmt_src_edit.html","",0,20,150);
Menu2_4=new Array("View","carr_rate_mgmt_src_view.html","",0,20,150);

Menu3=new Array("Customer Mgmt","","",0);
/*Menu3_1=new Array("Altavista","http://www.altavista.com","",0,20,150);
Menu3_2=new Array("Google","http://www.google.com","",0);
Menu3_3=new Array("Yahoo","http://www.yahoo.com","",0);*/

Menu4=new Array("SKU Mgmt","","",0);
/*Menu4_1=new Array("D Drive","http://www.ddrive.com","",0,20,180);
Menu4_2=new Array("JS Kit","http://www.jskit.com","",0);
Menu4_3=new Array("FJ","http://www.fj.com","",0);
Menu4_4=new Array("W R","http://www.wr.com","",0);*/

Menu5=new Array("Inventory Mgmt","","",0);
/*Menu5_1=new Array("Author\'s Site","http://www.burmees.nl/","",0,20,140);*/

Menu6=new Array("Discounts","","",0);

Menu7=new Array("Order Entry","","",0);

Menu8=new Array("Order Fullfillment","","",0);

Menu9=new Array("AR/GL","","",0);

Menu10=new Array("ECommerce","","",0);

Menu11=new Array("Security","","",0);

Menu12=new Array("Reports","","",0);


PLS give me a suggestion how I can retain the manu when I do a refresh or reload the top frame where menu shows. PPLS help