hi all.
I ve some problem with my javascript which is used to present menus at the homepage. I have a dropdown menu also, wherein, whenever I rollover t mouse on dropdown menus, a security dialog box appears(this page works on https), and it doesnot appear until u refresh the page again.
I have 2 menu scripts. In menu1.js, I call a fn which is in menu_main.js
The call in menu1.js, goes like this
[COLOR=DarkRed][B]startSubmenu(“menu_pre_b7″,”menu_pre_menu”,83);submenuItem(“Help”,loc+”pre_help.htm”,”_self”,”menu_pre_plain”);submenuItem(“Search”,loc+”GetPage1Action.do?command=getPage1″,”
and the menu_main.js has the function for startSubMenu as
[COLOR=DarkRed][B]function startSubmenu(name,style,sw){var depth=name.split(“_”).length+1000;if(NS4)return;if(sw>0)menuw=sw;d.write(“<div id=””+name+”” style=”z-index:999;border-color:#000000;border-style:solid;border-width:”+bd+”px 0px “+bd+”px 0px;background-color:#ffffff;position:absolute;left:0px;top:0px;visibility:hidden;z-index:”+depth+”;width:”+(menuw+(NS7?bd*2:0))+”px”>”);}
I hope the problem is with the startSubMenu function. Can someone help me on this?