
<%
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 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>
Client Side Includes Using JavaScript
Creating A JavaScript Slider Input in JavaScript
Creating Conditional Links With ASP
Dynamically Adding Rows and Fields To A Table Based Form
Geo-Coding IP Addresses
How To Make A Pop Over Menu
JavaScript Date Validation DD/MM/YYYY
JavaScript Date Validation MM/DD/YYYY
Parameterized SQL Using Multiple Form Inputs and Filtering
Play A WAV File On Mouseover
Pop Over Form
Resorting A Multi-Dimensional Table Using Client-Side JavaScript
Scripting Remote Images in JavaScript
Using AJAX to Return HTML For Dynamic Forms
Using Images For CAPTCHA
Using Parameterized SQL with ASP and MS Access
Why JavaScript As The HREF Of A Link Is Bad