Привет Гость!
Ты должен:
зарегистрироваться
Меню сайта
Главная страница Софт Online Films Шаблоны для uCoz Музыка Скачать игры Все для Photoshop скрипты для ucoz SEO программы Ключи обновления NOD32 Top сайтов
Мини-чат
Наш опрос
Какую доменную зону лучше использовать для личного сайта?
Всего ответов: 30
Случайные файлы


NOD32 On-Demand Scanner 19.05.2010 v.5130 


Windows XP Professional 64 bit Edition SP2 RU SATA AHCI UpPack 100521 


Windows XP Pro SP3 SATA AHCI UpPack 100521 by Lopatkin (2010/RUS) 


Windows 7 Embedded x86 (lite) 


XPLife 4.2 


AnyTV 2.49 


Windows 7 Ultimate IDimm Edition v.05.10 x86/x64 (2010) RUS 


Сборка Portable Soft Full от 19.05.2010 


Вальгалла: Сага о викинге / Valhalla Rising (2009) BDRip 720p 


Книга Илая / The Book of Eli (2010) BDRip 1080p 
Главная » Файлы » скрипты для ucoz

форма входа для сайта ucoz
26.05.2010, 13:40

При нажатии на кнопку появляеться форма входа.
Code

div#login-wrap {position: absolute; display: none;}  
div#login-block {background: url('http://iucoz.ru/other/login-bg.png') no-repeat; width: 246px; height: 167px;}  
div#enter-button {width: 60px; height: 35px; background: url('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('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('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('http://iucoz.ru/other/button.gif') no-repeat; color: #ffffff; border: none; font-size: 7pt; padding-bottom: 2px; position: relative; top: 3px;}

За тем в нужное Вам место ставьте данный код:
Code

<div id="enter-button">
<div id="login-wrap"><div id="login-block">  
   
sendFrm549077=function(){  
var o=document.getElementById('frmLg549077');  
var pos=_umlGetCoord(document.getElementById('frmLg549077'));  
document.body.insertBefore(document.getElementById('blk549077'),document.body.firstChild);  
with(document.getElementById('blk549077')){style.top=(pos['top'])+'px'; style.left=(pos['left'])+'px';style.width=o.offsetWidth;style.height=o.offsetHeight;style.display=''; innerHTML='<div align="left" style="padding:5px;"><div class="myWinLoad"></div></div>';}  
uz.util.Connect.setForm('frmLg549077');  
var cObj = uz.util.Connect.asyncRequest('POST','http://iucoz.ru/index/',callback);  
}  
   
<div id="blk549077" style="border:1px solid #CCCCCC;position:absolute;z-index:82;background:url('http://s4.ucoz.net/img/fr/g.gif');display:none; "></div><form id="frmLg549077" method="post" style="margin:0" /><div class="login-form">  
  <div class="login-close"></div>  
  <h2 style="text-align: center;" />Авторизация</h1>  
<table border="0" cellspacing="1" cellpadding="2" width="180">  

<tr><td width="20%" nowrap="nowrap">Логин:</td><td><input class="loginField" type="text" name="user" value="value" size="20" style="width:100%;" maxlength="50" /></td></tr>  
<tr><td>Пароль:</td><td><input class="loginField" type="password" name="password" size="20" style="width:100%" maxlength="15" /></td></tr>  

</table>  
[url=$REMINDER_LINK$] | <a href="$REGISTER_LINK$">Регистрация[/url]
</table>  
</div></div></div>  
  <div id="wrap" />  
  <div style="clear: both;" />
</div>

Источник: http://iucoz.ru
Категория: скрипты для ucoz | Добавил: Grysha
Просмотров: 428 | Загрузок: 0
Добавлять комментарии могут только зарегистрированные пользователи.
[ Регистрация | Вход ]
Форма входа
Суббота
28.06.2025
17:21


На форуме
Друзья сайта
Статистика
WoWGR
Онлайн всего: 1
Гостей: 1
Пользователей: 0
Пополнения моб.счета