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