2025-07-18 Friday
Subscribe to our RSS feed

Загварыг хөрвүүлсэн Muggi


UcozTutorial Banner
Follow us on Facebook
Main » 2013 » February » 10 » Санал асуулгын хэлбэржүүлэлт
12:54 PM
Санал асуулгын хэлбэржүүлэлт


Жирийн загвартай сайтад маш гоё зохидог...


Дараах кодыг Control Panel>Customize Design>Web Polls>Type of Polling Form дотор хийнэ.


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>


Ингээд л болоо!


Enjoy!
  • 1
  • 2
  • 3
  • 4
  • 5
Category: Scripts | Views: 315 | Added by: Muggi | Rating: 0.0/0
Total comments: 0
Сэтгэгдэл үлдээх хэсэг

Үндсэн Меню

    • Нүүр хуудас
    • Сайтын тухай
    • Форум
    • Зочдын дэвтэр
    • Сэтгэгдэл
    • Тоглоом
    • Сурталчилгаа

Мэдээний Төрөл

  • Ucoz
    • Загвар
    • Scripts
    • Зөвлөгөө
  • Бусад
    • Reklam

Сайтад Нэвтрэх

Архив

  • 2013 January
  • 2013 February
Visit the YOOtools website!
Visit the YOOtorials website!
Visit the YOOtheme website!
    Эхлэл
Загварыг х?рв??лсэн Muggi
<--??--> © 2010 UcozTutorial