Click here to Skip to main content
15,921,697 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

At run time I am opening the div. Means initially display of div is none;
after click on link div display property is changed to block means user is able to see it.

My requirement is whenever the div is opened, I want to restrict the document click.
Posted
Updated 27-Aug-11 21:01pm
v2

You can do this using JQuery. Have a look at below link.

http://www.queness.com/post/77/simple-jquery-modal-window-tutorial#login[^]
 
Share this answer
 
You can achieve this functionality using Jquery Modal Window which RaisKazi suggested.

There is another way of doing this simple JavaScript and CSS

have a look on that http://www.4guysfromrolla.com/webtech/100406-1.shtml[^].See the second example "Freezing" the Page On Form Submission which is using FreezePane
 
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