browsers without javascript can also vote now, opens a new window... but at least it's the same window every time. (thanks blackbart)

padding around "+" and "-" made larger so that it's easier to click. (thanks blackbart)
This commit is contained in:
briandilley 2004-10-16 05:17:51 +00:00
parent 85e41c8c79
commit 2157b47737
3 changed files with 26 additions and 2 deletions

10
Changelog Normal file
View File

@ -0,0 +1,10 @@
10-15-04
* browsers without javascript can also vote now,
opens a new window... but at least it's the
same window every time. (thanks blackbart)
* padding around "+" and "-" made larger so that
it's easier to click. (thanks blackbart)
10-14-04
* inital release

View File

@ -2,9 +2,17 @@
<div class="quote-header"> <div class="quote-header">
<span><a href="?action=show&amp;id=${KWOTE_ID}">#${KWOTE_ID}</a></span> <span><a href="?action=show&amp;id=${KWOTE_ID}">#${KWOTE_ID}</a></span>
<span class="vote-controls"> <span class="vote-controls">
<a href="javascript:vote(${KWOTE_ID},'hate');" id="hate${KWOTE_ID}">-</a> <a href="?action=hate&kid=${KWOTE_ID}"
onclick="vote(${KWOTE_ID},'hate'); return false;"
id="hate${KWOTE_ID}"
target="kwotevote"
>-</a>
&nbsp;<span id="rating${KWOTE_ID}">${KWOTE_RATING}</span>&nbsp; &nbsp;<span id="rating${KWOTE_ID}">${KWOTE_RATING}</span>&nbsp;
<a href="javascript:vote(${KWOTE_ID},'love');" id="love${KWOTE_ID}">+</a> <a href="?action=love&kid=${KWOTE_ID}"
onclick="vote(${KWOTE_ID},'love'); return false"
id="love${KWOTE_ID}"
target="kwotevote"
>+</a>
</span> </span>
</div> </div>
<div class="quote-content"> <div class="quote-content">

View File

@ -72,6 +72,12 @@ a:hover, a:active
right: 0px; right: 0px;
} }
/* make those little - + signs easier to click */
.vote-controls a
{
padding: 1em;
}
.quote-content .quote-content
{ {
font-size: 0.9em; font-size: 0.9em;