1<?xml version="1.0" encoding="UTF-8"?> 2 3<!--*********************************************************** 4 * 5 * Licensed to the Apache Software Foundation (ASF) under one 6 * or more contributor license agreements. See the NOTICE file 7 * distributed with this work for additional information 8 * regarding copyright ownership. The ASF licenses this file 9 * to you under the Apache License, Version 2.0 (the 10 * "License"); you may not use this file except in compliance 11 * with the License. You may obtain a copy of the License at 12 * 13 * http://www.apache.org/licenses/LICENSE-2.0 14 * 15 * Unless required by applicable law or agreed to in writing, 16 * software distributed under the License is distributed on an 17 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 18 * KIND, either express or implied. See the License for the 19 * specific language governing permissions and limitations 20 * under the License. 21 * 22 ***********************************************************--> 23 24<helpdocument version="1.0"> 25<meta> 26<topic id="textsharedguideimagemapxhp" indexer="include" status="PUBLISH"> 27<title xml-lang="en-US" id="tit">Adding Clickable Hotspots to Images</title> 28<filename>/text/shared/guide/imagemap.xhp</filename> 29</topic> 30</meta> 31<body> 32<bookmark xml-lang="en-US" branch="index" id="bm_id3150502"> 33<bookmark_value>ImageMap; editor</bookmark_value> 34<bookmark_value>editors; ImageMap editor</bookmark_value> 35<bookmark_value>images; ImageMap</bookmark_value> 36<bookmark_value>pictures; ImageMap</bookmark_value> 37<bookmark_value>hotspots;adding to images</bookmark_value> 38<bookmark_value>URL;in pictures</bookmark_value> 39</bookmark><comment>mw added 2 index entries</comment><comment>MW made "hotspots" a two level entry</comment> 40<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> 41</variable></paragraph> 42<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> 43<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> 44<paragraph xml-lang="en-US" id="par_idN10677" role="heading" level="2" l10n="NEW">To add a clickable hotspot to an image</paragraph> 45<list type="ordered"> 46<listitem> 47<paragraph xml-lang="en-US" id="par_idN1067E" role="paragraph" l10n="NEW">Position the cursor where you want the ImageMap in your document.</paragraph> 48</listitem> 49<listitem> 50<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> 51</listitem> 52<listitem> 53<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> 54</listitem> 55<listitem> 56<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> 57<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> 58</listitem> 59<listitem> 60<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> 61</listitem> 62<listitem> 63<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> 64</listitem> 65<listitem> 66<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> 67</listitem> 68<listitem> 69<paragraph xml-lang="en-US" id="par_idN106B7" role="paragraph" l10n="NEW">Save the document in the %PRODUCTNAME or HTML format.</paragraph> 70</listitem> 71</list> 72<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> 73<embed href="text/shared/00/00000002.xhp#imagemap"/> 74<embed href="text/shared/00/00000002.xhp#ss_imagemaps"/> 75<embed href="text/shared/00/00000002.xhp#cs_imagemaps"/> 76</body> 77</helpdocument> 78