in reply to Re^7: Free Nodelet Hack: Nodelets on the left
in thread Nodelets on the left?
O. K., here is a fix, by separating definition of the function from its (then asynchronous) call.
All precious freenodelet content should stay intact. Also freenodlet can be any node in the series here.
<script type="text/javascript"> var doit = window.setInterval("FreeLeft()", 500); function FreeLeft() { window.clearInterval(doit); var td = document.getElementById('nodelet_container').parentNode; var tr = td.parentNode; if (document.all) { // IE tr.insertBefore( td.cloneNode(true), tr.firstChild ); td.style.display= "none"; } else { // w3c tr.insertBefore( td, tr.firstChild ); } } </script>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^9: Free Nodelet Hack: Nodelets on the left
by ikegami (Patriarch) on Nov 09, 2006 at 23:33 UTC | |
by jdporter (Paladin) on Nov 10, 2006 at 19:25 UTC | |
by Argel (Prior) on Nov 10, 2006 at 02:01 UTC |