This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes HTML, CSS and JavaScript and the fly likes Embedded JSP component in JavaScript pop up page. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Embedded JSP component in JavaScript pop up page." Watch "Embedded JSP component in JavaScript pop up page." New topic
Author

Embedded JSP component in JavaScript pop up page.

Unnsse Khan
Ranch Hand

Joined: Nov 12, 2001
Posts: 511
Hi there!

I am not a JavaScript guru and this is my question:

I have a component, which rotates images (slideshow), which is embedded in a JSP page. How can you make a pop up window in JavaScript which would hold this JSP component inside the pop-up window?

An example of this are the picture slideshows on CNN.com and MSNBC.com that launch a window after a user clicks on a link.

All the best!
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
You just asking: how to make a pop up window?

Basic idea:
<a href="yourPage.jsp" onclick="window.open(this.href);return false;"></a>

Eric
 
 
subject: Embedded JSP component in JavaScript pop up page.
 
Similar Threads
Popup window jsp page
Hiding URL in pop-up window
Problem with pop-up window
Preventing multiple popups
Problem with pop-up window