Ticket #1096 (new defect)

Opened 2 years ago

Last modified 34 hours ago

Tooltips don't work on image maps

Reported by: guest Owned by: bill
Priority: normal Milestone: future
Component: Dijit Version: 0.2
Severity: normal Keywords:
Cc:

Description (last modified by bill) (diff)

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">
</map>
<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

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

Change History

Changed 2 years ago by guest

Each colored bubble is a hotspot in a single image

Changed 2 years ago by dylan

  • milestone changed from 0.4 to 0.5

Changed 19 months ago by bill

  • owner changed from anonymous to bill
  • milestone changed from 0.9 to 1.0

Changed 18 months ago by bill

  • component changed from Widgets to Dijit

Changed 18 months 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.

Changed 16 months ago by bill

  • milestone changed from 1.0 to 2.0

Changed 9 months ago by alex

  • milestone changed from 2.0 to 1.3

Milestone 2.0 deleted

Changed 34 hours ago by bill

  • description modified (diff)
  • milestone changed from 1.3 to future
Note: See TracTickets for help on using tickets.