The code I pointed you at should be adaptable for that, except instead of having an "on" and "off" image object for each image you'd need one for each map area, eg "map_manchester", "map_stockport" (assuming a literal map!). Then reference it with "map_manchester.src".
Your "off" code would then be a lot simpler as you'd only have the one image to turn off...
Comments 5
Reply
Reply
Reply
The code I pointed you at should be adaptable for that, except instead of having an "on" and "off" image object for each image you'd need one for each map area, eg "map_manchester", "map_stockport" (assuming a literal map!). Then reference it with "map_manchester.src".
Your "off" code would then be a lot simpler as you'd only have the one image to turn off...
Reply
Reply
Leave a comment