File: shape.map

package info (click to toggle)
wn 2.0.5-3
  • links: PTS
  • area: main
  • in suites: slink
  • size: 2,208 kB
  • ctags: 1,499
  • sloc: ansic: 14,439; sh: 2,430; perl: 1,360; makefile: 291
file content (32 lines) | stat: -rw-r--r-- 1,156 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
##############################################################
# Sample image map file for the WN server
##############################################################

# In this example all the URL's refer to the file shape.html
# with a different "query" (the stuff after the ?).  Then WN's
# conditional text gives a different response for each
# request.  In real life each of the URL's would probably
# refer to a different document.

##############################################################

# This is the default URL used if none of the others are matched.
default   shape.html?background

# Use this instead to have the client do nothing in the default case
#default  <null>

# This is the  URL returned to non-graphical browsers
nocoords  shape.html?nocoords


# A rectangle: the coordinates are upper left corner and lower right corner
rect      shape.html?rectangle  27,90 132,142


# Circle: the coordinates are the center and a point on the circle
circle    shape.html?circle     62,45 98,45


# Arbitrary polygon: The coordinates are the vertices
poly      shape.html?polygon    146,26 172,26 172,60 192,60 192,26 214,26 197,115 147,88