Opened 15 years ago
Closed 12 years ago
#3396 closed bug
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 (5)
comment:1 Changed 14 years ago by
Cc: | inspiraller flesler added |
---|---|
need: | Review → Test Case |
comment:2 Changed 14 years ago by
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.
comment:3 Changed 12 years ago by
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!
comment:4 Changed 12 years ago by
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