You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

gkaefer

Trainee

  • "gkaefer" started this thread

Posts: 46

Location: Salzburg

  • Send private message

1

Tuesday, December 20th 2011, 3:47pm

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?

Source code

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

Sage

Posts: 3,160

Location: Netherlands

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

  • Send private message

2

Tuesday, December 20th 2011, 7:38pm

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*
http://www.virtualtuur.com
Skype:studiotuur

3

Tuesday, December 20th 2011, 10:23pm

Hi,

a 'showtext' text is not clickable,

you would need to use the textfield plugin for such,

best regards,
Klaus

gkaefer

Trainee

  • "gkaefer" started this thread

Posts: 46

Location: Salzburg

  • Send private message

4

Wednesday, December 21st 2011, 1:41am

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

This post has been edited 1 times, last edit by "gkaefer" (Dec 21st 2011, 2:59pm)