Click here to Skip to main content
15,881,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
help me please..........

for popup window am using window.open() method.

my requirement is after opening this disable the document click.means user should allow to work with popup window only.
after closing the popoup only he can access the webpage
Posted

1 solution

instead of window.open, you need a modal window. different options are available to achieve this like DHTML, IFrame , jquery etc.

Check the following link, which shows how to do this using DHTML


http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/dhtmlmodal.htm[^]

Jquery:

http://jqueryui.com/demos/dialog/[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900