Sie sind nicht angemeldet.

1

Dienstag, 24. März 2015, 19:06

Help for working html code in textfield?

Hi,
I'm working on a textfield that opens onclick as a popup window over the pano. I tried and read so much but I don't get it to work correctly: Normal text and tags like <b> or <br/> are working but not links to http nor mailto. I saw some hints in the forum, maybe they are not up to date any more, bacause for me they don't work.
You can see the malfunction one of my tours http://www.artesphera.de/pano/_vt/Kieler_Foerde/tour.html
clicking on the logo in the top left edge opens a textfield, the www-adress inside the textfield should be a link. I tried different ways, all what I could find, but nothing works...

the popup contains two png-layers in the background and the textfield in the foreground.

Maybe, someone has got a hint for me...

here's the code:

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
30
31
32
33
34
35
<plugin name="logo" url="gui_menu/logo.png"  tooltip="zur Website" keep="true" visible="true" align="lefttop" x="25" y="10" alpha="1" scale="0.8" handcursor="true" zorder="15" parent="menu_background" 
onclick="switch(plugin[i_arte].visible);switch(plugin[pop_back].visible);switch(plugin[pop_back2].visible);"   
/>

<plugin name="pop_back" url="../info/window_frame.png" keep="true" visible="false" zorder="90" width="400" height="400" align="center" 
onclick="set(plugin[i_arte].visible,false);set(plugin[pop_back].visible,false);set(plugin[pop_back2].visible,false);"
/>

<plugin name="pop_back2" url="gui_menu/logo.png" keep="true" visible="false" zorder="190" width="150" height="120" align="topright" x="6" y="40" parent="pop_back"
onclick="set(plugin[i_arte].visible,false);set(plugin[pop_back].visible,false);set(plugin[pop_back2].visible,false);"
/>

<plugin name="i_arte" url="textfield.swf"  parent="pop_back" keep="true" 
		html="data:i_arte_text"
   	css="font-family:Arial; font-size:16px; color:#ffffff;" 
		width="200" height="200" align="center" y="20" visible="false"  zorder="999" 
   	backgroundalpha="0"
   	textshadow="1.0"
   	textshadowrange="1.0"
   	textshadowangle="45"
   	textshadowcolor="0x000000"
   	textshadowalpha="1.0"
   	onautosized=""
	/>

	  <data name="i_arte_text">
	  <b>artesphera virtual tours</b><br/><br/>
	  name<br/>
	  adress<br/>
	  adresss<br/>
	  adress<br/><br/>
 	phone<br/>
	  <a href="event:http://www.artesphera.de">www.artesphera.de</a><br/>
 	mail
  	</data>		

Dieser Beitrag wurde bereits 3 mal editiert, zuletzt von »Muxi« (24. März 2015, 21:15)


Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

2

Mittwoch, 25. März 2015, 14:41

Enabled true for the textfield.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Mittwoch, 25. März 2015, 15:21

doesn't change anything...

btw. I noticed that on my android phone the a href is working well, also it's shown as an underlined colored link...this all does not happen on desktop browsers...

4

Montag, 12. Oktober 2015, 11:36

Test put between:


<data name="i_arte_text">

<![CDATA[

<b>artesphera virtual tours</b><br/><br/>
name<br/>
adress<br/>
adresss<br/>
adress<br/><br/>
<br/>
<a href="event:http://www.artesphera.de">www.artesphera.de</a><br/>

]]>
</data> *smile*