Opened 16 years ago

Closed 10 years ago

#1096 closed defect (invalid)

Tooltips don't work on image maps

Reported by: guest Owned by: guest
Priority: high Milestone: future
Component: Dijit Version: 0.2
Keywords: Cc:
Blocked By: Blocking:

Description (last modified by bill)

Tooltips don't work on <area> tags. They seem to open, but closing is another story. In firefox they stay open until you mouse completly off of the image. That means that several tooltips will be displaying at once, even though you are no longer mousing over their designated areas. In IE the tooltips show, but then it throws a javascript error and they don't ever go away. Here's some simple HTML that shows what I'm talking about.

<img usemap="#hotspots" src="someimage.jsp">
<map name="hotspots">	
	<area id="node1" shape="rect" href="somelink" coords="1,1 100,100">
	<area id="node2" shape="rect" href="somelink" coords="1,200 100,300">
	<area id="node3" shape="rect" href="somelink" coords="1,400 100,500">
<span dojoType="tooltip" connectId="node1">Description 1</span>
<span dojoType="tooltip" connectId="node2">Description 2</span>
<span dojoType="tooltip" connectId="node3">Description 3</span>

Attachments (1)

Image1.png (37.9 KB) - added by guest 16 years ago.
Each colored bubble is a hotspot in a single image

Download all attachments as: .zip

Change History (10)

Changed 16 years ago by guest

Attachment: Image1.png added

Each colored bubble is a hotspot in a single image

comment:1 Changed 16 years ago by dylan

Milestone: 0.40.5

comment:2 Changed 15 years ago by bill

Milestone: 0.91.0
Owner: changed from anonymous to bill

comment:3 Changed 15 years ago by bill

Component: WidgetsDijit

comment:4 Changed 15 years ago by bill

Just tested against Dijit; the tips open and close fine, but in the wrong place. They are relative to the image, not to the area.

comment:5 Changed 15 years ago by bill

Milestone: 1.02.0

comment:6 Changed 14 years ago by alex

Milestone: 2.01.3

Milestone 2.0 deleted

comment:7 Changed 14 years ago by bill

Description: modified (diff)
Milestone: 1.3future

comment:8 Changed 10 years ago by bill

Owner: changed from bill to guest
Status: newpending

If this is still an issue for you please attach an HTML file showing the problem, along with the image that it's referencing.

comment:9 Changed 10 years ago by trac-o-bot

Resolution: invalid
Status: pendingclosed

Because we get so many tickets, we often need to return them to the initial reporter for more information. If that person does not reply within 14 days, the ticket will automatically be closed, and that has happened in this case. If you still are interested in pursuing this issue, feel free to add a comment with the requested information and we will be happy to reopen the ticket if it is still valid. Thanks!

Note: See TracTickets for help on using tickets.