Вид опросов - темный - Форум
[ Новые сообщения · Участники · Правила форума · Поиск · RSS ]
  • Страница 1 из 1
  • 1
Вид опросов - темный
Hitman Дата: Суббота, 20.08.2011, 20:56 | Сообщение # 1
Сообщений: 258
Замечания:
Уважение
[ 26 ]
Offline
Code
<div class="rt-poll">
   <div class="pollqwes">$QUESTION$</div>
   <div class="pollans">$ANSWERS$</div>
   <div style="padding-left:24px;">
   <div class="rt-pollbuttons">
   <div class="readon">
   <input href="pollBut" class="button" style="border:0px;" value="Голосуем" type="submit" />
   </div>
   <div class="readon"> <a href="$RESULTS_LINK$" class="button">Результаты</a> </div>
   </div>
   </div>
</div>
<style type="text/css">
input.pollBut { display: none; }
div.answer {padding-bottom:4px;}
.pollqwes {font: bold 16px Georgia, "Times New Roman", Times, serif;text-align: center;padding-bottom: 6px;}
.pollans {font: 12px Arial, Helvetica, sans-serif;text-align: left;padding-top: 0px;padding-bottom: 10px;padding-left: 30px;}
.answer div div {height: 10px !important; border: 1px solid #000; background-repeat: repeat-x}   
</style>
<script type="text/javascript">   
var a = ['/images/poll1.gif','/images/poll2.gif','/images/poll3.gif','/images/poll4.gif','/images/poll5.gif'];   
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>
  • Страница 1 из 1
  • 1
Поиск:

Рекламный блок

Тут может быть ваша реклама!

Подробнее...

Рекламный блок

Тут может быть ваша реклама!

Подробнее...

Рекламный блок

Тут может быть ваша реклама!

Подробнее...