Foren / Cotonti / Bugs / Reports / Indexpoll: layout error

layout error on index

pieter
#1 18. Juli 2009, 22:23
3AXAP told me I got an error in Dutchcotonti skin.

He told me how to solve it.
But I found out it was in \plugins\indexpolls\tpl\indexpolls.tpl
So nothing to do with the skin.

The error is also on sed-light. But because the bars has no border, you can't see it.
Error:


In indexpolls.tpl
Line 28: <div class="bar_front" id="pr_{POLL_PER}"></div>

In polls.tpl it is ok:
Line 78: <div class="bar_front" style="width:{POLL_PER}%;"></div>

If you change in indexpolls.tpl line 28 with the line in polls.tpl.
All shows OK
... can we help you ...
esclkm
#2 20. Juli 2009, 03:09
just look an error in JS script before poll in TPL file.

Добавлено 27 Минут спустя:

string 26
<div style="width:210px; ">
string 38
var percentage = Math.floor(($(this).attr("id").replace('pr_','')*210)/100)+'px';

Underline int must be similar
littledev.ru - мой маленький зарождающийся блог о котонти.
снижение стоимости программирования и снижение стоимости производства разные вещи. Первое можно скорее сравнить с раздачей работникам дешевых инструментов, чем со снижением зарплаты

Dieser Beitrag wurde von esclkm (am 20. Juli 2009, 03:38, vor 14 Jahre) bearbeitet
booka
#3 9. Dezember 2010, 06:00
where I can download indexpolls plugin?
booka
pieter
#4 9. Dezember 2010, 06:55
is included in the default release.
... can we help you ...