@Rafal: If you are moderately proficient with javascript, then you ought to consider using a js framework/library like YUI or jQuery to help out with this. Here is a link to a YUI example that you can build from:
http://developer.yahoo.com/yui/examples/container/overlaymanager.html. The example requires that you press buttons for the pop up; however, in your case you can create span tags around the verbiage that you'd like your tooltip to respond to and then apply event listeners to those tags.
Example HTML:
q1 What sort of <span id='mytooltip'>hamburger</span> do you like? Select one.
- meat
- cheese
- cheese and meat
- meat and cheese
- this burger: http://www.youtube.com/watch?v=ifUJ5--4tjI
Example using YUI and JS for the events:
YAHOO.util.Event.on('mytooltip', 'mousenter', magic);
function magic(e){
// code to show your tool tip.
}
Here's the benefit:
- you can choose the xy coords
- it's html in the pop up, so you can configure it however you like (graphics, etc)
- very reusable