You are not logged in.

Dear visitor, welcome to krpano.com 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

Professional

  • "Zephyr" started this thread

Posts: 994

Location: Netherlands

Occupation: Web developer

  • Send private message

1

Wednesday, August 15th 2012, 12:19am

showtext and textstyle

The textfield plugin got an update with 1.0.8.15, 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*
3d childrens game using krpano Game
Minify your xml with my krpano XML Compressor
Krpano XML Parsing Error Checklist
Available for hire (krpano xml, javascript, actionscript, flash, php and ipad plugins).

Similar threads