See the changelog, butthole surfer!
This commit is contained in:
parent
2157b47737
commit
1db48ad420
14
Changelog
14
Changelog
@ -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
|
||||
|
@ -2,16 +2,14 @@
|
||||
<div class="quote-header">
|
||||
<span><a href="?action=show&id=${KWOTE_ID}">#${KWOTE_ID}</a></span>
|
||||
<span class="vote-controls">
|
||||
<a href="?action=hate&kid=${KWOTE_ID}"
|
||||
<a href="?action=hate&kid=${KWOTE_ID}"
|
||||
onclick="vote(${KWOTE_ID},'hate'); return false;"
|
||||
id="hate${KWOTE_ID}"
|
||||
target="kwotevote"
|
||||
>-</a>
|
||||
<span id="rating${KWOTE_ID}">${KWOTE_RATING}</span>
|
||||
<a href="?action=love&kid=${KWOTE_ID}"
|
||||
<a href="?action=love&kid=${KWOTE_ID}"
|
||||
onclick="vote(${KWOTE_ID},'love'); return false"
|
||||
id="love${KWOTE_ID}"
|
||||
target="kwotevote"
|
||||
>+</a>
|
||||
</span>
|
||||
</div>
|
||||
|
@ -11,7 +11,7 @@
|
||||
<img src="http://sourceforge.net/sflogo.php?group_id=121598&type=1"
|
||||
width="88"
|
||||
height="31"
|
||||
border="0"
|
||||
class="sf-logo"
|
||||
alt="SourceForge.net Logo" /></a>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -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);
|
||||
|
||||
|
@ -126,3 +126,9 @@ a:hover, a:active
|
||||
{
|
||||
background-color: #dfdff0;
|
||||
}
|
||||
|
||||
.sf-logo
|
||||
{
|
||||
border: 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user