Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: right mouse menu and URL value pass


Message #1 by "ed" <upiu1@h...> on Tue, 25 Feb 2003 15:16:28
Hi,

Well in this case you can have a function to build the
right-click menu and pass the already set values into
the url for the link.

something like this.
function
functionwheni2(n,parameter1,parameter2,parameter3){

linkset[3]="<div class='menuitems'><a
href=something.jsp?value1="+parameter1+"&value2="+parameter2+"&value3="+parameter3+"'
target='mainFrame'>link1</a></div>"
	linkset[3]+="<div class='menuitems'><a
href='Construction_Page.html'
target='mainFrame'>link2</a></div>"
}

This string so built can be shown on the right-click
function.

Hope this helps and is what you are lokking for.
Regards
Nazneen


--- ed <upiu1@h...> wrote:
> I am having issues with using a right mouse menu to
> redirect and request 
> a new page by passing a value from the main page
> into a URL.
> 
> I load a grid with project numbers from a result set
> that change daily.  
> I then use a mouseover command to set a value of a
> variable.  With the 
> variable set I have a rightmouse menu that is
> populated with URL?s that 
> will be called if clicked upon. I need to pass the
> variable into the URL 
> string that I mouseover?d.  I can?t seem to be able
> to pass this value 
> into the string.  
> 
> Ideas?
> 
> Thanks


__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

  Return to Index