XP is just a number | |
PerlMonks |
Free nodelet hack: Auto-Fold threads in RAT for special browsersby LanX (Saint) |
on Feb 17, 2011 at 12:04 UTC ( [id://888694]=monkdiscuss: print w/replies, xml ) | Need Help?? |
The following code expands Free Nodelet Hack: RAT collapse all in different aspects. It checks if I'm surfing perlmonks with my (small screen) mobile (appName=="Obigo") and automatically collapses only root nodes of threads (nnt-depth-1). A link in the "Free Nodelet" allows to toggle the folding. This code is a blueprint for customizing appearance and UI in different browsers. The navigator object provides more attributes to distinguish browser and OS. Suggestions welcomed! :)
Cheers Rolf
Back to
Perl Monks Discussion
|
|