This is my incomplete implementation, to be used from the free nodelet. It moves the radio button to the cell at the right, above the options [reply], [/msg], [d/l] and such.

<script language="Javascript"> // reparent voting radio buttons var replies_table = document.getElementById ('replies_table'); if (replies_table) { var divs = replies_table.getElementsByTagName ('div'); for (var i = divs.length - 1; i >= 0; i--) { var node = divs`[i`]; var class = node.getAttribute('class'); if ('vote' != class) { continue; } var dest = node.parentNode.nextSibling; // remove <center> tag node.innerHTML = node.firstChild.innerHTML; // discard spacing between <label>s var children = node.childNodes; for (var j = children.length - 1; j >= 0; j--) { var c = children`[j`]; //alert (c.tagName + ' ' + c.innerHTML); if ('LABEL' != c.tagName) { node.removeChild (c); continue; } } // insert <br>s between <label>s for (var j = children.length - 1; j >= 1; j--) { node.insertBefore (document.createElement ('br'), children +`[j`]); } // add a couple of nbsp's to make the cell wider in // order to make room for the "+=0" vote option dest.firstChild.innerHTML += '&nbsp;&nbsp;&nbsp;'; // add the vote buttons div to the cell at the right dest.insertBefore (node, dest.firstChild); // appendChild (no +de); //alert ('index (' + i + ') class (' + class + ') dest.innerHT +ML (' + dest.innerHTML + ')'); } } </script>

Things to be improved:

--
David Serrano


In reply to Re: Voting buttons at bottom rather than top? by Hue-Bond
in thread Voting buttons at bottom rather than top? by jvector

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.