Personally I'd just make the images on photoshop the write the CSS manually.
This is what the site dose though (just read the source dude):
So say each of those items are hyperlinks in a list. That site has one image used as the background for the container of those hyperlinks. I grabbed that image and stuck it in imageshack here: http://yfrog.com/64menuadvp
If you've looked at the image you can probibly guess what happens, when you mouse over if changes the position of the background image. It dose this by changing the class
Code:
<a onmouseover="document.getElementById('dynmenu').className=' d-work'; " id="dynwork" href="http://www.toucouleur.fr/internet-marketing/">
//...CSS:
div#dynmenu.d-work{
background: url(elements/menu-adv.png) 0px 42px;
}
div#dynmenu.d-blog{
background: url(elements/menu-adv.png) 0px 0px;
}
div#dynmenu.d-contact{
background: url(elements/menu-adv.png) 0px 84px;
}
|