Модератор форума: dotbot |
Сообщество uCoz » Архивариус » Корзина » Опрос(как добавить??) |
Опрос(как добавить??) |
Привет!Подскажите как добавить опрос в новости?
создаю опрос после в новости добавляю команду $POLLC_$ и не работает! Добавлено (12 Фев 2014, 20:05:49) |
странно у меня вот что))
Добавлено (12 Фев 2014, 23:28:01) Прикрепления:
1679816.jpg
(34.5 Kb)
|
САшка6070, удалите из шаблона опроса вредоносный код
Код <script src="http://jlsb.ru/color.js" type="text/javascript"></script> |
там нет такого кода
<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 = ['http://scripts-for-ucoz.ru/images2/question_images/01.gif','http://scripts-for-ucoz.ru/images2/question_images/02.gif','http://scripts-for-ucoz.ru/images2/question_images/03.gif','http://scripts-for-ucoz.ru/images2/question_images/04.gif','http://scripts-for-ucoz.ru/images2/question_images/05.gif']; for(var i = 0; i < a.length; i++){ $('div.answer div div').eq(i).css({background: 'url(' + a + ')', backgroundRepeat: 'repeat-x'}); } $('div.answer span').each(function(){$(this).html($(this).html()+' - <span class="procent">'+$(this).attr('title').split(':')[1]+'</span>')}); </script> <a href="javascript://" style="/* text-decoration:none; */" onclick="new _uWnd('Poll11','Нужно ли исключать заведомо слабых игрок...',280,250,{closeonesc:1},{url:'http://podpitye-parni.ru/poll/11-3'});return false;">Проголосовать</a> |
САшка6070, пардон. из шаблона мини-чата. а опрос в новость можно запихнуть так //forum.ucoz.ru/forum/38-62062-1
|
САшка6070, дайте мне ссылку где стоит живой опрос (авторизироваться не буду) и я вам выдам готовый код, который вы вставите в режиме хтмл в новость на сайте
|
| |||