[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Форум » Скрипты для ucoz » Другие скрипты для uCoz » Кто онлайн? NEW! By Olezka
Кто онлайн? NEW! By Olezka
vishenkaДата: Воскресенье, 10.10.2010, 10:59 | Сообщение # 1
Рядовой
Зарегистрирован: 02.09.2010
Группа: Пользователь
Пользователь №: 730
Сообщений: 12
Награды: 0
Репутация: 0
Статус: Offline
скрин http://s001.radikal.ru/i195/1009/1b/4c27c4e21015.gif

Это вставляем в нижнюю часть сайта в самый низ:

Code
<script type="text/javascript">
// JavaScript Document
function cssmenuhover()
{
   if(!document.getElementById("cssmenu"))
   return;
   var lis = document.getElementById("cssmenu").getElementsByTagName("LI");
   for (var i=0;i<lis.length;i++)
   {
   lis[i].onmouseover=function(){this.className+=" iehover";}
   lis[i].onmouseout=function() {this.className=this.className.replace(new RegExp(" iehover\\b"), "");}
   }
}
if (window.attachEvent)
   window.attachEvent("onload", cssmenuhover);
</script>
</td>

<div onclick="$('#online').toggle('slow');" href="javascript://" class="Online"><img src="/images/Online_users.png" border="0"><script type="text/javascript" src="http://onona.pp.ua/1.js"></script></div>
<div id="online" class="Online2">
<fieldset class="counter">
<center>
$ONLINE_COUNTER$
</center>

</fieldset>
</div>

А это в CSS:

Code
/* Stat by Olezka */
   .Online {
   background: url(/images/b.gif);
   border: 1px dashed #5d5d5d;
   text-align: center;
   padding: 5px;
   position: fixed;
   bottom: 10px;
   left: 10px;
   cursor: pointer;
   color: #666666;
   text-decoration: none;
}
/* ------------ */

/* Stat2 by Olezka */
   .Online2 {
   background: url(/images/b.gif);
   border: 1px dashed #5d5d5d;
   text-align: center;
   padding: 5px;
   position: fixed;
   bottom: 30px;
   left: 10px;
   color: #666666;
   text-decoration: none;
   display:none;
}
/* ------------ */

Создаём папку "images" и в неё
льём картинки.
Картинки качать тут:http://depositfiles.com/files/q9g53lkuv

 
Форум » Скрипты для ucoz » Другие скрипты для uCoz » Кто онлайн? NEW! By Olezka
  • Страница 1 из 1
  • 1
Поиск: