Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Open another window from modal

 
Amaah Malijan
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there a way to open another window from a modal window without closing the modal window?
 
Junilu Lacar
Bartender
Posts: 7584
52
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Why would you want to do that?

By definition, a MODAL window is supposed to prevent the user from using other windows until they are finished interacting with the modal window. Why would you want to usurp that? If you don't want it to be modal, don't use a modal window. You probably need to rethink your user experience design if you feel you really need to open another window from a modal window.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65115
89
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What kind of "modal window"? There's no such thing as a modal window in JSP or even HTML for that matter.

Are you using a JavaScript library that mimics modal windows?

Or are you talking about IE's proprietary modal windows from 1998?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic