Adding A HREF or image map to an image puts 3px L/R padding on image
Hi all --
I'm having an interesting problem. I'm designing a web page that has a navigation banner (home - programs - schedule of events - contact us - downloads) that is made up of a .png for each page (i.e. home.png, programs.png, etc). My page is 1000px wide and all of the navigation banner's images add up to 1000px wide.
I'm using JavaScript to create an onMouseOver and onMouseOut effect on each of the images. The problem that I'm having occurs when I tried to add a link (either by <A HREF= or using an image map). Whenever I add a link to the image, a small (3px) area of white space shows up to the right of the image. This shifts all of my other images 3px to the right (and 3 more for each link I add to subsequent images) thus making the total width of the navigation banner over 1000px and the last image gets shoved to a new line.
I can find no way to get rid of this white space other than to remove the link from the image. There is no property on the page that adds any sort of padding, margins, or borders to images or links, so I can see no property that has to be changed.
Help! How do I get rid of this white space but still keep the link on the image??
[I've attached a screen shot showing a before/after of the images without/with links]
Thanks in advance!
//kl
First, how are you looking at it?
Internet Exploder frequently adds padding and space -- especially where there is white space in your code (so take that out for a start). Additionally, if you are using Microsoft's non-compliant browsers, you will note that many of them automagically adjust placement of objects and you have to write code specifically to stop that from happening.
<!--[if IE 5]>
<style type="text/css">
/* IE 5 does not use the standard box model, so the column widths are overidden to render the page correctly. */
#outerWrapper #contentWrapper #leftColumn1 {
width: 185px;
</style>
<![endif]-->
For Internet Exploiter 6, you literally may need to rewrite navigation:
<!--[if lte IE 6]>
<style type="text/css" media="all">
@import url("../ie6menu/content/menu_ie.css");
</style>
<![endif]-->
Now my menu has a special CSS stylesheet for that idiotic browser here:
ul#content {
background-image: url("../content_images/bg.jpg");
background-repeat: repeat-x;
cursor: default;
height: 30px;
list-style-type: none;
margin: 0 0 0 0;
padding: 0 0 0 0;
ul#content ul {
cursor: default;
font-size: 0;
list-style-type: none;
margin: 0 0 0 0;
padding: 0 0 0 0;
ul#content ul li {
background-image: none;
border-bottom: solid 1px black;
float: none;
margin-bottom: -1px;
ul#content li {
background-image: none;
border-bottom: solid 1px black;
float: left;
margin-bottom: -1px;
padding: 0 0 0 0;
position: relative;
white-space: nowrap;
z-index: 100;
ul#content li ul {
display: none;
top: 0;
ul#content li.hover ul {
display: block;
position: absolute;
ul#content li.current ul {
position: absolute;
ul#content li {
background-image: url("../content_images/center.jpg");
background-repeat: repeat-x;
ul#content li span {
background-image: url("../content_images/right.jpg");
background-position: right top;
background-repeat: no-repeat;
display: block;
ul#content li span a {
background-image: url("../content_images/left.jpg");
background-position: left top;
background-repeat: no-repeat;
color: #fff;
display: block;
font-family: "Trebuchet MS", Helvetica, sans-serif;
font-size: 10px;
font-style: normal;
font-weight: bold;
height: 20px;
margin: 0 0 0 0;
padding: 5px 5px 5px 5px;
text-align: center;
text-decoration: none;
text-transform: uppercase;
width: 100px;
ul#content li * a {
height: auto;
width: auto;
ul#content li span * a {
height: auto;
width: auto;
ul#content ul.level-1 {
left: 0px;
top: 100%;
ul#content ul.level-1 li {
background-image: none;
ul#content ul.level-1 li a {
background-color: #DA4D33;
background-image: none;
border-bottom: dotted 1px #E9E5F9;
border-left: solid 1px #E9E5F9;
border-right: solid 1px #656586;
color: #fff;
display: block;
font-family: "Trebuchet MS", Helvetica, sans-serif;
font-size: 10px;
font-style: normal;
font-weight: bold;
margin: 0 0 0 0;
padding: 5px 5px 5px 5px;
text-align: left;
text-decoration: none;
text-transform: uppercase;
width: 100px;
ul#content ul.level-1 li a.active {
background-color: #E9E5F9;
border-bottom: dotted 1px #DA4D33;
border-right: solid 1px #E9E5F9;
color: #332151;
font-weight: bold;
text-decoration: none;
ul#content ul.level-1 li * a {
height: auto;
width: auto;
ul#content ul.level-1 li span * a {
height: auto;
width: auto;
ul#content ul.level-1 li.hover a {
background-color: #E9E5F9;
border-bottom: dotted 1px #DA4D33;
border-right: solid 1px #E9E5F9;
color: #332151;
font-weight: bold;
text-decoration: none;
ul#content ul.level-1 li.current a.current {
background-color: #E9E5F9;
border-bottom: dotted 1px #DA4D33;
border-right: solid 1px #E9E5F9;
color: #332151;
font-weight: bold;
text-decoration: none;
ul#content ul.level-2 {
left: 112px;
ul#content ul.level-2 li {
background-image: none;
ul#content ul.level-1 ul.level-2 li a {
background-color: #DA4D33;
background-image: none;
border-bottom: dotted 1px #E9E5F9;
border-left: solid 1px #E9E5F9;
border-right: solid 1px #656586;
color: #fff;
display: block;
font-family: "Trebuchet MS", Helvetica, sans-serif;
font-size: 10px;
font-style: normal;
font-weight: bold;
margin: 0 0 0 0;
padding: 5px 5px 5px 5px;
text-align: left;
text-decoration: none;
text-transform: uppercase;
width: 100px;
ul#content ul.level-1 ul.level-2 li a.active {
background-color: #E9E5F9;
border-bottom: dotted 1px #DA4D33;
border-right: solid 1px #E9E5F9;
color: #332151;
font-weight: bold;
text-decoration: none;
ul#content ul.level-2 li * a {
height: auto;
width: auto;
ul#content ul.level-2 li span * a {
height: auto;
width: auto;
ul#content ul.level-1 ul.level-2 li.hover a {
background-color: #E9E5F9;
border-bottom: dotted 1px #DA4D33;
border-right: solid 1px #E9E5F9;
color: #332151;
font-weight: bold;
text-decoration: none;
ul#content ul.level-1 ul.level-2 li.current a.current {
background-color: #E9E5F9;
border-bottom: dotted 1px #DA4D33;
border-right: solid 1px #E9E5F9;
color: #332151;
font-weight: bold;
text-decoration: none;
Similar Messages
-
i. e. can I remove the blue outline glow in focus in the browser?
i. e. can I remove the blue outline glow in focus in the browser?
-
Image Map with rollover mouse effect
Hi,
I inserted a image map to portal and I'm facing following problem:
The image is a world map and I want the regions e.g. North America to be highlited if the mouse is over the region. I've already created the images for that and have uploaded them.
How can I reach my goal? Has anyone an idea?
Here's my image map so far:
<MAP NAME="mymap">
<area shape="poly" coords="9,31,10,43,8,56,24,49,41,66,45,102,63,127,86,136,69,105,85,105,150,35,156,11,136,5,100,17,78,25,62,31,8,26,10,29,10,29,3,20"
HREF="http://server:7778/portal/page?_pageid=553,68779&_dad=portal&_schema=PORTAL" target="_blank"
alt = "North America"
onmouseover="mymap.src='http://server:7778/pls/portal/docs/PAGE/PGR_BRS_PUR/TAB_STANDARD_INFO/TAB78030/WORLD_NA.BMP'">
</MAP>
Best Regards
Daniela<img src="/../..../img.gif" border="0" name="image" width="453" height="417" usemap="#imageMap">
<map name="imageMap">
<area shape="poly" coords="277,....."
href="/portal/page?_pageid=313,215796&_dad=portal&_schema=PORTAL" target="_top"
onMouseOver="document.images['image'].src='/..../....img_over.gif';"
onMouseOut="document.images['image'].src='/.../...img.gif';">
I use this in html pages that I integrate in portal trough URL pages (for easier updates management). But it should work directly in portal imagemap too.
Regards
Loko -
We've run into issues using client image maps in CFDocument.
We're able to render the image maps fine, and when we use a fixed
image size like 800x600, they work fine:
<img src="/express/cache/#imagename#" class="map"
usemap="##map1" border="1" width="800" height="600"/>
However, when we attempt to use percentages to get the image
to scale to the size of the whole page,
<img src="/express/cache/#imagename#" class="map"
usemap="##map1" border="1" width="100%" height="100%"/>
we get a ColdFusion error, as follows:
An exception occurred when performing document processing.
The cause of this exception was that:
coldfusion.document.spi.DocumentExportException:
java.lang.NumberFormatException: For input string: "100%".
Taking out the map reference makes this work as expected.
So, okay, the parser must be getting confused because it
doesn't know how to lay out the image map with the x% scaling.
We'll just use the exact size of the image to scale it to the size
we want... This is when we run into another issue: We can't seem to
accurately size images in CFDocument. When we set the image to
1024x768 (or something like that), the image renders at the exact
same size! (The underlying PNG is actually 2400 x 1800).
So, the questions are:
1) Is there any way to dynamically scale the image and use
image maps in CFDocument, or
2) How in the world does the image scaling work (in the black
box)?
We just want to have a full screen mapped image that we can
use as a TOC for our CFDocument.
Thanks!John,
the Robohelp built-in editor messes the code up, so I never
use it. However, not even Dreamweaver supports interactive effects
in image maps. I wanted the hot spots to hover like hyperlinks.
Seems to me much more convenient for the user.
quote:
I'm not sure what you are trying to do when you say "the area
tag cannot be formatted using CSS." What kind of formatting do you
want on a piece of an image?
Unfortunately, you cannot use the hover attribute in css for
the <area href> tag. That is, why you need a more complicated
solution for interactive hot spots in image maps.
My first solution had some flaws. Eventually, I found this
smart piece of Javascript:
http://www.netzgesta.de/mapper/
This really did the trick and works great. The script is free
of charge for non-commercial use only.
Mike -
How to export an image map as polygons?
Hoping someone can help with this as im having no luck with google.
I have a shape and in the attributes i have set the image map as polygon and put in a url
I export this in jpg format and it generates a jpg and html file. however, the HTML file is only showing rectangle.
<area shape="rect" coords="70,85,278,282" href="http://www.example.com">
I would have expected this choosing rectangle for the image map.
I am trying to export polygon coordinates.
Does any one know why this is not working and what i have missed?
Thanks in AdvanceThis was posted before and I tried it myself but when I exported the polygon shape image map it exported properly.
In the attributes you must choose polygon as the option it is not good enough just to have the shape a polygon.
Perhaps the problem might be connected to the document color space was the document the default CMYK or was it a we document from the start?
But what I always do is make a slice of the art or the artboard and save for the web as a jpeg and include the html.
You can check it out here http://mysite.verizon.net/wzphoto/Polygon.html
Here are the screen shots of what I did -
Can someone walk me through the process of creating image maps in portal? I know how to import an image. What I don't know is how to how to make that image an imagemap where I can click on different part of my image and view a report, file, folder or a url.
Hallo,
You have to create your imagemap in a HTML-Editor first.
Second step is, to add an image item to your folder. In the Upload Wizard you have first to upload the image from your filesystem, then you have to give your imagemap a name. This name must be the same as in the <map>-tag.
In the following textarea "Imagemap" you paste the HTML-Code of your imagemap. The rest of the options are clear at all.
Example:
<map name="bmvit">
<area alt="Federal Ministry of Transport, Innovation and Technology: Science and Technology policy activities" coords="266,63,315,82" href="http://www.bmvit.gv.at/">
<area alt="Technologies for sustainable development" coords="85,92,165,160" href="http://www.bmv.gv.at/tech/enuumw/index.htm">
<area alt="Intelligent transport systems and services" coords="172,92,252,160" href="http://www.bmv.gv.at/tech/wirtech/mobil.htm">
<area alt="IT-related activities" coords="259,92,339,161" href="http://www.bmv.gv.at/tech/infoges/index.htm">
<area alt="Patent office" coords="416,181,500,212" href="http://www.patent.bmwa.gv.at/">
<area alt="FWF" coords="63,225,161,306" href="http://www.fwf.ac.at">
<area alt="TIG" coords="166,224,264,306" href="http://www.tig.or.at/">
<area alt="FFF" coords="271,225,367,306" href="http://www.fff.co.at/">
<area alt="ITF" coords="374,224,472,306" href="http://www.fff.co.at/view.php?docid=50" >
</map> -
Images and image maps do not respond to events on Safari
Hello everyone,
We have been experiencing issues with events not responding to images associated with image maps, on Safari browser. After the DOM is loaded with new image and corresponding image maps, events such as mouseover and click observing this divs do not respond or get triggered. DOM seems to be updated correctly but behaves differently (and it works correctly in all other browsers except Safari).
This behaviour is only noticed in Safari browser running both on Windows and Mac. (Tested on Safari Version 3.1.1 on running on Windows and Mac)
For you all to have a closer look at this issue, I have created a sample that has this problem, similar to one we experienced during one of our recent projects. Please click on the link below to get to the sample (I recommend you to try this either in Firefox or IE before you do on Safari)
http://www.hivegroup.com/safari/test.html
(In the above sample,
- the javascript code initializes the DOM with image and image map
- assigns two event listeners to the div containing this image and image map
- when mouse pointer brought over the image, it shows the area id in the 'mobox' div
- when clicked, DOM is updated with a new image and new corresponding image map, assigns new event listeners and should continue with the same kinda behaviour it did for the first image (but doesn't in Safari browser))
All inputs on this issue are welcome and greatly appreciated.
Thanking you in advance.
Regards,
Shashi.Let me explain what the pink area is. Like the first image that contains two white boxes, the pink area (as you call it) is a new image (containing four pink areas or boxes having an area id denoted to each) that imgDiv occupies after the 'click' event occurs.
Yep, i gathered that from seeing it work on firefox...
The point that I'm trying to make here is, there shouldn't be any difference in behaviour when imgDiv holds first image (two white boxes) or the second image (four pink boxes) that you get after we click on image or the third image (containing 6 boxes, multiple colors) which you won't be able to reach in safari browser.
well... I can reach them, but only via the blue space.
. We'll notice change in the red box displaying target id only when we mouse over a new area that is not currently being displayed in the red box.
except in webkit for safari 2, where thered bpx content sticks at whatever it was when the first image was clicked, unless mouse is moved to the 'all area', and then it sticks on imgdiv.
I completely understand what you see in safari 2. But are you saying there's some error in my script ? If so could you please point out and justify.
I dunno Shashi, just pointing out the errors that Safari 2 reports when I view your test page, in the hope it might help. I know little of javascript -
Create PDF From Web Page Does Not Create Image Maps Properly
I have a website that contains image maps. When I "Create PDF From Web Page", these image maps are not rendered properly. From what I can tell, this is a BUG within Acrobat, and I'm hoping that people can confirm this for me.
I created a test page at http://www.quantumdynamix.net/clients/image-map-test/. I placed the images maps my manually coding the coordinate information, so the maps are PRECISELY placed exactly over the squares. Each image map navigates to an anchor corrisponding to the number on the red square.
When I created the PDF using the "Create PDF From Web Page" feature, the image maps are rendered improperly. This file can be viewed at http://www.quantumdynamix.net/clients/image-map-test/ImageMapTest.pdf. To view the outlines of the image maps, please select "Tools" -> "Advanced Editing" -> "Link Tool". You can see the outlines are substantially incorrect.
Please confirm that other can replicate this problem. Any solution to this issue would be very helpful!I tested this in Acrobat X and the exact same issue occurs
http://www.quantumdynamix.net/clients/image-map-test/ImageMapTest-AcrobatX.pdf
This has to be considered a legatimate bug, especially since IMAGE MAPS is listes as one of the supported HTML features via the help files -
How to use image maps in ADF 11g
Can somebody point me to code snippet for using image maps in JSF Page.
I just want to use image maps in my application..but i don't know how to use image maps in ADF.
-DeeptiHi chris,
My DataBase script is given in below
CREATE TABLE XXSR.SR_HIERARCHY
FORM_ID NUMBER,
FORM_NAME VARCHAR2(30 BYTE),
PARENT_FORM_ID NUMBER,
FORM_LOCATION VARCHAR2(1000 BYTE),
IMAGE_FILE ORDSYS.ORDIMAGE
I want to store the image in database from front end using ADF 11g
-Deepti
Edited by: 913387 on Feb 24, 2012 5:36 AM -
Hello, I have a problem with my Image Map. Here are my steps:
1.Create areas for the Image Map
2.Create the Image Map with areas
3.upload the image
4.create the OTH file
5.Enable rendering information option
6.Create KM navigation iView and its layout set mode as default
All references for directories and for my pic are OK but it doesn´t show any Image Map. I need help please!
Thank youHi,
You can follow this example:
In KM, image maps are used for a graphical depiction of folder contents. These objects are displayed using graphics instead of in their normal text form.
Step 1 Determine the image you want to use for navigating. This can be any JPG or GIF file. In this example I will reference the file world.gif.
Step 2 Configuring an image map. Take your image file world.gif and place it in the system. For our example place the file in the path: ../knowledgemanagement/etc/public/graphics. The subdirectory graphics was created within the public folder.
Step 3 In the documents folder, create the following folders:
World
Within the World folder, create the subfolders:
North America
South America
Europe
Asia
Note: you can create as many folders as you like. This structure will serve as the navigation structure for world.gif image map.
Step 4 Determine the navigation coordinates for the image world.gif. Any tool can be used, for this example the tool GeoHTML was used. It is a freeware tool that can be downloaded from http://www.fegi.ru/geohtml.
The following coordinates were determined for the folders:
North America: 253, 255, 303, 285
South America: 424, 171, 474,201
Europe: 368, 43, 418, 73
Asia: 276, 37, 326, 67
Step 5 Create new link-sensitive Areas for the image map. Menu path: Configuration -> Content Management -> User Interface -> Image Maps -> Areas
Please note, an area would need to be defined for each area on the image map that would be link-sensitive areas.
Step 6 Defining an Image Map. In this step the name of the image map will be defined as well as specifying the path of the image, the tooltip, and lastly assigning the areas.
Step 7 Configure an Object Type Handling (OTH) file for the image map. OTH files are located in the /oth subdirectory within the /etc repository. Copy an existing OTH file in this subdirectory and copy it to world.oth. In This OTH file, define the navigation path, collection renderer, layout controller, action and image map. The OTH file should look as follows:
<?xml version="1.0"?>
<ObjectTypeHandler Name="Image Map world"
Class="com.sapportals.wcm.service.objecttypehandler.GenericObjectTypeHandler">
<SelectionCriteria>
<Paths>
<Path>/documents/World</Path>
</Paths>
</SelectionCriteria>
<Properties>
<Property Key="rndCollectionRenderer" Value="ImageMapRenderer"/>
<Property Key="LayoutController" Value="DefaultLayoutController"/>
<Property Key="rndShowActions" Value="false"/>
<Property Key="rndMap" Value="MapOfWorld"/>
</Properties>
<Actions/>
</ObjectTypeHandler>
Step 8 Display the image map. For the navigation iView that is being used, ensure that the iView property Layout Set Mode is set to default.
Step 9 Reload the object type handler in order for the system to read the new oth file world.oth. This can be done by within the Rendering Information link in any navigation iView for a user that is specified in the Debugging Settings (this is done in the user interface configuration).
Another option to reloading the object type handler would be restarting the J2EE engine.
Step 10 In the navigation iView for this mage map, navigate to the image map. In this example, the menu path would be documents/World
Patricio.
ps: If you want I can send you complete example. -
How to embed an image map in email?
I couldn't find any help on this topic when I searched Fireworks and Dreamweaver.
I want to create an image map (either in Fireworks or in Dreamweaver) and then send it in an email. I've created image maps in older versions of Dreamweaver, and I've used slices in older versions of Fireworks. I just want different parts of the picture to take me to different URLs, but I haven't even been able to get close in my tests.
Any tips, please?
ChuckCreating HTML for email is a subject unto itself. Every major email client has different limitations. Before you try just copying an HTML page into an email, you should do some research into creating HTML emails. SitePoint has some articles:
http://www.sitepoint.com/article/code-html-email-newsletters/
http://www.sitepoint.com/article/designers-guide-html-email/
http://www.sitepoint.com/article/principles-beautiful-html-email/
One of the SitePoint articles links to two services: CampaignMonitor and MailChimp. CampaignMonitor does not recommend the use of image maps becasue of poor support by Gmail:
http://www.campaignmonitor.com/blog/post/2432/do-image-maps-work-in-html-ema/
MailChip recommends being careful with image placement simply because many clients will automatically block images when the mail is first loaded:
http://www.mailchimp.com/articles/stupid-html-email-design-mistakes/
Both sites have free templates you can download to use.
Good luck! -
I created an image map back in RoboHelp 6 and it worked perfectly. When I converted my project recently to RoboHelp 8, the image map pop-ups are not working correctly. I've checked the properties of the image map and they are correct. But the pop-up boxes do not display correctly. I'm going to attached an example of how the same one displays in RH6 and RH8 and a screen shot of my settings.
Can anyone help me with this?After much trial and error testing around this image map issue, I cannot seem to find a fix for image maps within RoboHelp 8. No matter what I've tried (and it was a lot), nothing seems to fix the image map problem. Even creating a new image map on a new page with totally different info, pop up pages, image, etc. and turning OFF all breadcrumbs - the image map does not display correctly once generated (nor in preview).
I have found a VERY TEDIOUS workaround for this (that I'm not happy about). If I take my original pop-up topic htm pages (9 of them) from my RoboHelp 6 project and the original eHlpDhtm.js file from RH6 and place them in my output Help file from RH8 (overwriting the RH8 with the RH6 files), then the image map works correctly.
The eHlpDhtm.js file has many more scripts in it than just the image map triggers, so I'm not sure what all else I'm affecting when I'm fixing one problem (i.e. not sure how many more problems I'm creating at the same time when fixing one problem.)
It's almost like the "breadcrumbs" feature in RH8 has broken the image maps feature in RH8.
I'm still up for more suggestions as how to fix this if anyone has any ideas. -
I have a simple page with only AP elements that works fine
with IE 7.0 and Firefox.
My menu is comprised of AP elements with an image and an
image map on it. Simple Show/Hide Elements and Swap Image
behaviours do the trick.
However, IE 6.0 users report this: They see the visible APs
when the page load but not the image map (their cursor doesn't even
switch to a hand when they hover) so nothing works.
At Browser Compatibility I found the Z-index bug and fixed it
by applying Z-index to all elements. IE 6.0 still ignores the image
maps though.. Why?
Thank you in advance.
M
PS: All I am getting as errors is these two lines in the
default.css "div {unicode-bidi:bidi-override;}
span {unicode-bidi:bidi-override;}" which result in an
Unsupported property: unicode-bibi
Is this related and frankly, what is it?> What exactly do you mean I am on the wrong foot already?
1. Your home page contains no readable text. This is usually
regarded as
an SEO blunder. Devoting the time and effort to create such a
page is
really a waste, as it presents one more hurdle between your
visitor and the
information they seek - they will bookmark the inner pages,
and never see
this page again. And it's a waste of your most valuable SEO
tool - the home
page. With no readable text, it cannot be adequately spidered
by the SE
bots.
2. You have used the unicode-bidi style in your stylesheet.
Are you sure
you need that? Read this to see what it does -
http://www.blooberry.com/indexdot/css/properties/intl/unibidi.htm
3. Your entry page, being all graphics, doesn't suffer from
text resizing.
This is good an bad. It's good in the sense that since you
have used only
absolute positioning, you will not experience the usual
problem with text
content resizing. It's bad in the sense that I explained
above, and also in
an accessability sense - those who need to resize the text to
read the page
will not be able to do so. In other words, you have lost
accessability on
this page.
In general, using absolute positioning as a primary layout
method is a big
mistake. Read this -
http://apptools.com/examples/pagelayout101.php
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"miltos75" <[email protected]> wrote in
message
news:[email protected]...
> Thank you for your prompt reply.
>
> No I don't have IE 6.0. IE 7.0 which I have installed
works fine, and so
> does
> Firefox.
>
> The link is this:
http://www.beonline.com.gr
>
> Yes, for the menu buttons I have one visible AP element
which is the
> inactive
> button and another which is hidden and is the active
button if selected.
>
> What exactly do you mean I am on the wrong foot already?
What would you
> suggest? Why is IE such a pain...???
>
> Thanks again,
>
> Miltos
> -
It won't let me
Right. You can't make an image map out of a background. You must insert the image directly into the page (HTML markup). Then apply hotspot tools to the image.
HTML Image Map
http://w3schools.com/html/tryit.asp?filename=tryhtml_areamap
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
http://alt-web.com/
http://twitter.com/altweb -
I have a curious problem with image maps. Whenever they are
placed in the top of the page, in a table, they are duplicated and
offset in the bottom of the page and vice versa. If I draw an IM
for example in the bottom of the page there is a hot spot created
with the same link in the top of the page in the first table row.
If I delete the unwanted hot spot (duplicate) it removes the
wanted IM.
If I delete the image in the bottom table it seems that when
I added a Flash button the top IM then had no problem. In Photoshop
there are no maps in the image.
Is this due to a #div container, padding, floats, or
something ?
Here is the map code;
<map name="Map" id="Map"><area shape="rect"
coords="48,137,293,167" href="../color/index.html" target="_top"
alt="blah"
onclick="MM_nbGroup('down','group1','navBarRLink02','',1)"
onmouseover="MM_nbGroup('over','navBarRLink02','images/cmO_02.jpg','',1)"
onmouseout="MM_nbGroup('out')" /><area shape="rect"
coords="134,110,329,134" href="../HP9180_review.htm" target="_top"
alt="printer reviews"
onclick="MM_nbGroup('down','group1','navBarRLink02','',1)"
onmouseover="MM_nbGroup('over','navBarRLink02','images/printerO_02.jpg','',1)"
onmouseout="MM_nbGroup('out')" /><area shape="rect"
coords="207,67,332,93" href="portraits.html" target="_top"
alt="portraits"
onclick="MM_nbGroup('down','group1','navBarRLink02','',1)"
onmouseover="MM_nbGroup('over','navBarRLink02','images/portraitsO_02.jpg','',1)"
onmouseout="MM_nbGroup('out')" />
<area shape="rect" coords="231,42,328,67"
href="stills.html" target="_top" alt="stills"
onclick="MM_nbGroup('down','group1','navBarRLink02','',1)"
onmouseover="MM_nbGroup('over','navBarRLink02','images/stillsO_02.jpg','',1)"
onmouseout="MM_nbGroup('out')" />
<area shape="rect" coords="246,16,344,40"
href="beauty.html" target="_top" alt="beauty"
onclick="MM_nbGroup('down','group1','navBarRLink02','',1)"
onmouseover="MM_nbGroup('over','navBarRLink02','images/navBarR_02.jpg','',1)"
onmouseout="MM_nbGroup('out')" />
</map></body>
</html>Your narrative is too vague to follow. Sorry.
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Neil Snape" <[email protected]> wrote in
message
news:g0shio$sg4$[email protected]..
> Unfortunately I didn't save the original html page that
was doing this.
> Thanks for your replies though.
>
> What I did was delete the Td, and TR, more than once ,
then rather than
> importing the same image just added a background image.
I was then able to
> place two Flash buttons into the TR, and no duplication
of the hot zones.
> After
> deleting the Flash buttons I was able to add two text
zones and place hot
> zones
> over the text whereas before they were duplicating and
deplacing the
> zones.
> Strange, I have no idea why, but it works as expected
now.
>
Maybe you are looking for
-
Hi Experts, I know report generation in ALV by using Functions modules and By using Objects. So my doubt is What kind of situations will demand to use 'Functions modules' and 'Objects procedure'.
-
How can I restore ringtones from my old phone to my new phone?
How can I restore my ringtones from my old phone to my new phone? I know I've done it before, but I can't figure it out. Thanks! Lynn
-
Unable to open my email messages on Firefox? How do I fix this?
I am not able to read my emails while I am in Firefox. This has happened about 8 days ago. I don't recall how this happened because I was able to use FF very well & never had any problems. I have been using Internet Explorer because most of my work h
-
HT1222 Is it possible for me to update to new version if i have a gevey sim?
Is it possible for me to update to new version if i have a gevey sim?
-
I was wondering if its possible to have some pictures in your albums but not events. For example I use my events for well diff events and my album to put pictures of diff friends and family from random events. However there are times that I just want