Popup for login??
Hello all .I have a problem and i want to be guide from you.That is i want to create the "popup" for login section.I mean when i press login button on the website and then popup appear at middle of the screen and i will type "username" and "pass" in it and press login or cancel button.Can i do that??Need Someone help!Thanks.
viet vo quocPosted Nov 4, 2011, 12:14 AM
viet vo quocPosted Nov 3, 2011, 11:44 AM
Javeed M ShaikhPosted Nov 3, 2011, 11:31 AM
with
viet vo quocPosted Nov 3, 2011, 10:35 AM
viet vo quocPosted Nov 3, 2011, 12:32 AM
viet vo quocPosted Nov 2, 2011, 10:24 AM
Nilu JainPosted Nov 2, 2011, 9:11 AM
Your login controls
css for this
#popup {
height: 100%;
width: 100%;
background: #000000;
position: absolute;
top: 0;
-moz-opacity:0.75;
-khtml-opacity: 0.75;
opacity: 0.75;
filter:alpha(opacity=75);
}
#window {
width: 600px;
height: 300px;
margin: 0 auto;
border: 1px solid #000000;
background: #ffffff;
position: absolute;
top: 200px;
left: 25%;
}
In the loginbutton click event (through javascript)
write two line to open popup
$('#popup').fadeIn('fast');
$('#window').fadeIn('fast');
to close popup write in event handler
$('#popup').fadeOut('fast');
$('#window').fadeOut('fast');
Karthik AgarwalPosted Nov 2, 2011, 7:48 AM
If post solves your problem don't forget to mark as "Accepted Answer".
Suthish NairPosted Nov 2, 2011, 3:57 AM