Side navigation
#3396 closed bug ()
Opened September 23, 2008 11:46AM UTC
Closed November 11, 2010 11:09PM UTC
Assigning click to area map doesnt work if not previously assigned to image
Reported by: | inspiraller | Owned by: | brandon |
---|---|---|---|
Priority: | major | Milestone: | 1.3 |
Component: | event | Version: | 1.2.6 |
Keywords: | areamap | Cc: | inspiraller, flesler |
Blocked by: | Blocking: |
Description
1) On document ready function I assign a function - alert('area clicked') - to all area nodes in 'areaMap1'.
2) On Image mouse over I assign image[0].useMap = "#areaMap1";
3) On clicking the area, an event should fire and call the alert function, but it doesn't.
ALTERNATIVE
If I put the onclick in the html, <area onclick="alert('area clicked')">
It does work.
Can you explain this. Thanks
Attachments (1)
Change History (4)
Changed September 23, 2008 11:00PM UTC by comment:1
cc: | → inspiraller, flesler |
---|---|
need: | Review → Test Case |
Changed October 08, 2008 03:40PM UTC by comment:2
This test case shows that simply binding a click to an area works. You'll probably have to explain more detailed how you are assigning the handlers.
Changed October 14, 2010 03:14AM UTC by comment:3
status: | new → pending |
---|
This ticket has been marked as missing a test case. In an effort to reduce the number of outstanding tickets in the bug tracker, it will be closed automatically in 30 days. In order to prevent this from happening, please provide a working test case. If a test case has already been provided and our records are wrong, please respond to the ticket so that it can be fixed. Thank you!
Changed November 11, 2010 11:09PM UTC by comment:4
status: | pending → closed |
---|
Automatically closed due to 14 days of inactivity.
Can you make a concrete test case out of this ?
A small html file with the needed js and markup.
Thanks