Sie sind nicht angemeldet.

1

Mittwoch, 26. November 2014, 10:09

action and url inside a textfield? how?

this works fine:

Quellcode

1
2
3
<data name="text">
[a href="tel:+123456789"][u][b] call us[/b][/u][/a]
</data>


this works fine on my iphones

Quellcode

1
[a href="event:action(track3); openurl(http://www.domain.com/,_blank);"][u][b]www.domain.com [/b][/u][/a]


this works fine also.


but i want to fire an action in krpano like this one:

Quellcode

1
[a href="event:action(track3); tel:+123456789;"][u][b]call us[/b][/u][/a]


it just does not work .... *confused* *cursing*

Help please!

thanks in advance!

2

Mittwoch, 26. November 2014, 12:20

It's not possible to refer to two things at the same time in one link.

Either refer to an action or to an telephone number, but not to both.

Best regards,
Klaus

3

Mittwoch, 26. November 2014, 16:18

Hummmm..... *huh*

Is it possible to make the phone call from an action?

Thanks!

4

Montag, 1. Dezember 2014, 14:03

Eventually via:

Quellcode

1
openurl('tel:+123456789', _self);
but I don't know if that's allowed due security restrictions...

For more information try a research if it's possible to do a call via Javascript.
The krpano openurl() action itself is basically only a 'window.open' Javascript call.

Best regards,
Klaus