MAP as IMG

Clickable maps and vector images:
---------------------------------

Introduction
------------

Usemap vectors can not be displayed on the screen.
It becomes absurd when we are obliged to insert a (raster) gif image on the 
back of a usemap which is vectorial and represents exactly the same picture.

For example, if I want to draw an organigram consisting of boxes and lines, 
or even simple geographical maps, I use 2 versions of the same image, 1 as 
vectors (in usemap), 1 as background gif image, which takes a lot of place

I propose the following
-----------------------

-Allow a property of IMG to select a 'html' vector image (e.g. the usemap 
istelf) to be displayed on the screen as background image.


In the example given in the source HTMl32 document 
(http://www.w3.org/pub/WWW/TR/REC-html32.html#img), the following should be 
added:

<!ATTLIST IMG
        src     %URL     #REQUIRED  -- URL of image to embed --
                                    -- or URL of map to embed as background  
                                       image -- (in this case height and     
                                    width attributes are required for best   
                                   practice)

Example given for Map if the proposal is accepted:

<img src="#map1" border=0 usemap="#map1">


Colour properties for areas should be added:

<!ATTLIST AREA:
bgcolor 
     Specifies the background color for the area body.
link 
     Specifies the color used to stroke the area for unvisited hypertext links. 
vlink 
     Specifies the color used to stroke the area for visited hypertext links. 
alink 
     Specifies the highlight color used to stroke the area for hypertext 
links at the moment the user clicks on the link. 
background 
     Specifies a URL for an image that will be used to tile the document 
background. 
    >


References
----------

IMG - inline images:

http://www.w3.org/pub/WWW/TR/REC-html32.html#img

MAP and AREA:

http://www.w3.org/pub/WWW/TR/REC-html32.html#map


---------------------------------------------------------

Thanks for your comments or for taking this into account for further html 
versions.

Received on Thursday, 15 May 1997 08:28:52 UTC