Sie sind nicht angemeldet.

1

Mittwoch, 18. Februar 2015, 10:27

Tooltips is out of the the Screen

Hi,

I use Tooltips when my mouse is over a Hotspot or a layer.

I'd like to be sure that the tooltips will be ALWAYS visible even if is out of the screen.





Here is the code I'm using :

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<style name="tooltip"
	   	onover="copy(layer[tooltip].html, tooltip);
	           	set(layer[tooltip].visible, true);
	           	tween(layer[tooltip].alpha, 1.0, 0.5);
	           	asyncloop(hovering, copy(layer[tooltip].x,mouse.stagex); copy(layer[tooltip].y,mouse.stagey); );"
	   	onout="tween(layer[tooltip].alpha, 0.0, 0.25, default, set(layer[tooltip].visible,false), copy(layer[tooltip].x,mouse.stagex); copy(layer[tooltip].y,mouse.stagey); );"
	   	/>

	<!-- the 'tooltip' textfield -->
	<layer name="tooltip" keep="true"
	   	url="%SWFPATH%/plugins/textfield.swf"
	   	parent="STAGE"
	   	visible="false" alpha="0"
	   	enabled="false"
	   	align="lefttop"
	   	edge="bottom"
	   	oy="-10"
	   	autowidth="true"
	   	autoheight="true"
	   	background="false" backgroundcolor="0xFFFFFF" backgroundalpha="1.0"
	   	border="false" bordercolor="0x000000" borderalpha="1.0"
	   	borderwidth="1.0" roundedge="0"
	   	shadow="0.0" shadowrange="4.0" shadowangle="45" shadowcolor="0x000000" shadowalpha="1.0"
	   	textshadow="1" textshadowrange="6.0" textshadowangle="90" textshadowcolor="0x000000" textshadowalpha="1.0"
	   	css="text-align:center; color:#FFFFFF; font-family:Arial; font-weight:bold; font-size:14px;"
	   	html=""
	   	/>

<hotspot name="imagezoom2icone" url="images/zoomicon.png" style="draghotspot|tooltip" tooltip="Afficher une image zoomée"  ath="-169.164"  atv="-27.066"  scale="1" zorder="-1" onclick="flyin( zoombild2 );" />


So I'm looking for a solution that will ALWAYS show my tooltips, hope you can Help me.

Thanks for your help. :)

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »kealkeal« (1. September 2015, 11:13)


2

Mittwoch, 18. Februar 2015, 15:25

Nobody can Help me ?

klaus.krpano
could you please have a look to this thread ? I don't know how to find a solution.

Thanks for your feedback. :)

Beiträge: 1 120

Wohnort: Angers - France

Beruf: 360 experiences creator

  • Nachricht senden

3

Mittwoch, 18. Februar 2015, 20:56


4

Donnerstag, 19. Februar 2015, 09:06

Hi jeromebg

Is there a way to do this with a free solution ?

Thanks for your feedback. *smile*

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »kealkeal« (19. Februar 2015, 11:00)


5

Donnerstag, 19. Februar 2015, 20:59

Use new showtext. Already answered: http://krpano.com/forum/wbb/index.php?pa…58330#post58330 and take care your textstyle has noclip set to true: http://krpano.com/docu/xml/#textstyle.noclip

6

Freitag, 20. Februar 2015, 10:59

Hi Umalo,

I' use the showtext.xml file but it dosen't work.

As you can see in my previous Post I don't use textstyle but style name="tooltip" maybe the problem is here ?

I don't have modify the showtext.xml file. Just include it.

So for sure I'm missing something .... but where ? *sad*

Thanks for your help.

7

Freitag, 20. Februar 2015, 11:18

I think I found a the problem.

For this project I need to use html5:"prefer" because i want to load an HTML IFRAME into the panorama.

If I use html5:"auto" the Tooltips are working fine but the IFRAME can't laod ...

*sad*

8

Freitag, 20. Februar 2015, 14:04

Can you share the link to the project with me or forum comunity to explore the code and settings?