[_] site test - dig in kids...
Tim Beadle
tim.beadle at gmail.com
Thu Aug 3 11:09:36 BST 2006
On 03/08/06, Tom Gidden <tom at gidden.net> wrote:
> You can do the background-position: hack instead, where you have both
> states stacked up on a single image, and it just crops the correct
> bit. No image replacement necessary, and if your images come out of
> a graphics generator, there are less files to mess with.
That *is* image replacement ;) albeit using Pixy's single-image rollovers.
http://wellstyled.com/css-nopreload-rollovers.html
Image replacement (in this context) means replacing "foreground"
content with a background image (using CSS), *not* replacing one image
with another (using JavaScript).
Tim
> You can do the background-position: hack instead, where you have both
> states stacked up on a single image, and it just crops the correct
> bit. No image replacement necessary, and if your images come out of
> a graphics generator, there are less files to mess with.
That *is* image replacement ;) albeit using Pixy's single-image rollovers.
http://wellstyled.com/css-nopreload-rollovers.html
Image replacement (in this context) means replacing "foreground"
content with a background image (using CSS), *not* replacing one image
with another (using JavaScript).
Tim