Tech Note: Entry Rating Listification and Image Replacement

Science • Views: 2,302

The image replacement technique about which we pontificated at length yesterday has now been applied to the entry rating buttons (not the comment ratings… yet).

If you still haven’t fully recovered from the annual festivities and have no idea what we’re talking about, these are the rating buttons that are at the bottom left of each front page article. They now have slightly darker “rollover” states (pure CSS, no Javascript image swapping), and a third “disabled” state, all combined into one image file.

Because pictures speak louder than words, here’s the background image for the upding button, with all three states visible:

Apart from those differences, they should act the same, Bob willing; it’s been tested in the major Mac and PC browsers.

(IE6 was a pain, but you already knew that. Floating elements really brings the bugs out of the chromework in that browser.)

UPDATE at 1/1/09 6:33:24 pm:

Those of you still plugging along with Internet Explorer 6 may notice that these images look a little funny. The spaces between the icons in the image above, for example, show up with a faint blue background instead of being transparent as intended. This is because IE6’s PNG transparency support is hopelessly broke down and busted. There are methods to work around IE6’s issues, but they don’t play nice with background images.

So consider this tiny cosmetic flaw our meager attempt to encourage the world to move on and leave IE6 on the hard drives of yesteryear.

Jump to top

Create a PageThis is the LGF Pages posting bookmarklet. To use it, drag this button to your browser's bookmark bar, and title it 'LGF Pages' (or whatever you like). Then browse to a site you want to post, select some text on the page to use for a quote, click the bookmarklet, and the Pages posting window will appear with the title, text, and any embedded video or audio files already filled in, ready to go.
Or... you can just click this button to open the Pages posting window right away.
Last updated: 2023-04-04 11:11 am PDT
LGF User's Guide RSS Feeds

Help support Little Green Footballs!

Subscribe now for ad-free access!Register and sign in to a free LGF account before subscribing, and your ad-free access will be automatically enabled.

Donate with
PayPal
Cash.app
Recent PagesClick to refresh
The Pandemic Cost 7 Million Lives, but Talks to Prevent a Repeat Stall In late 2021, as the world reeled from the arrival of the highly contagious omicron variant of the coronavirus, representatives of almost 200 countries met - some online, some in-person in Geneva - hoping to forestall a future worldwide ...
Cheechako
4 days ago
Views: 128 • Comments: 0 • Rating: 1
Texas County at Center of Border Fight Is Overwhelmed by Migrant Deaths EAGLE PASS, Tex. - The undertaker lighted a cigarette and held it between his latex-gloved fingers as he stood over the bloated body bag lying in the bed of his battered pickup truck. The woman had been fished out ...
Cheechako
2 weeks ago
Views: 291 • Comments: 0 • Rating: 1