[Мой сайт ]
Главная » Файлы » SCRIPT UCOZ » Вид опросов

Форма опросов как на DLE
24.09.2012, 12:57


Это вставляем "Вид формы опросов"

Code

<style>  
  .answer div div {height: 10px !important;}  
  </style>  
   
  <div style="font-family:Tahoma,Arial;">  
  <div style="font-size:8pt;text-align:left;"><b>$QUESTION$</b></div>  
  <div style="font-size:8pt;text-align:left;">$ANSWERS$</div>  
  <div style="padding-top:4px;text-align:center;">[ <a style="font-size:7pt;" href="$RESULTS_LINK$">Результаты</a> · <a style="font-size:7pt;" href="$ARCHIVE_LINK$">Архив опросов</a> ]</div>  
  <script type="text/javascript">  
  var a = ['http://rucoz.com/img/other/0011.gif','http://rucoz.com/img/other/0022.png','http://rucoz.com/img/other/0033.png','http://rucoz.com/img/other/0044.png','http://rucoz.com/img/other/0055.png'];  
  for(var i = 0; i < a.length; i++){  
  $('div.answer div div').eq(i).css({background: 'url(' + a[i] + ')', backgroundRepeat: 'repeat-x'});  
  }  
  $('div.answer span').each(function(){$(this).html($(this).html()+' - <span class="procent">'+$(this).attr('title').split(':')[1]+'</span>')});  
  </script>  
  <div style="padding-top:4px;font-size:7pt;text-align:center;">Всего ответов: <b>$TOTAL_VOTES$</b></div>  
  </div>
Категория: Вид опросов | Добавил: html-code | Теги: Форма опросов как на DLE
Просмотров: 396 | Загрузок: 0 | Рейтинг: 0.0/0
Всего комментариев: 0
Имя *:
Email:
http://www.plati.com/asp/pay.asp?idd=1879537&ai=632235 http://www.oplata.info/asp/pay_wm.asp?id_d=1879537&ai=632235