cyberSaps business: blogging news, internet biz, communities, UK angle
Pure css tooltips
Do you know what is a tooltip? This is a tooltip an aiding text that appears just when you roll on with the mouse. The basic idea comes from Eric Meyer's pure css popupsa very clever way to get dynamic effects on an html page without using javascript.
Nice... I use javascript for the tool tips on the navigation, this is much cleaner, and I'd much, much prefer to use CSS to do this. And I don't have to have 'stuff' in my hrefs. I could write an addition to my standard hrefs, just to add the class declaration, won't matter if there's no span element inside... And I could style the tool tips differently for different parts of the site... Yip, I'll change over as soon as I get some time.
As an aside, I wonder if it'll come through my RSS feed into my aggregator.
[Update:] No, the CSS curly braces have been neutered in the RSS feed somewhere. I'll have to dig in and see if I can control this with a callback. It may be that Radio thinks they're macros and is neutering them. [update 2:] Actually, it's not the production of the RSS feed that's the problem, it's the aggregator, when it sucks up the feed. Again there are callbacks for this, but I wonder how many other aggregators actually allow complete stylesheets?
1591 Also posted to: Home page
Permalink Top Search Google Technorati
Other title(s) for this story:



