You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.



  • "Zephyr" started this thread

Posts: 1,003

Location: Netherlands

Occupation: Web developer

  • Send private message


Wednesday, August 15th 2012, 12:19am

showtext and textstyle

The textfield plugin got an update with, but I was wondering if showtext action could get an update too?

I love to see margins/padding on tooltip text. Now the background is tightly against the text. Also I'd love to see more html and css in the showtext action. Hovering a hotspot, showing an image with a description (this is possible with textfield plugin and some action, but like to see this native with showtext()).

Actually, <textstyle /> seems a bit unnescesary now. Most of the properties seems to be available in textfield. Isn't a tooltip not more than a floating textfield with edge detecting and perhaps a fadetimer? Most of the stuff would be possible with a onover onout fade in a textfield plugin. I'd rather see something like showtext(layer[textfield]) or showtext(data:html, data:css) or by keeping crosscompatibilty: showtext(data[html].content, DEFAULT_TEXTSTYLE) and extend texstyle with a css property

I'm not sure what would be handy. But I think this way you would keep the code base of the tooltip and textfield about the same and give us extended tooltips. What do you think? *thumbup*

Similar threads