PDA

View Full Version : HVmenu,loading menu at the begining itself!! help!!!



smartcoder
11-14-2007, 02:13 PM
1) CODE TITLE; HV menu

2) AUTHOR NAME/NOTES;smart coder

3) DESCRIPTION; HV menu is loading the menu at the begining itself , i am trying to load some part of the menu on mouse over method of submenu!!!!how??

4) URL TO CODE; http;//www.dynamicdrive.com/dynamicindex1/hvmenu/index.htm

or, ATTACHED BELOW (see #3 in guidelines below);


Hi All !! i am using the HV menu which is dowloaded from dynamicdrive.com ,above given is the sample of the code of mine

my problem is "Entire menu is loading at the begining itself , i want to load partial part of the menu on the mouseover method of sub menu"
why bcz my menu is very huge , it is taking lot of time to load intially so i want to break the loading time to two halfs.

you can see my code below , still there is lot of code , i cant paste it here .
i want to call my func on "mouse over method" of "monthly" menu. commented code should be load over there..........



plz respond to me , any help is grately appreciated , it is very imp 2 me , plzzzzzzzzz









Menu1_1=new Array("Productivity-LA","javascript;;","",9,20,150)
Menu1_1_1=new Array("Avg. New Money","javascript;;","",1,20,110)
Menu1_1_1_1=new Array("HFC/BFC Combined","javascript;;","",1,20,100)
Menu1_1_1_1_1 = new Array("Monthly","javascript;;","",1,20,60)
//Menu1_1_1_1_1.onclick = function(){me()};
// i want to call my function here Menu1_1_1_1_1.onmouseover = me()


/* Menu1_1_1_1_1_1 = new Array(sMonthNow,"javascript;DisplayReport(Menu1_1_1_1_1_1[0],'ProductivityLA/AvgNewMoney/HFCMBCombined/Monthly','CL_61017_P7A9101',sMonthRoiNow,'1')","",0,20,100)
Menu1_1_1_1_1_2 = new Array(sMonth_minus_1,"javascript;DisplayReport(Menu1_1_1_1_1_2[0],'ProductivityLA/AvgNewMoney/HFCMBCombined/Monthly','CL_61017_P7A9101',sMonthRoi_minus_1,'1')","",0)
Menu1_1_1_1_1_3 = new Array(sMonth_minus_2,"javascript;DisplayReport(Menu1_1_1_1_1_3[0],'ProductivityLA/AvgNewMoney/HFCMBCombined/Monthly','CL_61017_P7A9101',sMonthRoi_minus_2,'1')","",0)
Menu1_1_1_1_1_4 = new Array(sMonth_minus_3,"javascript;DisplayReport(Menu1_1_1_1_1_4[0],'ProductivityLA/AvgNewMoney/HFCMBCombined/Monthly','CL_61017_P7A9101',sMonthRoi_minus_3,'1')","",0)
Menu1_1_1_1_1_5 = new Array(sMonth_minus_4,"javascript;DisplayReport(Menu1_1_1_1_1_5[0],'ProductivityLA/AvgNewMoney/HFCMBCombined/Monthly','CL_61017_P7A9101',sMonthRoi_minus_4,'1')","",0)
Menu1_1_1_1_1_6 = new Array(sMonth_minus_5,"javascript;DisplayReport(Menu1_1_1_1_1_6[0],'ProductivityLA/AvgNewMoney/HFCMBCombined/Monthly','CL_61017_P7A9101',sMonthRoi_minus_5,'1')","",0)
Menu1_1_1_1_1_7 = new Array(sMonth_minus_6,"javascript;DisplayReport(Menu1_1_1_1_1_7[0],'ProductivityLA/AvgNewMoney/HFCMBCombined/Monthly','CL_61017_P7A9101',sMonthRoi_minus_6,'1')","",0)
Menu1_1_1_1_1_8 = new Array(sMonth_minus_7,"javascript;DisplayReport(Menu1_1_1_1_1_8[0],'ProductivityLA/AvgNewMoney/HFCMBCombined/Monthly','CL_61017_P7A9101',sMonthRoi_minus_7,'1')","",0)
Menu1_1_1_1_1_9 = new Array(sMonth_minus_8,"javascript;DisplayReport(Menu1_1_1_1_1_9[0],'ProductivityLA/AvgNewMoney/HFCMBCombined/Monthly','CL_61017_P7A9101',sMonthRoi_minus_8,'1')","",0)
Menu1_1_1_1_1_10 = new Array(sMonth_minus_9,"javascript;DisplayReport(Menu1_1_1_1_1_10[0],'ProductivityLA/AvgNewMoney/HFCMBCombined/Monthly','CL_61017_P7A9101',sMonthRoi_minus_9,'1')","",0)
Menu1_1_1_1_1_11 = new Array(sMonth_minus_10,"javascript;DisplayReport(Menu1_1_1_1_1_11[0],'ProductivityLA/AvgNewMoney/HFCMBCombined/Monthly','CL_61017_P7A9101',sMonthRoi_minus_10,'1')","",0)
Menu1_1_1_1_1_12 = new Array(sMonth_minus_11,"javascript;DisplayReport(Menu1_1_1_1_1_12[0],'ProductivityLA/AvgNewMoney/HFCMBCombined/Monthly','CL_61017_P7A9101',sMonthRoi_minus_11,'1')","",0)
*/
Menu1_1_2=new Array("Gain Amount","javascript;;","",2,20,100)
//====================
//GainAmount Summary
//====================
Menu1_1_2_1=new Array("Summary","javascript;;","",8,20,100)
Menu1_1_2_1_1=new Array("HFC/BFC Combined","javascript;;","",2,20,100)
Menu1_1_2_1_1_1=new Array("Daily","javascript;;","",0,20,60)
/*
Menu1_1_2_1_1_1_1 = new Array(DateNow,"javascript;DisplayReport(Menu1_1_2_1_1_1_1[0],'ProductivityLA/GainAmount/Summary/HFCMBCombined/Daily','CL_61001_P0A0101GA',DailyRoiNow,'1')","",0,20,100)
Menu1_1_2_1_1_1_2 = new Array(Date_minus_1,"javascript;DisplayReport(Menu1_1_2_1_1_1_2[0],'ProductivityLA/GainAmount/Summary/HFCMBCombined/Daily','CL_61001_P0A0101GA',DailyRoi_minus_1,'1')","",0)
Menu1_1_2_1_1_1_3 = new Array(Date_minus_2,"javascript;DisplayReport(Menu1_1_2_1_1_1_3[0],'ProductivityLA/GainAmount/Summary/HFCMBCombined/Daily','CL_61001_P0A0101GA',DailyRoi_minus_2,'1')","",0)
Menu1_1_2_1_1_1_4 = new Array(Date_minus_3,"javascript;DisplayReport(Menu1_1_2_1_1_1_4[0],'ProductivityLA/GainAmount/Summary/HFCMBCombined/Daily','CL_61001_P0A0101GA',DailyRoi_minus_3,'1')","",0)
Menu1_1_2_1_1_1_5 = new Array(Date_minus_4,"javascript;DisplayReport(Menu1_1_2_1_1_1_5[0],'ProductivityLA/GainAmount/Summary/HFCMBCombined/Daily','CL_61001_P0A0101GA',DailyRoi_minus_4,'1')","",0)
Menu1_1_2_1_1_1_6 = new Array(Date_minus_5,"javascript;DisplayReport(Menu1_1_2_1_1_1_6[0],'ProductivityLA/GainAmount/Summary/HFCMBCombined/Daily','CL_61001_P0A0101GA',DailyRoi_minus_5,'1')","",0)
Menu1_1_2_1_1_1_7 = new Array(Date_minus_6,"javascript;DisplayReport(Menu1_1_2_1_1_1_7[0],'ProductivityLA/GainAmount/Summary/HFCMBCombined/Daily','CL_61001_P0A0101GA',DailyRoi_minus_6,'1'","",0)
*/
Menu1_1_2_1_1_2=new Array

molendijk
11-14-2007, 06:41 PM
You should use the HV POPmenu, which loads very fast; not the HV normal menu, which loads slowly if it's very long.

Both the normal menu and the Popmenu are used at this site (http://www.dynamicdrive.com/forums/showthread.php?t=26564). That site was not designed with what you asked in mind, but it may serve as an illustration on how to use the HV Popmenu.

The HV Popmenu can be downloaded here (http://www.burmees.nl/menu/menus.htm).

Good luck,
Arie Molendijk.