NEW Feature:

always collapse "+/- Legend" away!

appName check disabled, just put your selective clients in there if you need it

(AutoFolding of RAT head and foot unfortunately to difficult ATM)

<script language="javascript"><!-- var expandState="expanded"; function toggle_threads(){ expandState = (expandState=='expanded') ? 'collapsed' : 'expanded' ; var elements = document.getElementsByTagName('ul'); var elnum; for( elnum=0; elnum<elements.length; elnum++ ){ var el = elements[elnum]; if ( el.parentNode.className.match(/nnt-depth-1/) ) el.className = expandState; if ( el.id == 'ul-legend') el.className = 'collapsed'; } } if ( document.title.match(/Recently Active Threads/) ) { document.writeln('<a href="javascript:toggle_threads()">+/- All Th +reads</a>'); // if (navigator.appName=="Obigo") toggle_threads(); // auto collapse at start } //--></script>

Cheers Rolf

PS: Je suis Charlie!


In reply to Re: Free nodelet hack: Auto-Fold threads in RAT by LanX
in thread Free nodelet hack: Auto-Fold threads in RAT for special browsers by LanX

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