File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes HTML, CSS and JavaScript and the fly likes Stand alone window in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Stand alone window in jsp" Watch "Stand alone window in jsp" New topic
Author

Stand alone window in jsp

Senthil Manoharan
Greenhorn

Joined: Mar 01, 2010
Posts: 28
Hi All,
I want to open an stand alone window in jsp page when i click a buttton, which works in all browser.
Can anyone tell me how to do?


Thanks in Advance
M. Senthil Kumar


Thanks and Regards
Senthil Kumar M
Sherif Shehab
Ranch Hand

Joined: Mar 05, 2007
Posts: 483

Hi ,
Check theselink1 link2


Thanks,
Sherif
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

You'll need to use JavaScript. I have moved this to the HTML/JavaScript forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Mark E Hansen
Ranch Hand

Joined: Apr 01, 2009
Posts: 650
Bear Bibeault wrote:You'll need to use JavaScript. I have moved this to the HTML/JavaScript forum.


Perhaps I missed something. Why is JavaScript required? Can't he just use an 'a' tag with a target of 'blank' or whatever?
Senthil Manoharan
Greenhorn

Joined: Mar 01, 2010
Posts: 28
Hi all,
Thanks for your response.
Sorry, I didn't complete it fully.
My requirement is to open a popwindow like the one in facebook not to open a seprate window.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

"Msk Senthil Kumar", please check your private messages for an important administrative matter.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

Msk Senthil Kumar wrote:My requirement is to open a popwindow like the one in facebook not to open a seprate window.

Facebook is a big app -- I have no idea what you mean.

By definition a "popup" is a new window. Are you talking about floating divs?
Senthil Manoharan
Greenhorn

Joined: Mar 01, 2010
Posts: 28
I don't know how to address the window .
Its like a window.showmodaldialog window with no taskbar, no outline margin (It doesn't look like a new window)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61769
    
  67

I suspect you are just asking about a div element that has a higher z-index than the rest of the page.

The easiest way to accomplish this would be to use the "dialog" widget of jQuery UI.
Senthil Manoharan
Greenhorn

Joined: Mar 01, 2010
Posts: 28
Thanks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Stand alone window in jsp