I think it's safe to say that most people using the Chatterbox don't use it, or use it sparingly. The problems with it are two-fold:
So, that's why I'm interested in a different, less rigid approach. With some tweaks in your custom CSS, you can see that these people are saying something, but you don't see what they say, so it's easier to ignore what they say, and not get angry about it. They're effectively silenced... But you know that they are talking.
And, with the help of some other monks (corion, clinton, and maybe a few other monks more whom I have now forgotten about, if so, my apologies), I succeeded in having a mouseover effect, that you can read what they say, as long that the mouse is hovering over their name and/or (abbreviated) text. All that in just pure CSS.
Paste this into your custom CSS for the site, to get it working. Replace the number by the user id (4 times) for any user you want to treat this way.
.chatfrom_599759:after { content:" ..."; } .chatfrom_599759 .content { display:none; } span.chatfrom_599759:hover .content { display:inline; } span.chatfrom_599759:hover:after { content: ""; }
This has been tested successfully on Firefox 3, Opera 9, and Safari 3 (update: and on Google Chrome, too). It doesn't quite work that well on Microsoft Internet Explorer 6 and 7. The reason must be a combination of :hover not working in MSIE on anything other than a link, and it not knowing :after at all.
The CSS is easy to extend to more users... but as it requires quite a bit of manual editing, I've written this little Perl script to generate the CSS for any number of users. Just pass the ids of the users you want to ignore to the sub, and paste the output in your custom site CSS.
# ignore the same user, and me :) print ignore_css(qw(190859 599759)); sub ignore_css { if(my @ignored = @_) { local $" = ",\n"; return <<"^CSS^"; @{[map sprintf('.chatfrom_%d:after', $_), @ignored]} { content:" ..."; } @{[map sprintf('.chatfrom_%d .content', $_), @ignored]} { display:none; } @{[map sprintf('span.chatfrom_%d:hover .content', $_), @ignored]} { display:inline; } @{[map sprintf('span.chatfrom_%d:hover:after', $_), @ignored]} { content: ""; } ^CSS^ } return ""; }
In reply to A gentler kind of /ignore... with CSS by bart
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |