The way I would do this is to add the icon as a background via CSS and change tha hover state to replace the Icon with a black one (if you were clever you would use a Sprite). In a similar way this page has the icons added in the fields via CSS http://www.deltadesign.co/formtest2.html
I’m afraid that I’m not so hip to the lingo… is a sprite where you’d have
both versions of the icon in one image, but set the image positioning so
you only see the one you want depending on the user action? Or is it
something different?
–
Ernie Simpson
On Tue, Nov 6, 2012 at 3:04 PM, DeltaDave email@hidden wrote:
I know I can use an image but…
You mean a Rollover Image.
The way I would do this is to add the icon as a background via CSS and
change tha hover state to replace the Icon with a black one (if you were
clever you would use a Sprite). In a similar way this page has the icons
added in the fields via CSS http://www.deltadesign.co/formtest2.html
Yes I believe thats correct ‘sprite sheets’ I have actually created for developers before but never known how to add to a website - I have seen Walter demo how to do it somewhere though…
I worked with this method in Freeway Pro YEARS ago, before it was called sprites. It has the great advantage of loading once Instead of many times, when used for all ur icons.
–
Ernie Simpson
On Nov 6, 2012, at 5:58 PM, “Justin Easthall” email@hidden wrote:
And for making my icon turn black when I rollover the text seems like a heck of a lot of work!