off topic (javascript :var from main to popup window)

2002-05-15 Thread sufi malak

I have main.jsp window that has a link :

tda href=history.jsp?name=GoLive onMouseover=showtip(this,event,'Who
took it!') onMouseout=hidetip()history/a/td

And I want to popup a window history.jsp when clicking in the link.

How to do it ?
How to pass the variable name to history.jsp.

thanks, your help is appreciated.


_
Join the world’s largest e-mail service with MSN Hotmail.
http://www.hotmail.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com



Re: off topic (javascript :var from main to popup window)

2002-05-15 Thread Bhushan_Bhangale

The most simple way is by defining a target in the href tag like this:-

a href=history.jsp?name=GoLive target=_newhistory/a

Other way is by using javascript window.open method:

a href=JavaScript:window.open('history.jsp?name=GoLive', 'WindowName', 
'directories=no,height=480,width=590,left=50,location=no,menubar=no,resizable=no,scrollbars=no,toolbar=no,top=50,maximize=no');void(0);history/a

-Original Message-
From: sufi malak [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 16, 2002 1:05 AM
To: [EMAIL PROTECTED]
Subject: off topic (javascript :var from main to popup window)


I have main.jsp window that has a link :

tda href=history.jsp?name=GoLive onMouseover=showtip(this,event,'Who
took it!') onMouseout=hidetip()history/a/td

And I want to popup a window history.jsp when clicking in the link.

How to do it ?
How to pass the variable name to history.jsp.

thanks, your help is appreciated.


_
Join the world's largest e-mail service with MSN Hotmail.
http://www.hotmail.com

===
To unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

==To 
unsubscribe: mailto [EMAIL PROTECTED] with body: signoff JSP-INTEREST.
For digest: mailto [EMAIL PROTECTED] with body: set JSP-INTEREST DIGEST.
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com