on the process of progress
Essential understanding: In php str_replace and preg_replace do function similarly yet if you want exact matches you have to specify your regexp pattern with serious prejudice lest you match ANY and ALL partial or exact string matches and fubar your sweet logic with redundant nasties. I consider knowing this progress.
Next up is understanding the hows and whys of stringing methods in ruby... Feet don't fail me now!
imagemap rollovers with area shape="poly\
dilemma: an image map with irregularly shaped link areas that need to have a separate hover state for each link/area.
solution: javascript, css classes and advantageous id/class naming.
stats: 5 files = 2 gifs; 1 css; 1 js; 1 html
Using part sliding doors and part unobtrusive javascript I ground out some simple code to do the business of making an image map with link hover states.
*view example*
(opens new window)
get the code
First things first: Let the *DOM* be your guide.