![]() |
Need help with CSS menu when hovered over
Greetings!
I need a little push here! I'm trying to do this css based menu which seems all to simple but I've hit that proverbial mental road block! :( I haven't written any code for it yet for the simple fact that I really don't know where to start! What I want to do is on hover change the image to an animated image (which I already have) and perhaps change the color of the text at the same time. This is the code I have in my head for the line item I just really don't know how to put the CSS down. Code:
<ul id="menu">I hope somebody can give me this little push! Thank so very much way in advance! :) |
Good morning MrBiggZ,
You could do this the same way you build a normal sprite rollover but with seperate images. It would have a hesitation between it's normal and hover states though, that's why we use sprites. Maybe find an image preloader to go along with this. Start with something like this maybe - Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
Thank you!!!!!!!!
Very very very close to what I had in my head! The rest I can do simple enough! |
| All times are GMT +1. The time now is 02:51 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.