Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

[RAT] moving "I've checked all of these" button

by LanX (Sage)
on Apr 18, 2010 at 11:39 UTC ( #835325=monkdiscuss: print w/replies, xml ) Need Help??

I know that Recently Active Threads produces much of server load and delay...

This can be considerably reduced by hitting the I've checked all of these button".

But I'm observing myself mostly doing a simple reload instead...

My theory is that my lazy self si to reluctant to scroll down to this bottom!

I decided to pimp up the CSS of the button in the Free Nodelet settings to stay fixed at the top.

There is a CSS2 and a JS solution, bot work in my FF:

<style type="text/css"> <!-- #nodethreads-foot * input[name="viewedNewNodes"] {background-color:ora +nge;position:fixed;top:20;left:500} --> </style>

<script><!-- function move_RAT_checked(){ var forms=document.forms; var f,b,s; for ( f in forms) { if (b =forms[f].viewedNewNodes){; s.backgroundColor="orange"; s.position="fixed";; s.left=500; } } } move_RAT_checked(); --> </script>

Actually I hate fixed HTML-areas since they slow down scrolling, maybe I will switch to postion:absolute

<style type="text/css"> <!-- #nodethreads-foot * input[name="viewedNewNodes"] { background-color:orange; font-weight:bold; position:absolute; top:200; left:10 } --> </style>
...experiments in progress...

maybe I will try to bind Control-r (Reload) to this action.

Cheers Rolf

Replies are listed 'Best First'.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: monkdiscuss [id://835325]
Approved by ww
Front-paged by planetscape
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2021-10-19 09:14 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (76 votes). Check out past polls.