> > Can someone outline a set of functions to use to generate hover > > graphics such as what is found at: > > > > http://netmon.grnet.gr/map.shtml > > > > Is Wt capable of such a capability? I can generate both the > > background chart and the graphic for the popup, but how would one > > proceed in getting the popup to function? > > I believe Wt would need support for the HTML <map> and <area> > tags, which is how that website is implemented. > > Then, using the right CSS styling, you should be able to > generate a popup window containing the graphic, when the > mouse is moving over a certain area. Finally, you will need > some JavaScript to react to mouse move events to constantly > move the popup window (if you want that -- I would prefer to > show the extra information on the side?), and to switch the > content of the popup window from the server-side using a JSignal<>. > > If you believe in this way of going about it, let me know and > I will put support for map/area tags in Wt on the TODO list. >
It would be good to add the map/area tags. I think the addition would be of value in many different contexts. I'm not totally conversant on the div tags yet, but I'm wondering about the 'popup' graphic. Is it actually a pop up window as on the sample site, or can it be done with an overlapping absolute position div (positioned by mouse movement) with a graphic in it? Or is a pop up window and a graphic in an absolute div one and the same thing? If I can get a graphic to change somewhere on the page as a mouse moves over a master graphic, that will satisfy my initial requirements. If it takes more effort to get a graphic to follow the mouse, I'll work my way up to that. I gather the overall technique is different from the one used for the drag and drop mechanism, where you drag a graphic (which in your example is a blue or red pill) and drop it somewhere. Is that dragged graphic a pop up window or a moving div? I could look at the code, but it was easier to formulate the question until I have a free moment to examine the code. Thank you for your assistance. -- Scanned for viruses and dangerous content at http://www.oneunified.net and is believed to be clean. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
