Interpretation of relative URL's in external USEMAPs?

I suppose there is nothing unclear here, but I would like to verify
which interpretation is the right one:

in document "http://thissite/path1/doc.html" I have
	...
	<img .... usemap="http://anothersite/path2/map.html#map" ...>
and map.html has
	...
	<area ... href="target.html" ..>
	...
then this area refers to
	http://anothersite/path2/target.html
and or
	http://thissite/path1/target.html
?

I can think situations for both interpretations to have useful
applications.

-------------------------------------------------------
The real application I have in mind is

	- I generate a map image dynamically with a /cgi-bin/map script,

	- I want this image to have active spots, and the only thing
	  that knows where they actually are, is the map generating
	  script,

	- thus, my idea is to call the script twice: once to generate
	  the image (image/gif), and another time with same parameters
	  + a request that returns an area map (text/html).

	- the use
		<img src="/cgi-bin/map?parameters"
		     usemap="/cgi-bin/map?parameters+A#map">

Of course, netscape 3.x doesn't work with external usemap, IE 3.0
seems to think the relative reference is for first document, not the
map... (of course, if it interpreted relative to map, it would need to
call the "/cgi-bin/target.html"...).

-- 
Markku Savela (msa@hemuli.tte.vtt.fi), Technical Research Centre of Finland
Multimedia Systems, P.O.Box 1203,FIN-02044 VTT,http://www.vtt.fi/tte/staff/msa/

Received on Tuesday, 30 September 1997 04:17:23 UTC