I'm going to start this as a question. I did a search and found only one thread with these two keywords.
The question is, what is the intended method of using canvas that has "hot spots" on it which would trigger a javascript hover event or something similar?
For example, I have a canvas which is a rectangle and inside I draw various elements that represent a network with nodes and lines between the nodes. I want to mouse over one of the nodes and have a pop up or perhaps a title or any number of things that are currently associated with today's web page interfaces.
Is this currently a "roll your own" type of situation or have do the designers have some ideas on how this should work?
It seems like the simple way would be to use a usemap attribute on the canvas. Another option is to wrap the canvas inside an object tag but then there is the question of making the two take up exactly the same area. Before diving too deep into this, I thought I'd ask. It seems like this will be fairly common when canvas catches on.
Thank you,
Perry