Sie sind nicht angemeldet.

1

Dienstag, 23. Juni 2015, 07:31

Hotspot labels on mouse hover ...

Hi,

I want to have my hotspots popup text on mouse hover. I have gone through this:

Hotspot hover text


and was trying djuna's method ... but I just get no labels on my hotspots.
I am really new to this.

Please direct me if there is a simple way I am overlooking. *wacko*






i am using 2 layers ... can I have two layers defined in tour.xml
like:


Quellcode

1
<layer name="image_text" .... html="image_text"/> <layer name="tooltip" ... html="" />



Red

2

Dienstag, 23. Juni 2015, 09:00

Ok,

I figured it out ...

using :

Quellcode

1
	<scene name="myScene" ...	 ...	<hotspot name="spot1" ... onhover="showtext(hotspot_scene_name, style*)" />	/>


But the labels show only when I run tour_editor ... but not when I run tour.html.
I dont understand , is this an html5 issue *wacko*

Red

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Redeemer« (23. Juni 2015, 09:47)


3

Dienstag, 23. Juni 2015, 09:55

Oops forgot to include showtext.xml in tour.xml for html5 support *tongue*

Anyway, working fine now.
Red