Главная | Регистрация | Вход
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Модератор форума: Shegon  
Форум » Твой сайт » Скрипты » Pop Up окно
Pop Up окно
ShegonДата: Вторник, 11.08.2009, 22:07 | Сообщение # 1
mett
Группа: Модераторы
Сообщений: 337
Статус: Offline
За регистрацию на сайте Модератору
Code
<style type="text/css">.cpopup {position:absolute;top:0px;left:0px;width:0%}div > div.cpopup {position:fixed;}</style>  
<!--[if gte IE 5.5]><![if lt IE 8]><style type="text/css">div#upopup {width:expression(((ignoreMe=(document.documentElement.clientWidth?document.documentElement.clientWidth:document.body.clientWidth))<200?200:  ignoreMe)+'px'); position:absolute;top:expression((ignoreMe2=document.documentElement.scrollTop?document.documentElement.scrollTop:document.body.scrollTop)+'px'); left:expression((ignoreMe=document.documentElement.scrollLeft?document.documentElement.scrollLeft:document.body.scrollLeft)+'px'); }</style><![endif]><![endif]-->  
<div id="ppopup">  
<div class="cpopup" id="upopup" style="z-index:55;">  
<!--START-->  
ВАШ КОД  
<!--END-->  
</div></div>  
<script type="text/javascript">document.getElementById("ppopup").style.height=document.getElementById("upopup").offsetHeight+'px'; </script>


 
Форум » Твой сайт » Скрипты » Pop Up окно
  • Страница 1 из 1
  • 1
Поиск: