[spoiler="Скрин"][/spoiler]
При нажатии на кнопку появляется форма входа.
Код
iv#login-wrap {position: absolute; display: none;}
div#login-block {background: url("invComm">'http://iucoz.ru/other/login-bg.png') no-repeat; width: 246px; height: 167px;}
div#enter-button {width: 60px; height: 35px; background: url("invComm">'http://iucoz.ru/other/button-enter.PNG') no-repeat; position: absolute; cursor:pointer; cursor:hand;}
.login-form {width:180px; margin-left: 30px; padding-top: 15px;}
.login-close {width: 14px; height: 13px; background: url("invComm">'http://iucoz.ru/other/login-close.gif') no-repeat; cursor:pointer; cursor:hand; float: right;}
input.loginField, #content input {height: 22px; color: #515151; line-height: 22px; font-size: 10pt; background: url("invComm">'http://blog.ucoz.ru/img/input-bg.gif')
repeat-x; border-top: 1px solid #838383; border-left: 1px solid
#838383; border-right: 1px solid #d4d4d4; border-bottom: 1px solid
#d4d4d4;}
input.loginButton {width: 48px; height: 16px; background: url("invComm">'http://iucoz.ru/other/button.gif') no-repeat; color: #ffffff; border: none; font-size: 7pt; padding-bottom: 2px; position: relative; top: 3px;}
За тем в нужное Вам место ставьте данный код:
Код
dblueCol"><div id="invComm">"enter-button">
"dblueCol"><div id="invComm">"login-wrap">"dblueCol"><div id="invComm">"login-block">
sendFrm549077=function(){
var o=document.getElementById("invComm">'frmLg549077');
var pos=_umlGetCoord(document.getElementById("invComm">'frmLg549077'));
document.body.insertBefore(document.getElementById("invComm">'blk549077'),document.body.firstChild);
with(document.getElementById("invComm">'blk549077')){style.top=(pos["invComm">'top'])+"invComm">'px'; style.left=(pos["invComm">'left'])+"invComm">'px';style.width=o.offsetWidth;style.height=o.offsetHeight;style.display="invComm">''; innerHTML="invComm">'<div align="left" style="padding:5px;"><div class="myWinLoad"></div></div>';}
uz.util.Connect.setForm("invComm">'frmLg549077');
var cObj = uz.util.Connect.asyncRequest("invComm">'POST',"invComm">'http://iucoz.ru/index/',callback);
}
"dblueCol"><div id="invComm">"blk549077" style="invComm">"border:1px solid #CCCCCC;position:absolute;z-index:82;background:url('http://s4.ucoz.net/img/fr/g.gif');display:none; ">"dblueCol"></div>"dblueCol">"orangeCol"><form id="invComm">"frmLg549077" method="invComm">"post" style="invComm">"margin:0" />"dblueCol"><div class="invComm">"login-form">
"dblueCol"><div class="invComm">"login-close">"dblueCol"></div>
"dblueCol"><h2 style="invComm">"text-align: center;" />Авторизация"dblueCol"></h1>
"dblueCol">"lettuceCol"><table border="invComm">"0" cellspacing="invComm">"1" cellpadding="invComm">"2" width="invComm">"180">
"dblueCol">"lettuceCol"><tr>"dblueCol">"lettuceCol"><td width="invComm">"20%" nowrap="invComm">"nowrap">Логин:"dblueCol">"lettuceCol"></td>"dblueCol">"lettuceCol"><td>"dblueCol">"orangeCol"><input class="invComm">"loginField" type="invComm">"text" name="invComm">"user" value="invComm">"value" size="invComm">"20" style="invComm">"width:100%;" maxlength="invComm">"50" />"dblueCol">"lettuceCol"></td>"dblueCol">"lettuceCol"></tr>
"dblueCol">"lettuceCol"><tr>"dblueCol">"lettuceCol"><td>Пароль:"dblueCol">"lettuceCol"></td>"dblueCol">"lettuceCol"><td>"dblueCol">"orangeCol"><input class="invComm">"loginField" type="invComm">"password" name="invComm">"password" size="invComm">"20" style="invComm">"width:100%" maxlength="invComm">"15" />"dblueCol">"lettuceCol"></td>"dblueCol">"lettuceCol"></tr>
"dblueCol">"lettuceCol"></table>
"link" href="$REMINDER_LINK$" rel="nofollow" target="_blank"> | "dblueCol">"greenCol"><a href="invComm">"$REGISTER_LINK$">Регистрация
"dblueCol">"lettuceCol"></table>
"dblueCol"></div>"dblueCol"></div>"dblueCol"></div>
"dblueCol"><div id="invComm">"wrap" />
"dblueCol"><div style="invComm">"clear: both;" />
"dblueCol"></div>