UPDATE: I've posted this, with changes and additions, as a meditation, so please see it there.
If that were the case, why aren't the voting option on bottom of the node? You know, so you click them after you read them.
They are in my browser, thanks to this bit of jQuery code that I insert into PM pages with a browser extension (you also need to insert a line of HTML to load jQuery itself). It's probably not the best code, as I understood very little Javascript when I wrote it; I've been meaning to clean it up and add a couple things, but it does work. (Note how I put sigils on my variables to make it feel more perl-y). It moves each reply's vote buttons to the bottom of that reply, and also sticks a Vote button next each set of +/- radio buttons, so I don't have to scroll to the bottom to find it. It doesn't move the buttons for the original post at the top; I guess that's one thing I should add.
$(document).ready(function(){
jQuery('div.reputation center').append('<input style="margin-left:20
+px" type="submit" name="sexisgreat" value="vote!" />');
jQuery('td.reply-body').each(function(){
var $m = $(this).children().first();
var $t = $m.html();
if( $t.match(/reply/)){
return;
}
$m.remove();
$(this).append('<div class="reputation">'+$t+'</div>');
});
});
Aaron B.
Available for small or large Perl jobs and *nix system administration; see my home node.
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|