Hi, is there a way to add an arrow in a textstyle ? (like many tooltips)
Thanx !
Hi, is there a way to add an arrow in a textstyle ? (like many tooltips)
Thanx !
Hi jerombg !
No you can't add images with the onhover showtext method.
The only two ways are using a CDATA textbox (example in the krpano demo folder),
or the easiest but not the greatest, using a single image as background of your text, but it'll be boring to align the tooltip and the text.
You can by the way embed your text directly in your image, but that means lots of graphics if you have many spots to show ^^
Hope it could help !
Best regards.
or add an tiny arrow image
<plugin name="arrow" parent="yourtextfield" url="arrow.png" align="bottomleft" edge="topright" '/>
<plugin name="yourtextfield" background="true" backgroundcolor="0xFFFFFF" etc etc />
if you want it as a tooltip on mouse over, trigger it with onover and onout
<style name="tooltipper"
onover ="set(plugin[yourtextfield].visible, true); copy( plugin[yourtextfield].x, mousex); copy( plugin[yourtextfield].y, mousey); copy(plugin[yourtextfield].html, tooltip); "
onout="set(plugin[yourtextfield].visible, false);"
/>
<hotspot style="tooltipper" tooltip="a nice text" etc etc etc />
its a bit rough, and you probally need to offset the tooltip. But this should work.
Ok thanx at both of you, I'll give it a try and keep informed !
thanx again for your help !
Don’t have an account yet? Register yourself now and be a part of our community!