[ Mesaje noi · Membrii · Regulamentul forumului · Căutare · RSS ]
  • Pagina 1 din 1
  • 1
Forum » UCOZ SYSTEM » Sondaje » AFIŞAREA PROCENTELOR IN SONDAJ
AFIŞAREA PROCENTELOR IN SONDAJ
Ciprian Date: Luni, 2011-03-28, 5:15 PM | Message # 1
Messages: 22
Reproofs:
Respect
[ 0 ]
Offline
În Type of polling form la sfârşit adăugăm:
Code
<script type="text/javascript">  
$('div.answer span').each(function(){$(this).html($(this).html()+'<span class="procent">'+$(this).attr('title').match(/\([0-9]+%\)/)+'</span>')});  
</script>
În CSS adăugăm:
Code
div.answer span.procent {  
    margin: 0 0 0 5px;  
    font-style: italic;  
    font-weight: normal;  
}
Forum » UCOZ SYSTEM » Sondaje » AFIŞAREA PROCENTELOR IN SONDAJ
  • Pagina 1 din 1
  • 1
Căutare: