The Gippy Pages


Long Live the Image Map!

Mar 16, 2007 | Code, Web Design & Development | By Shawn Parker

Why should the image map be ignored? Its understood by every major browser around and is perfectly suited to do what some people insist on doing in flash. This sample shows a simple North American map divided up into regions and the rollovers controlled by some very simple JavaScript code. JavaScript was lifted from some Macromedia code I found, nothing special, and could be rewritten using newer JS and CSS and take significantly less lines.

Region Map

Western United States - Hawaii Western United States Eastern United States Central United States Eastern Canada Central Canada Western Canada Western United States

Tagged as: html, image, javascript, map