Время: 17:33
Добро пожаловать на форум, Гость, это ваша панель
  • Страница 1 из 1
  • 1
Новый и простой вид формы опроса by Eragon
Ник: [Eragon] | Дата: 04.11.2012, 18:27 | Сообщение #1
Святая Инквизиция
Сообщения:
194


Установка:

1. Скачиваем архив ниже.
2. Через файловый менеджер загружаем папку "question_images" в корень вместе со всеми файлами.
3. Вставляем код формы опроса в Управление дизайном » Опросы » Вид формы опросов.
4. Сохраняем.

Код формы опроса:

Code
<div class="pollBlock" style="font-family:Tahoma,Arial;">     
     <div class="pollQue" style="font-size:8pt;padding-top:2px;text-align:left;"><b>$QUESTION$</b></div> <hr>
     <div class="pollAns" style="font-size:8pt;text-align:left;">$ANSWERS$</div> <hr>
     <div class="pollLnk" 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>     
     <div class="pollTot" style="padding-top:4px;font-size:7pt;text-align:center;">Всего ответов: <b>$TOTAL_VOTES$</b></div>     
     </div>     

     <style>     
     .answer div div {height: 10px !important; border: 1px solid #000; background-repeat: repeat-x}     
     </style>     
     <script type="text/javascript">     
     var a = ['/question_images/01.gif','/question_images/02.gif','/question_images/03.gif','/question_images/04.gif','/question_images/05.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>


Скачать архив:

Скачать с Unibytes
Скачать с Turbobit
Скачать с Depositfiles
Скачать с Shareflare
Скачать с Letitbit
Скачать с Upwap
Скачать с Upwww
 
 
   
Ник: ValeraTerechenko | Дата: 05.11.2012, 06:46 | Сообщение #2
Сообщения:
267
Ну вроде не новый, но красивый ))
 
 
   
  • Страница 1 из 1
  • 1
Поиск: