leledumbo wrote on 2009-12-14 13:37:
I have image map with dynamic circle areas whose coordinates stored in
database. I'd like to colorize these areas so that it's obvious to see them.
Most solutions I found on the net highlights the area on mouse hover, while
my needs is to do it once when the window is loaded. Any idea?
I would say that you should do the following:
1. make a css class, that gives you the highlights you want.
2. put a div with position:absolute over the image where you want the
class to take effect
3. use a javascript to draw the circle in the div. If you look at for
instance the "nifty" and "niftycube" solutiona, they're working with an
inner and an outer color, so the outer should be transparent and the
inner you css class. And my guess is that this has already been made
before, so google for a javascript solution that fits your needs.
Happy hacking.
--
Kind regards
Kim Emax - masterminds.dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php