LGF

Tech Note: Entry Rating Listification and Image Replacement

Science | Thu, Jan 1, 2009 at 5:11:37 pm PST

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.

Advertisement

406 comments

^ back to top ^

log in
Name:
Pass:

Register Forgot Your Password? My Account Re-send Confirmation (To log in, cookies must be enabled in your browser!)

► LGF Headlines

  • Loading...

► Top 10 Comments

  • Loading...

► Bottom Comments

  • Loading...

► Recent Comments

  • Loading...

► Tools/Info

► LGF Hits

► Slideshows

► Resources

► Never Forget

► Statistics

► Tag Cloud

► Contact

You must have Javascript enabled to use the contact form.
Your email:

Subject:

Message:


Messages may be published in our weblog, unless you request otherwise.
Tech Note:
Using the Contact Form

► News/Opinion

  • Loading...

More Partners

Compare Electricity Prices in your area. Texas Electricity is deregulated; you have the right to choose Texas Electric Rates from among many Texas Electric Companies.

Ignorance is blix.

Follow Lizardoid on Twitter

Read More, Spend Less. New Lower Prices on Thousands of Books!

 Frank says:

To me, cigarettes are food -- Response to an assertion that his nicotine habit conflicted with his anti-drug stance