|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi,
I am devloping a website and on one of the pages used the menu component provided by the web site http://developer.iplanet.com/viewsource/smith_menu/smith_men u.html I am having a problem. It will be great if you send me the answer. I am using menu on a search results page and on click of any result this menu pops up. I have included the file "menu.js" provided on the web site. I am loading The menu while loading the page using the code if (document.all) { loadMenus(); } The body of my loadMenus() function looks like function loadMenus() { //Dynamic Menus window.myMenu = new Menu(); myMenu.addMenuItem("Revision History", "location='revisionhistory.asp"); myMenu.addMenuItem("Show Links", "location='#'"); myMenu.addMenuItem("Properties", "location='#'"); myMenu.fontSize = 14; myMenu.width = 20; myMenu.fontWeight = "Bold"; myMenu.fontColor = "white"; myMenu.bgColor = "#CDB79E"; myMenu.menuItemBgColor = "#8B0000"; myMenu.menuHiliteBgColor = "#000084"; myMenu.menuItemHeight = 25; myMenu.writeMenus(); } In loadMenus function i am calling the addMenuItem(present in menu.js) function to add a menu item. On click of each result on the page i am calling showMenu function to display the menu. My problem is that i now want to pass a vb script variable to the page specified by the second argument of the addMenuItem() function. This means i want to pass a variable to the loadMenu function on clicking of a particular result on my page. If you know please mail me the solution. |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Pop Up menus |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|