• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

pop up in jsp

 
Sujittt Tripathyrr
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I create a popup window in jsp and i have a requirement that i have to disable the close button of the popup window because i have a close button in the popup html itself .

Thanks in advance.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65216
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is completely a client-side issue. Moved to the HTML forum.
 
Prasad Babu
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sujittt,

Its impossible because browser window works on MFC. Javascript works on HTML DOM. Please search like 'close X button' in this forum you can find out alternative solution.

With regards,
Prasad
 
Jaikiran Pai
Marshal
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How are you creating the popup? Are you using window.createPopup(). If not, post the code through which you are creating the popup
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can not diable or remove the x in a pop up window. What you would have to do is use a layer (div) on top of the page (z-Index)with an iframe so the user can not remove it.

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic