
<%
Option Explicit
Session.CodePage=65001
Response.Charset="UTF-8"
Dim area, SQL
area = request.querystring("area")
if area="" then
SQL = "Click the Map, please."
else
SQL = "Select * from builders where (area = " & chr(34) & area & chr(34) & ")"
end if
%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="author" content="Roderick Divilbiss">
<meta name="copyright" content="© 2005-2010 Roderick Divilbiss">
<title>Image Map Alberta</title>
<style type="text/css">
<!--
#main {
width:600px;
margin-left:auto;
margin-right:auto;
}
-->
</style>
</head>
<body>
<map name="myImageMap">
<area href="albertaMap.asp?area=nw" alt="Click for the northwest region." shape="poly" coords="149, 11, 37, 4, 13, 278, 153, 279">
<area href="albertaMap.asp?area=ne" alt="Click for the northeast region." shape="poly" coords="149, 12, 153, 278, 283, 281, 267, 5">
<area href="albertaMap.asp?area=se" alt="Click for the southeast region." shape="poly" coords="153, 280, 152, 516, 298, 517, 285, 281">
<area href="albertaMap.asp?area=sw" alt="Click for the southwest region." shape="poly" coords="11, 280, 152, 282, 151, 516">
</map><img alt="An imagemap of Alberta, Canada" src="images/albert1.gif" width="300" usemap="#myImageMap">
</body>
</html>
Date Validation Using JavaScript .
Cross-Browser Clipboard Copy .
Loading Images With Remote Scripting .
Why JavaScript In Hyperlinks Is Bad .
Change The Submit Button To Show Waiting For AJAX Response .
European Date Validation Using JavaScript .
Database Results To Client Side Array .
Reading Files With JavaScript .
AJAX For Plain Text And HTML .