<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body><preamble xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><figure xmlns="http://www.w3.org/1999/xhtml" class="important"><p><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="6" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[6]</anchor-end> 本項で紹介する <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 1980</anchor> は <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 2854</anchor> によって廃止されました。
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 1980</anchor> で定義された機能は、 <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">HTML4</anchor>、<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">HTML5</anchor> を経て現在では
<anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">HTML Standard</anchor> によって定義されています。</p></figure><p xmlns="http://www.w3.org/1999/xhtml"><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="1" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[1]</anchor-end> rfc-index によればこの RFC の状態は HISTRIC です。</p><p xmlns="http://www.w3.org/1999/xhtml"><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="3" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[3]</anchor-end> この RFC は <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFC 2854</anchor> により廃止されました。</p><refs><ul xmlns="http://www.w3.org/1999/xhtml"><li><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="4" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[4]</anchor-end> <cite xml:lang="en">RFC 1980 - A Proposed Extension to HTML : Client-Side Image Maps</cite> (<code>2007-01-14 02:07:02 +09:00</code> 版) <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="https://tools.ietf.org/html/rfc1980">https://tools.ietf.org/html/rfc1980</anchor-external></li></ul></refs></preamble><p><strong>A Proposed Extension to HTML : Client-Side Image Maps <ins>HTML の拡張の提案: <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="client"></replace>側<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace></ins></strong><ul><li>Network Working Group                                         </li><li>Request for Comments: 1980                                </li><li>Category: Informational                                      </li><li>J. Seidman</li><li>Spyglass, Inc.</li><li>August 1996        </li></ul></p><section><h1>Status of this Memo</h1><blockquote><p>This memo provides information for the Internet community.  This memo
does not specify an Internet standard of any kind.  Distribution of
this memo is unlimited.</p></blockquote></section><section><h1>Abstract</h1><blockquote><p>The markup language known as &quot;HTML/2.0&quot; provides for image maps.
Image maps are document elements which allow clicking different areas
of an image to reference different network resources, as specified by
Uniform Identifier (URIs).  The image map capability in HTML/2.0 is
limited in several ways, such as the restriction that it only works
with documents served via the &quot;HTTP&quot; protocol, and the lack of a
viable fallback for users of text-only browsers.  This document
specifies an extension to the HTML language, referred to as &quot;Client-
Side Image Maps,&quot; which resolves these limitations.</p></blockquote><p>「HTML/2.0」という<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="markup"></replace>言語は<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>を提供します。
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>は画像の異なる領域を<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="clickする"></replace>ことで、統一識別子
(URI) で指定された異なるネットワーク資源を参照することを可能にする文書要素です。
HTML/2.0 の<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>能力はいくつかの方法に限られていて、
「HTTP」<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="protocol"></replace>を通して供給された文書においてのみ機能するという制限や、<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="text"></replace>のみの<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>の利用者には使用できないという問題があります。
この文書は、こうした制限を解決する、「<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="client"></replace>側<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>という
HTML 言語への拡張を規定します。</p></section><section><h1>Table of Contents</h1><ol><li>Introduction ...............................................  1<ol><li>Purpose ...............................................  1</li><li>Overall Operation .....................................  2</li></ol></li><li>Client-Side Image Map Extension ............................  2<ol><li>Syntax ................................................  2</li><li>Required Changes to HTML/2.0 DTD ......................  4</li><li>Backwards Compatibility ...............................  5</li><li>Examples ..............................................  5</li></ol></li><li>Security Considerations ....................................  6</li><li>References .................................................  6</li><li>Author's Address ...........................................  7</li></ol></section><section><h1>1. Introduction</h1><section><h1>1.1  Purpose</h1><blockquote><p>Image maps are an important feature of the point-and-click interface
which makes the World Wide Web so popular. The most common use of
image maps is to allow users to access different documents by
clicking different areas in an image.
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>は、 World Wide Web 
の人気の<ruby>理由<rt>わけ</rt></ruby>である<rubyb xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">指して押す<rt xmlns="http://www.w3.org/1999/xhtml">point-and-click</rt></rubyb><replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="interface"></replace>の重要な機能の1つです。
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>の一番よくある使い方は、利用者が画像の異なる部分を<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="clickする"></replace>ことで異なる文書に接続させるというものです。</p></blockquote><blockquote><p>There are several limitations of the current image map implementation
as it applies to this use. First, it only works over the HTTP
protocol, making it unusable for reading local files or files
accessed via alternate protocols. Second, a server transaction is
required merely to determine where the link is directed. This can
degrade performance noticeably when accessing distant sites. Third,
unlike for normal links, there is no way for a browser to provide
visual feedback to the user showing where a portion of an image map
leads before the user actually clicks it. Lastly, the method for
specifying the active regions of image maps is server-dependent,
compromising portability of documents.  This extension to support
client-side image maps addresses these issues.</p></blockquote><p>この用途に使われる時に、現在の<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>の実装には幾つかの制限があります。
一つ目は、 HTTP <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="protocol"></replace>上でしか機能せず、<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="local"></replace>な<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="file"></replace>や代替<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="protocol"></replace>を通して接続した<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="file"></replace>を読む時には使用できない点です。
二つ目は、単に<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="link"></replace>先を決定するためだけにサーバーと通信が必要な点です。
遠隔<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="site"></replace>に接続する時に特に目立って効率が落ちます。
三つ目は、通常の<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="link"></replace>とは異なり、利用者が実際に<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>の部分を<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="clickする"></replace>前に、これがどこへ誘導するのかを<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>が利用者に視覚的に知らせる方法が無いことです。
最後は、<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>の活性域を指定する方法がサーバー依存な点で、文書の可搬性を低下させます。
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="client"></replace>側<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>に対応するこの拡張は、これらの問題に触れます。</p><blockquote><p>It is proposed that this extension be included in a future revision
of the HTML specification.</p></blockquote><p>この拡張を将来の版の HTML 仕様書に取り入れることを提案します。</p></section><section><h1>1.2  Overall Operation <ins>概観</ins></h1><blockquote><p>Client-side image maps work by placing a complete representation of
the active areas of an image, including their shape, size, and
destination (URI), into an SGML-compliant textual form.  This markup
may also optionally include a textual description for each area for
display on non-textual browsers.  This representation, or &quot;map,&quot; is
given a name to identify it.
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="client"></replace>側<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>は、画像の活性域の完全な表現を、その形,
大きさ, 終点 (URI) を含めて SGML に適合する文字列形式で配置することで機能します。
この<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="markup"></replace>は、非文章的な<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>で表示される各領域の文章的な説明も含めることが出来ます。
この表現, すなわち<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>には、これを識別する名前を与えます。</p></blockquote><blockquote><p>When an image is included in an HTML document, it may include an
attribute specifying a map to use.  The map may be contained in the
same file which references the image, but this it not required.  If
the map is in a different file, a URI to that file must be provided.</p></blockquote><p>画像が HTML 文書中に含まれている時、使用する<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>を指定する属性を含めることが出来ます。
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>は画像を参照しているのと同じ<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="file"></replace>に含まれていても構いませんが、必須ではありません。
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>が異なる<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="file"></replace>にある場合、その_&amp;&amp;file&amp;&amp;__の URI
を指定しなければなりません。</p><blockquote><p>The browser will parse the map and remember the contents.  When the
user clicks the map, the browser will match up the location with the
specified destination for that location and access that URI.  In the
case of a non-graphical browser, the browser could display the
textual descriptions for each area instead of the image.  Clicking a
given textual description would then go to the associated destination.
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>は<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>を解析し、内容を覚えます。
利用者が<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>を<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="clickした"></replace>時、<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>はその場所と一致する指定された終点を探し、その
URI に接続します。
非図形的<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>の場合は、<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>は画像の代わりに文章的説明を表示することができます。
指定された文章的表現を<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="clickする"></replace>ことで、関連付けられた終点に行くことが出来ます。</p></blockquote></section></section><section><h1>2. Client-Side Image Map Extension</h1><section><h1>2.1 Syntax</h1><blockquote><p>Adding a USEMAP attribute to an IMG element indicates that it is a
client-side image map.  The USEMAP attribute can be used with the
ISMAP attribute to indicate that the image can be processed as either
a client-side or server-side image map.  The argument to USEMAP
specifies which map to use with the image, by specifying the URI for
the file containing the map, followed by a '#', followed by the name
of the map.  If the argument to USEMAP starts with a '#', the map is
assumed to be in the same document as the IMG tag.  The presence of a
USEMAP attribute overrides the effect of an enclosing anchor (A) element.</p></blockquote><p><code class="HTML">USEMAP</code> 属性を <code class="HTML">IMG</code> 
要素に追加することで、それが<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="client"></replace>側<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>であることを示します。
<code class="HTML">USEMAP</code> 属性は <code class="HTML">ISMAP</code> 
属性と一緒に使って、<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="client"></replace>側<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>としてもサーバー側<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>としても使えることを示すことも出来ます。
<code class="HTML">USEMAP</code> の引数 <ins>(訳注: 属性値のこと。)</ins>
にはその画像に対して使用する<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>を、その<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>を含む<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="file"></replace>の
URI に「#」及び<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>の名前を続ける形で指定します。
<code class="HTML">USEMAP</code> の引数が「#」で始まる場合、<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>はその
<code class="HTML">IMG</code> <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="tag"></replace>があるのと同じ文書にあるとみなします。
<code class="HTML">USEMAP</code> 属性が出現したら、これを囲んでいる<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="anchor"></replace>
(<code class="HTML">A</code>) <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="element"></replace>の効果を上書きします。</p><blockquote><p>The different regions of the image are described using a MAP element.
The map describes each region in the image and indicates where it
links to. The basic format for the MAP element is as follows:</p></blockquote><p>画像の異なる範囲は <code class="HTML">MAP</code> <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="element"></replace>を使って記述します。
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>はその画像中の各範囲を記述子、その<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="link"></replace>先を示します。
<code class="HTML">MAP</code> <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="element"></replace>の基本的な書式は次の通りです。</p><pre>   &lt;MAP NAME=&quot;name&quot;&gt;
   &lt;AREA [SHAPE=&quot;shape&quot;] COORDS=&quot;x,y,...&quot; [HREF=&quot;reference&quot;]
         [NOHREF] [ALT=&quot;alt&quot;]&gt;
   &lt;/MAP&gt;</pre><blockquote><p>The NAME attribute specifies the name of the map so that it can be
referenced by an IMG element.  Each AREA element contained inside the
map element specifies a single clickable area of the image.  The
SHAPE attribute gives the shape of this area.  Possible shapes are
&quot;RECT&quot;, &quot;CIRCLE&quot;, and &quot;POLYGON&quot;, which specify rectangular, circular,
and polygonal regions respectively.  If the SHAPE tag is omitted,
SHAPE=&quot;RECT&quot; is assumed.</p></blockquote><p><code class="HTML">NAME</code> 属性は<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>の名前を指定し、 
<code class="HTML">IMG</code> <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="element"></replace>から参照可能にします。
各 <code class="HTML">AREA</code> 
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="element"></replace>は<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace><replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="element"></replace>の内側に含めて、画像の単一の<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="clickable"></replace>領域を指定します。
取り得る<rubyb xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">図形<rt xmlns="http://www.w3.org/1999/xhtml">shape</rt></rubyb>は <code class="HTML">&quot;RECT&quot;</code>, 
<code class="HTML">&quot;CIRCLE&quot;</code>, <code class="HTML">&quot;POLYGON&quot;</code> 
で、それぞれ長方形, 円, 多角形の範囲を表します。
<code class="HTML">SHAPE</code> <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="tag"></replace> <ins>(訳注: 属性のこと。)</ins>
が省略されていた場合、 <code class="HTML">SHAPE=&quot;RECT&quot;</code> とみなします。</p><blockquote><p>The COORDS tag describes the position of an area, using image pixels
as the units with the origin at the upper-left corner of the image.
For a rectangle, the coordinates are given as
&quot;left,top,right,bottom&quot;.  The rectangular region defined includes the
lower-right corner specified, i.e. to specify the entire area of a
100x100 image, the coordinates would be &quot;0,0,99,99&quot;.</p></blockquote><p><code class="HTML">COORDS</code> (座標) 
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="tag"></replace>は領域の位置を、画像の左上の角を原点とする<ruby>画素<rt>ピクセ</rt></ruby>単位で指定します。
長方形については、座標は <code class="HTML">&quot;left,top,right,bottom&quot;</code>
の形で指定します。定義した長方形範囲は指定した右下の角を含みます。
例えば 100×100 の画像全体の領域を指定するには、座標は
<code class="HTML">&quot;0,0,99,99&quot;</code> とします。</p><blockquote><p>For a circular region, the coordinates are given as
&quot;center_x,center_y,radius&quot;, specifying the center and radius of the
circle.  All points up to and including those at a distance of
&quot;radius&quot; points from the center are included.  For example, the
coordinates &quot;4,4,2&quot; would specify a circle which included the
coordinates (2,4) (6,4) (4,2) and (4,6).</p></blockquote><p>円範囲については、座標は <code class="HTML">&quot;中心_x,中心_y,半径&quot;</code>
の形で円の中心と半径を指定します。
中心から「<var>半径</var>」の距離以下 (丁度半径の距離を含む。)
の全ての点が含まれます。例えば、座標が <code class="HTML">&quot;4,4,2&quot;</code>
の場合、座標 (2,4) (6,4) (4,2) 及び (4,6) を含みます。</p><blockquote><p>For a polygonal region, the coordinates specify successive vertices
of the region in the format &quot;x1,y1,x2,y2,...,xn,yn&quot;.  If the first
and last coordinates are not the same then a segment is inferred to
close the polygon.  The region includes the boundary lines of the
polygon.  For example, &quot;20,20,30,40,10,40&quot; would specify a triangle
with vertices at (20,20) (30,40) and (10,40).  No explicit limit is
placed on the number of vertices, but a practical limit is imposed by
the fact that HTML limits an attribute value to 1024 characters.</p></blockquote><p>多角形範囲については、座標には範囲の頂点を順に
<code class="HTML">&quot;x1,y1,x2,y2,...,xn,yn&quot;</code> の形式で指定します。
最初と最後の座標が同じでない場合、多角形を閉じる線分があるとします。
例えば、 <code class="HTML">&quot;20,20,30,40,10,40&quot;</code> は
(20,20) (30,40) 及び (10,40) を頂点とする三角形を指定します。
頂点の数には陽に制限はありませんが、実際には HTML
が属性値を1024文字に制限しているために限りがあります。</p><blockquote><p>The NOHREF attribute indicates that clicks in this region should
perform no action.  An HREF attribute specifies where a click in that
area should lead.  A relative anchor specification will be expanded
using the URI of the map description as a base, rather than using the
URI of the document from which the map description is referenced. If
a BASE tag is present in the document containing the map description,
that URI will be used as the base.</p></blockquote><p><code class="HTML">NOHREF</code> 属性は、その範囲での<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="click"></replace>が何も動作を起こさないことを示します。
<code class="HTML">HREF</code> 属性は、その領域での<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="click"></replace>が誘導する場所を指定します。
相対<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="anchor"></replace>は、<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>の記述を参照している文書の URI
ではなく、<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>が記述されている URI
を基底として展開します。<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>の記述を含む文書に
<code class="HTML">BASE</code> <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="tag"></replace>がある場合、この URI
が基底として使われます。</p><blockquote><p>An arbitrary number of AREA tags may be specified.  If two areas
intersect, the one which appears first in the map definition takes
precedence in the overlapping region.  Multiple areas may share the
same destination to create composite shapes.  Any portion of an image
which is not described by an AREA tag defaults to having no action.</p></blockquote><p>任意の数の <code class="HTML">AREA</code> <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="tag"></replace>を指定することが出来ます。
2つの領域が交わる場合、最初に<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>定義に現れた方を重複範囲では優先して扱います。
合成図形を作るために複数の領域が同じ終点を指すようにしても構いません。
<code class="HTML">AREA</code> <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="tag"></replace>が指定されていない画像の全ての部分は、無動作を既定とします。</p><blockquote><p>The ALT attribute specifies optional text which describes a given
area.  A text-only browser can display the textual contents for each
area as a substitute for the image.</p></blockquote><p>省略可能な <code class="HTML">ALT</code> 属性には、当該領域を説明する<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="text"></replace>を指定します。
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="text"></replace>のみの<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>は画像の代わりに各領域の文章的内容を表示できます。</p></section><section><h1>2.2  Required Changes to HTML/2.0 DTD</h1><blockquote><p>The required changes to the HTML/2.0 DTD to support this syntax would
be as follows:</p></blockquote><p>この構文に対応するために HTML/2.0 DTD に次の変更が必要です。</p><p><code class="HTML">IMG</code> <replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="elemnt"></replace>の定義の変更:</p><pre>  Change the IMG element definition to be:
    &lt;!ELEMENT IMG    - O EMPTY&gt;
    &lt;!ATTLIST IMG
            SRC CDATA #REQUIRED
            ALT CDATA #IMPLIED
            ALIGN (top|middle|bottom) #IMPLIED
            ISMAP (ISMAP) #IMPLIED
            USEMAP %URI; #IMPLIED
            %SDAPREF; &quot;&lt;Fig&gt;&lt;?SDATrans Img: #AttList&gt;#AttVal(Alt)&lt;/Fig&gt;&quot;
    &gt;</pre><p>新しい定義の追加:</p><pre>  Add the following new definitions:
    &lt;!ELEMENT MAP    - - +(AREA)&gt;
    &lt;!ATTLIST MAP
            NAME %linkName; #REQUIRED
    &gt;</pre><pre>    &lt;!ELEMENT AREA   - O EMPTY&gt;
    &lt;!ATTLIST AREA
            SHAPE (RECT|CIRCLE|POLYGON) RECT #IMPLIED
            COORDS CDATA #REQUIRED
            HREF %URI; #IMPLIED
            NOHREF (NOHREF) #IMPLIED
            ALT CDATA #IMPLIED
    &gt;</pre></section><section><h1>2.3  Backwards Compatibility</h1><blockquote><p>This extension is specifically designed to provide a variety of
fallback options for browsers which do not support it.  These options
are based on the assumption that browsers will ignore any attributes
or elements which are not present in the HTML/2.0 DTD.</p></blockquote><p>この拡張は、これに対応しない<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>に対する種々の代替選択肢を提供するように特に設計しています。
そのような選択子は、<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>が HTML/2.0 DTD
に現れない属性や<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="element"></replace>を無視するという仮定に基づいています。</p><blockquote><p>An document can be written so that a client-side image map can have
three different fallback behaviors.  First, the document can use the
server-side image map capability, by specifying the ISMAP attribute
as well as USEMAP.  In situations where this is possible, the image
map will work whether or not the browser supports the client-side extension.
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="client"></replace>側<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>は3つの異なった代替動作を行えるように書くことが出来ます。
一番目に、 <code class="HTML">ISMAP</code> 属性を <code class="HTML">USEMAP</code>
属性と併用することで文書はサーバー側<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>能力を使うことがd慶増。
これが可能な場面では、<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>は<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="client"></replace>側拡張に対応した<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>でもそうでない<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>でも動作します。</p></blockquote><blockquote><p>Second, clicking the image can direct the user to a single URI,
regardless of where on the image he clicks.  This is accomplished by
placing the image inside an anchor (A) element.  The fallback
destination could provide the user with an error or a textual list of
destinations.</p></blockquote><p>二番目に、画像を<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="clickする"></replace>ことで、画像のどこを<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="clickした"></replace>かに関わらず利用者を単一の
URI に誘導できます。これは画像を<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="anchor"></replace> (<code class="HTML">A</code>)
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="element"></replace>の内側に配置することで実現できます。
代替の終点では利用者にエラーを返すか又は終点の文章による一覧を提供するかできます。</p><blockquote><p>Lastly, the image can appear to not be a link at all (i.e. missing
whatever visual cues a browser provides to indicate a hyperlink).
This will be the result if the image element neither contains an
ISMAP attribute nor is inside an anchor.</p></blockquote><p>最後に、画像を全く<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="link"></replace>と見せない
(つまり、<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>が<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="hyperlink"></replace>であることを示す視覚的な目印を無くす)
ことが出来ます。これは、画像<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="element"></replace>が <code class="HTML">ISMAP</code>
属性を持たないし<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="anchor"></replace>の内側にもない場合になります。</p></section><section><h1>2.4  Examples</h1><blockquote><p>The following three examples show markup demonstrating the three
fallback mechanisms described in section 2.3:</p></blockquote><p>次の3つの例は、2.3節で説明した3つの代替機構の<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="markup"></replace>例を示します。</p><p>この<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>はどの図形的<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace>でも機能します:</p><pre>      This image map will work with any graphical browser:
      &lt;A HREF=&quot;/cgi-bin/imagemap/pic1&quot;&gt;
      &lt;IMG SRC=&quot;pic1.jpg&quot; USEMAP=&quot;maps.html#map1&quot; ISMAP&gt;&lt;/A&gt;</pre><replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="client"></replace><p>側<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>に対応していない時にここを<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="clickする"></replace>とエラー・メッセージの頁に行きます:</p><pre>      Clicking here will take you to a page with an error message if
      you don't have client-side image map support:
      &lt;A HREF=&quot;no_csim.html&quot;&gt;
      &lt;IMG SRC=&quot;pic2.jpg&quot; USEMAP=&quot;maps.html#map2&quot;&gt;&lt;/A&gt;</pre><replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="browser"></replace><p>が<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="client"></replace>側<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>に対応している時のみここを<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="clickする"></replace>ことが出来ます:</p><pre>      You can only click here if your browser supports client-side
      image maps: &lt;IMG SRC=&quot;pic3.jpg&quot; USEMAP=&quot;maps.html#map3&quot;&gt;</pre><blockquote><p>The following example shows the use of a map in the same file as the image:</p></blockquote><p>次の例は同じ<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="file"></replace>にある<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>の使用を示しています:</p><pre>      &lt;IMG SRC=&quot;picture.jpg&quot; USEMAP=&quot;#mymap&quot;&gt;</pre><blockquote><p>The following example defines a simple map which describes an image
with a circle in the middle overlapping two large rectangles:</p></blockquote><p>次の例は、2つの大きな長方形と重なっている円が中央にある単純な<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="(image)map"></replace>の定義です。</p><pre>      &lt;MAP NAME=&quot;welcomemap&quot;&gt;
      &lt;AREA SHAPE=CIRCLE COORDS=&quot;50,50,40&quot; HREF=&quot;about_us.html&quot;
            ALT=&quot;About our company&quot;&gt;
      &lt;AREA SHAPE=RECT COORDS=&quot;0,0,100,50&quot; HREF=&quot;products.html&quot;
            ALT=&quot;Our products&quot;&gt;
      &lt;AREA SHAPE=RECT COORDS=&quot;0,51,100,100 HREF=&quot;technology.html&quot;
            ALT=&quot;Technology for the next century&quot;&gt;
      &lt;/MAP&gt;</pre></section></section><section><h1>3. Security Considerations</h1><blockquote><p>Clicking a portion of a client-side image map may cause a URI to be
dereferenced.  In this case, the security considerations related to
URLs [5] apply.
<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="client"></replace>側<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="image map"></replace>の部分を<replace xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" by="clickする"></replace>ことで、
URI が dereference されることになるかもしれません。
この場合、 URL に関連する安全性についての考察が適用されます。</p></blockquote></section><section><h1>4. References</h1><pre>   [1] Berners-Lee, T., and D. Connolly, &quot;HyperText Markup Language
       Specification - 2.0&quot;, RFC 1866, November 1995.</pre><pre>   [2] Seidman, J., &quot;An HTML Extension to Support Client-Side Image
       Maps&quot;, The Second Internation WWW Conference '94 Advance
       Proceedings, pp 927-930.</pre><pre>   [3] &quot;Standard Generalized Markup Language&quot;  ISO Standard 8879:1986
       Information Processing Text and Office Systems.</pre><pre>   [4] Berners-Lee, T., Fielding, R., and H. Frystyk Nielsen,
       &quot;Hypertext Transfer Protocol -- HTTP/1.0&quot;, Work in
       Progress.</pre><pre>   [5] Berners-Lee, T., Masinter, L., and M. McCahill, &quot;Uniform
       Resource Locators (URL)&quot;, RFC 1738, December 1994.</pre></section><section><h1>5. Author's Address</h1><p>James L. Seidman
Senior Software Engineer
Spyglass, Inc.
1230 East Diehl Road
Naperville, IL 60563</p><p>EMail: jim@spyglass.com</p></section><section><h1>License</h1><p><anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">RFCのライセンス</anchor></p></section><section><h1>メモ</h1><postamble xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:"><p xmlns="http://www.w3.org/1999/xhtml"><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="2" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[2]</anchor-end> この <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">map</anchor>, <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">area</anchor> 両要素及び <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">usemap</anchor> 属性はほぼそのまま <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">W3C</anchor> <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">HTML</anchor> 3.2 及び <anchor xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:">HTML4</anchor> に取り入れられました。</p><p xmlns="http://www.w3.org/1999/xhtml"><anchor-end xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:anchor="5" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:">[5]</anchor-end>
<cite xml:lang="en">draft-ietf-html-clientsideimagemap-01 - A Proposed Extension to HTML : Client-Side Image Maps</cite> (<code>2007-01-09 12:21:00 +09:00</code> 版) <anchor-external xmlns="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resScheme="URI" xmlns:a0="urn:x-suika-fam-cx:markup:suikawiki:0:9:" a0:resParameter="http://tools.ietf.org/html/draft-ietf-html-clientsideimagemap-01">http://tools.ietf.org/html/draft-ietf-html-clientsideimagemap-01</anchor-external></p></postamble></section></body></html>