| Namaste4815 Off |
Дата: Вторник, 22.09.2009, 19.59.36 | Сообщение # 1 |
Namaste4815
Сообщений: 131
| 1. Шаблон опроса, в самый низ: Code $('div.answer span').each(function(){$(this).html($(this).html()+'<span class="procent">'+$(this).attr('title').match(/\([0-9]+%\)/)+'</span>')}); 2. В CSS: Code div.answer span.procent { margin: 0 0 0 5px; font-style: italic; font-weight: normal; } В CSS [если хотите, чтобы опрос выглядел как на скриншоте] Code div.answer { font-weight: bold; } div.answer div div { height: 8px !important; border-left: 1px solid black; background: url('http://xxes.ru/i/poll.png') no-repeat right !important; // Скачайте и залейте себе... }
[ПОГОВОРИ С НАМИ]
|
| |
| |