Click here to Skip to main content
15,887,988 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,

i've login module and masterpage module and have button on masterpage.Whenever we clicked on button,login module is oppening at the center of[100x50]dimensions,but when login module on the masterpage ,backend page should blur and only login module area should focus. I want like how login works in this website http://south.dpsbangalore.net.

please reply with an example.
Posted
Updated 15-May-11 23:53pm
v2

There a quite a few plugins out there for jQuery that do exactly what you want. Here a page I found with some examples on it: http://www.ericmmartin.com/projects/simplemodal-demos/[^].

Found by googling: jQuery modal popup

Have fun!

-MRB
 
Share this answer
 
Comments
Espen Harlinn 16-May-11 15:49pm    
Nice link, my 5
add a div tag inside main parent tag :

<div id="modalbackground" style=" position: absolute; height:100%; widh:100%; display:none; z-index:10000; background-color: #7F7F7F; opacity: 0.5;"></div>

Then,
display this div while showing your popup,

document.getElementById('modalbackground').style.display='block';

your popup's z-index should be 10001
 
Share this answer
 
v4
Google for "div overlay".

All you need is to put a div on the page when you access the popup. Controls and features like div, z-index, opacity, etc are going to help.

Try!
 
Share this answer
 
Comments
ks ravi 16-May-11 4:49am    
thanks for reply,any examples

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