in reply to Nodelets on the left?
Until (if ever) such a feature is added to PerlMonks, you can use JavaScript to manipulate the DOM objects to attain the desired effect. Add the code following to your Free Nodelet. Make sure your Free Nodelet is being displayed.
<script type="text/javascript"> // ======================================== // Move nodelets to the left side. function move_nodelets() { for each (var td in document.getElementsByTagName('td')) { if (td.className != 'nodelets') continue; var tr = td.parentNode; var main = tr.firstChild; tr.insertBefore(td, main); } } move_nodelets(); </script>
Tested successfully in FireFox 1.5.0.7.
Tested unsuccessfully in IE 6.0.2900.2180.xpsp_sp2_gdr.050301-1519, although I'm sure it could be made to work by someone more knowledgable.
Update: Clarified Until => Until (if ever).
Update: Title change.
Update: An updated version of this code found in Re^9: Free Nodelet Hack: Nodelets on the left. The core logic has been simplified and it has extra logic to delay execution to a safe time (allowing it to work in IE).
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Nodelets on the left?
by Corion (Patriarch) on Nov 07, 2006 at 09:05 UTC | |
Re: Free Nodelet Hack: Nodelets on the left
by Aristotle (Chancellor) on Nov 08, 2006 at 12:57 UTC | |
by Argel (Prior) on Nov 09, 2006 at 01:36 UTC | |
by Aristotle (Chancellor) on Nov 09, 2006 at 01:41 UTC | |
by pKai (Priest) on Nov 09, 2006 at 14:10 UTC | |
by Argel (Prior) on Nov 09, 2006 at 20:41 UTC | |
| |
Re: Free Nodelet Hack: Nodelets on the left
by jdporter (Paladin) on Nov 07, 2006 at 21:37 UTC | |
Re^2: Nodelets on the left?
by Argel (Prior) on Nov 07, 2006 at 02:05 UTC | |
by jdporter (Paladin) on Nov 07, 2006 at 06:06 UTC | |
by demerphq (Chancellor) on Nov 07, 2006 at 11:35 UTC | |
by jdporter (Paladin) on Nov 07, 2006 at 16:07 UTC | |
by demerphq (Chancellor) on Nov 07, 2006 at 19:04 UTC | |
by Argel (Prior) on Nov 07, 2006 at 20:53 UTC | |
by Argel (Prior) on Nov 08, 2006 at 23:08 UTC |
In Section
Perl Monks Discussion