Sie sind nicht angemeldet.

1

Dienstag, 20. Dezember 2011, 15:47

clickable weblink in text displayed with showtext ? dont see the error/solution...

I've a button. onclick will start music and does show a text by starting myaction()
How can I make this text clickable ... opening a weburl?

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
<action name="myaction">
	delayedcall(1.0,showtext(get(data[mytext].content), mytextstyle));
</action>

<textstyle name="mytextstyle"
	blendmode="normal"
	font="Arial"
	...
	noclip="true"
/>

<data name="mytext">
	[b][i]Music:[/i][/b] Mr.Scruff - Ninja Tuna - Kalimba
</data>


onclick="openurl(http://www.krpano.com/)" inside the mytextstyle is no way....
and in the mytext something like [a href="http://www.krpano.com/"] Kalimba [/a] does also not work.

;-) I dont see my error - nore a solution?

Liebe Gruesse,
Georg

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

2

Dienstag, 20. Dezember 2011, 19:38

hi,

i have this working in the data tag

<a href="http://www.virtualtuur.com" target="_blank"> LINK</a>
otherwise try:

<a href="event:openurl(http://www.virtualtuur.com,_blank)">Link </a>

hope it helps,

Tuur *thumbsup*

3

Dienstag, 20. Dezember 2011, 22:23

Hi,

a 'showtext' text is not clickable,

you would need to use the textfield plugin for such,

best regards,
Klaus

4

Mittwoch, 21. Dezember 2011, 01:41

Hi,

a 'showtext' text is not clickable,

you would need to use the textfield plugin for such,

best regards,
Klaus


besten Dank!
many thanks!

und da Weihnachten nicht mehr fern ist ;-))))
and because Christmas is not far ;-)))

if a christmas present is (still) needed...
maybe an idea: the lomo spinner 360...
... just pull the cord ;-))
Lomo spinner 360

lg.
Georg

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »gkaefer« (21. Dezember 2011, 14:59)