View Full Version : hvmenu

10-19-2005, 05:11 AM
I was trying to edit the menu bar.

I tried adding more links, but it did not work.

var NoOffFirstLineMenus=5; // Number of first level items
var LowBgColor='silver'; // Background color when mouse is not over
var LowSubBgColor='silver'; // Background color when mouse is not over on subs
var HighBgColor='navy'; // Background color when mouse is over
var HighSubBgColor='navy'; // Background color when mouse is over on subs
var FontLowColor='navy'; // Font color when mouse is not over
var FontSubLowColor='navy'; // Font color subs when mouse is not over
var FontHighColor='silver'; // Font color when mouse is over
var FontSubHighColor='silver'; // Font color subs when mouse is over
var BorderColor='white'; // Border color
var BorderSubColor='white'; // Border color for subs
var BorderWidth=1; // 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

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("Home","http://navportal.cafe150.com","",0,20,138);

Menu2=new Array("News","blank.htm","",2);
Menu2_1=new Array("General","blank.htm","",5,20,150);
Menu2_1_1=new Array("CNN","http://www.cnn.com","",0,20,150);
Menu2_1_2=new Array("ABCNews","http://www.abcnews.com","",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("Technology","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);

Menu3=new Array("Search Engines","blank.htm","",3);
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);
Menu3_4=new Array("MSN","http://search.msn.com","",0);
Menu3_5=new Array("Lycos","http://search.lycos.com","",0);
Menu3_6=new Array("Aol","http://search.aol.com","",0);
Menu3_7=new Array("Excite","http://search.excite.com","",0);
Menu3_8=new Array("HotBot","http://www.hotbot.com","",0);

Menu4=new Array("Emails","blank.htm","",4);
Menu4_1=new Array("Yahoo Mail!","http://mail.yahoo.com","",0,20,180);
Menu4_2=new Array("Gmail","http://mail.google.com","",0);
Menu4_3=new Array("Hotmail","http://www.hotmail.com","",0);
Menu4_4=new Array("TEST","http://www.webreview.com","",0);

Menu5=new Array("Other","javascript:top.location.href='blank.htm'","",1);
Menu5_1=new Array("Author\'s Site","http://www.burmees.nl/","",0,20,140);

The only modification that I saw was that, I could change the link names and the place it goes to. But I could not add more links on to the bar.

Link (http://navportal.cafe150.com/menu.html)


I got this script from http://www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm

10-20-2005, 12:03 AM
I suggest you read the sticky at the beggining of this forum. You can read it here (http://www.dynamicdrive.com/forums/showthread.php?t=321)

10-20-2005, 12:55 AM
Thanks, for telling me