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