See the changelog, butthole surfer!

This commit is contained in:
briandilley 2004-10-17 19:41:42 +00:00
parent 2157b47737
commit 1db48ad420
5 changed files with 26 additions and 6 deletions

View File

@ -1,3 +1,17 @@
10-17-04
* added random number to vote JS, keeps browsers
caching that page (hopefully).
* fixed an XHTML compliancy issue with the
SourceForge.net logo
* fixed XHTML compliancy issue with blackbart's
patch for browsers that don't support javascript.
sorry blackbart, non js browsers will get the
page ovewritten in thier browser. the w3c says
that it's up to the user wether or not it should
show up in a new window.... not the page.
10-15-04
* browsers without javascript can also vote now,
opens a new window... but at least it's the

View File

@ -2,16 +2,14 @@
<div class="quote-header">
<span><a href="?action=show&amp;id=${KWOTE_ID}">#${KWOTE_ID}</a></span>
<span class="vote-controls">
<a href="?action=hate&kid=${KWOTE_ID}"
<a href="?action=hate&amp;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;
<a href="?action=love&kid=${KWOTE_ID}"
<a href="?action=love&amp;kid=${KWOTE_ID}"
onclick="vote(${KWOTE_ID},'love'); return false"
id="love${KWOTE_ID}"
target="kwotevote"
>+</a>
</span>
</div>

View File

@ -11,7 +11,7 @@
<img src="http://sourceforge.net/sflogo.php?group_id=121598&amp;type=1"
width="88"
height="31"
border="0"
class="sf-logo"
alt="SourceForge.net Logo" /></a>
</div>
</div>

View File

@ -14,7 +14,9 @@
function vote(kid,type) {
var img = new Image();
img.src = "?action="+escape(type)+unescape("%26")+"kid="+escape(kid);
img.src = "?action="+escape(type)
+unescape("%26")+"kid="+escape(kid)
+unescape("%26")+"rnd="+Math.random();
hideElementById("hate"+kid);
hideElementById("love"+kid);

View File

@ -126,3 +126,9 @@ a:hover, a:active
{
background-color: #dfdff0;
}
.sf-logo
{
border: 0;
}