Tech Note: Entry Rating Listification and Image Replacement

Charles Johnsonfollow me on twitter
Science • Thu Jan 1, 2009 at 5:11 pm PST • Views: 201

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 ^

Name:

Pass:

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

Turn off ads by subscribing!
For about 33 cents a day, our subscription option turns off all advertisements at LGF!
Read more...


► LGF Headlines

  • Loading...

► Tweeted Articles

  • Loading...

► Tweeted Pages

  • Loading...

► Top 10 Comments

  • Loading...

► Bottom Comments

  • Loading...

► Recent Comments

  • Loading...

► Tools/Info

► LGF Hits

► 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

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.

Banned in Saudi Arabia!

TwitterFacebook
LGF Pages
Recent Pages

Channeling Confucius
Syria Unrest: Arab League 'Seeks Peacekeeping Mission'
2 minutes ago
Views: 2 • Comments: 0
Tweets: 0 • Rating: 0

reuven
NYTimes: Critics of Safety Net Increasingly Depend on it
24 minutes ago
Views: 18 • Comments: 0
Tweets: 0 • Rating: 1

Curt
U.S. Federal Deficits, Presidents, and Congress (Updated 09/2011)
31 minutes ago
Views: 19 • Comments: 0
Tweets: 0 • Rating: 0

Look At My New Grandbaby!
EPIC FAIL: Religious Magazine Mistakenly Publishes Smutty Content
1 hour, 11 minutes ago
Views: 57 • Comments: 0
Tweets: 3 • Rating: 2

Randall Gross
Lasers Plus a Crushing Magnetic Field May Make Fusion More Efficient
1 hour, 31 minutes ago
Views: 50 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
White House: Matter of Time Before Assad Falls
1 hour, 33 minutes ago
Views: 50 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
ADD theatre: A peek at Oscar's shorts
1 hour, 47 minutes ago
Views: 48 • Comments: 0
Tweets: 0 • Rating: 0

Randall Gross
When Will They Ever Learn?
1 hour, 50 minutes ago
Views: 68 • Comments: 0
Tweets: 1 • Rating: 0

Channeling Confucius
Why Israel Might Believe Attacking Iran Is Worthwhile - Michael Hirsh - the Atlantic
2 hours, 12 minutes ago
Views: 71 • Comments: 1
Tweets: 0 • Rating: 0

Channeling Confucius
6 Real Planets That Put Science Fiction to Shame
2 hours, 15 minutes ago
Views: 68 • Comments: 0
Tweets: 0 • Rating: 0

 Frank says:

Yeah, I tell them to change the channel if they see some guy in a brown suit with a telephone number at the bottom of the screen asking for money. -- on being asked by Tipper Gore if there was anything on the TV he _didn't_ allow his kids to watch ...