Categories:
.NET (357)
C (330)
C++ (183)
CSS (84)
DBA (2)
General (7)
HTML (4)
Java (574)
JavaScript (106)
JSP (66)
Oracle (114)
Perl (46)
Perl (1)
PHP (1)
PL/SQL (1)
RSS (51)
Software QA (13)
SQL Server (1)
Windows (1)
XHTML (173)
Other Resources:
What Is a Server-Side Image Map
What Is a Server-Side Image Map? - XHTML 1.0 Tutorials - Understanding Inline Images and Image Maps
✍: FYIcenter.com
A server-side image map is an image inside a hyper link. The image must be defined with the "ismap" attribute in the "img" element. When a server-side image map is clicked in a browser window, the mouse coordinates will be delivered to the server by them to the end of the URL of the link in the format of "?x,y".
Here is a tutorial example with a server-side image map:
<?xml version="1.0" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<title>Server-Side Image Map</title>
</head>
<body>
<h4>Inline Images</h4>
<p style="background-color: #eeeeee; padding: 8px;">
This is a server-side image map test.
<a href="http://localhost/mapping?var=val">Click this
image <img src="/moonrise.jpg"" alt="Moonrise"
width="69" height="91" ismap="ismap"/>
to see what happens.</a> Use browser back button to
come back.</p>
</body>
</html>
If you save the above document as server_image_map.html, and view it with
Internet Explorer, you will see an image in a hyper-link as shown below:

2007-05-12, 4904👍, 0💬
Popular Posts:
What is shadowing ? When two elements in a program have same name, one of them can hide and shadow t...
I am trying to assign a variable the value of 0123, but it keeps coming up with a different number, ...
How To Return Top 5 Rows? - MySQL FAQs - SQL SELECT Statements with JOIN and Subqueries If you want ...
Can two catch blocks be executed? No, once the proper catch section is executed the control goes fin...
If XML does not have closing tag will it work? No, every tag in XML which is opened should have a cl...