Alternate row colors with jQuery
Well, a little Googling and I came upon this website.
This is an excerpt from the book Learning jQuery. Need to try and get my boss to buy that one.
Well, a little Googling and I came upon this website.
This is an excerpt from the book Learning jQuery. Need to try and get my boss to buy that one.
The last time we saw how we can make use of transparent png's as backgrounds in our site layouts, included in our .css files. But what if we want to use png in our html source like so:
Here's the way I prefer to deal with such situations. This method is a "implement once, work on all images" kinda thing.
The downside, but one I'm willing to live with, is that the IE user has to have JavaScript enabled.
First create a pngfix.js file and paste the following into it:
Then in the head of your page you do this:
As much as I wish I was smart enough to come up with this my self, the credit goes to Bob Osola who in turn is crediting more people on his site.
Pretty soon I found DHTML Easy Countdown by a guy named Andrew Urquhart. Seems like there is more stuff on his site worth looking into as well.