HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 25th, 2000, 07:33 AM
arvind_22 arvind_22 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Mumbai
Posts: 2 arvind_22 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Pop Up menus


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway