1<?xml version="1.0" encoding="UTF-8"?>
2<helpdocument version="1.0">
3
4<!--***********************************************************
5 *
6 * Licensed to the Apache Software Foundation (ASF) under one
7 * or more contributor license agreements.  See the NOTICE file
8 * distributed with this work for additional information
9 * regarding copyright ownership.  The ASF licenses this file
10 * to you under the Apache License, Version 2.0 (the
11 * "License"); you may not use this file except in compliance
12 * with the License.  You may obtain a copy of the License at
13 *
14 *   http://www.apache.org/licenses/LICENSE-2.0
15 *
16 * Unless required by applicable law or agreed to in writing,
17 * software distributed under the License is distributed on an
18 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
19 * KIND, either express or implied.  See the License for the
20 * specific language governing permissions and limitations
21 * under the License.
22 *
23 ***********************************************************-->
24
25
26
27
28<meta>
29      <topic id="textsharedguideimagemapxhp" indexer="include" status="PUBLISH">
30         <title xml-lang="en-US" id="tit">Adding Clickable Hotspots to Images</title>
31         <filename>/text/shared/guide/imagemap.xhp</filename>
32      </topic>
33   </meta>
34   <body>
35<bookmark xml-lang="en-US" branch="index" id="bm_id3150502"><bookmark_value>ImageMap; editor</bookmark_value>
36      <bookmark_value>editors; ImageMap editor</bookmark_value>
37      <bookmark_value>images; ImageMap</bookmark_value>
38      <bookmark_value>pictures; ImageMap</bookmark_value>
39      <bookmark_value>hotspots;adding to images</bookmark_value>
40      <bookmark_value>URL;in pictures</bookmark_value>
41</bookmark><comment>mw added 2 index entries</comment><comment>MW made "hotspots" a two level entry</comment>
42<paragraph xml-lang="en-US" id="par_idN10631" role="heading" level="1" l10n="NEW"><variable id="imagemap"><link href="text/shared/guide/imagemap.xhp">Adding Clickable Hotspots to Images</link>
43</variable></paragraph>
44  <paragraph xml-lang="en-US" id="par_idN1064F" role="paragraph" l10n="NEW">An ImageMap allows you to attach URLs to specific areas, called hotspots, on a picture in your document. An image map is a group of one or more hotspots.</paragraph>
45  <paragraph xml-lang="en-US" id="par_idN1066C" role="paragraph" l10n="NEW">You can draw three types of hotspots: rectangles, ellipses, and polygons. When you click a hotspot, the URL is opened in the browser window or frame that you specify. You can also specify the text that appears when your mouse rests on the hotspot.</paragraph>
46  <paragraph xml-lang="en-US" id="par_idN10677" role="heading" level="2" l10n="NEW">To add a clickable hotspot to an image</paragraph>
47  <list type="ordered">
48   <listitem>
49    <paragraph xml-lang="en-US" id="par_idN1067E" role="paragraph" l10n="NEW">Position the cursor where you want the ImageMap in your document.</paragraph>
50   </listitem>
51   <listitem>
52    <paragraph xml-lang="en-US" id="par_idN10682" role="paragraph" l10n="NEW">Choose <emph>Insert - Picture - From File</emph>, select and insert a bitmap picture.</paragraph>
53   </listitem>
54   <listitem>
55    <paragraph xml-lang="en-US" id="par_idN1068A" role="paragraph" l10n="NEW">With the picture selected, choose <emph>Edit - ImageMap</emph>. You see the <link href="text/shared/01/02220000.xhp">ImageMap Editor</link>, which displays the picture at the background.</paragraph>
56   </listitem>
57   <listitem>
58    <paragraph xml-lang="en-US" id="par_idN106A0" role="paragraph" l10n="NEW">Use the icons in the ImageMap Editor to draw a hotspot shape, for example a rectangle, over the image at the background.</paragraph>
59    <paragraph xml-lang="en-US" id="par_idN106A3" role="paragraph" l10n="NEW">You can see an extended help text on the functions of each icon when you enable Extended Help in <emph><switchinline select="sys"><caseinline select="MAC">%PRODUCTNAME - Preferences</caseinline><defaultinline>Tools - Options</defaultinline></switchinline> - %PRODUCTNAME - General</emph>.</paragraph>
60   </listitem>
61   <listitem>
62    <paragraph xml-lang="en-US" id="par_idN106AB" role="paragraph" l10n="NEW">Enter the "Address" URL that will be shown in a Web browser when the user clicks the hotspot.</paragraph>
63   </listitem>
64   <listitem>
65    <paragraph xml-lang="en-US" id="par_idN106AF" role="paragraph" l10n="NEW">Optionally, enter the "Text" that will be shown as a tip when the user points the mouse to the hotspot.</paragraph>
66   </listitem>
67   <listitem>
68    <paragraph xml-lang="en-US" id="par_idN106B3" role="paragraph" l10n="NEW">Click the Apply button to apply your changes, and close the ImageMap Editor.</paragraph>
69   </listitem>
70   <listitem>
71    <paragraph xml-lang="en-US" id="par_idN106B7" role="paragraph" l10n="NEW">Save the document in the %PRODUCTNAME or HTML format.</paragraph>
72   </listitem>
73  </list>
74  <paragraph xml-lang="en-US" id="par_idN106BA" role="paragraph" l10n="NEW">You may save the ImageMap as a file and upload that file to a Web server, for example.</paragraph>
75  <embed href="text/shared/00/00000002.xhp#imagemap"/>
76  <embed href="text/shared/00/00000002.xhp#ss_imagemaps"/>
77  <embed href="text/shared/00/00000002.xhp#cs_imagemaps"/>
78 </body>
79</helpdocument>
80