« Easter Turducken | Main | Pondering the imponderables »
April 17, 2006
How to customize HTML links
Text Rollovers: What's Good and What is Just Plain Bad
I -really- wanted a hidden link (a link which looks just like plain text) to 'hide' the administrative site for a program I'm working on at work... My normal Google searches didn't work, but I eventually found it at this site.
I set up a style:
a.hide:link { color: #CCCCCC; text-decoration: none }
a.hide:active { color: #CCCCCC; text-decoration: none }
a.hide:visited { color: #CCCCCC; text-decoration: none }
a.hide:hover { color: #CCCCCC; text-decoration: none }
(the headline in which I hid the link has a font color of CCCCCC). Then I just gave my link the class="hide" and voila, an HTML anchor, hidden, embedded into my page. The admins will know it's there, and everyone else will just be very confused if they run across it. :-) It's strictly read-only; if users could damage things I'd have to password protect it. But the admin pages allow resetting some caches and viewing prior execution results, none of which should have a major effect on things if users do it more than we'd want.
OK time to deploy. :-)
Posted by aland at April 17, 2006 10:37 AM
Trackback Pings
TrackBack URL for this entry:
http://www.aland.us/mt/mt-tb.cgi/118