Thanks for this tool !
Working great :)
Thanks for this tool !
Working great :)
So does that mean we can now use raw single quotes in a double quote?
Yes :)
I tested it this morning, with minor bug-fixe version.
Available at the same test address: http://www.martinloyer.fr/sharing/krpano/demo.html
Thanks Klaus!
Thanks Klaus!
sachagriffin: thanks for your %%27 tips ;)
Display MoreShowtext is kinda strange in this way. http://www.1001photographes.com/annuaire/fiche…665&PREVIEW=OUI
Sure :/
Sorry to hear about that. But I did forum search before, Krpano doc and even Hoogle crawling before. Unlucky :(
I did :) For me, using ampersand coded in HTML was to weird to be accepted by XML parser. I was wrong...[quote='sachagriffin',index.php?page=Thread&postID=34241#post34241]No one but a saint has time to troubleshoot this type of stuff.
Sure, I also helps on other forum, and it's always the same 'way of life'.
Thanks for your help. I hope documentation will be updated, to avoid such posting ;)
Many thanks sachagriffin, your answer solved it.
However, the single post from Zephyr suggested to use ampersand with decimal value as used in HTML, but it don't work.
Example below:
Or to use % with decimal value (coming from Krpano documentation, located here : https://krpano.com/docu/actions/#showtext )
Example below:
You are using a different way, using an HTML written ampersand (&) with an hash and decimal value.
Example below :
From now, I never saw it in KrPano documentation, or even on showtext function :(
It may help other developer to had this useful information on KrPano. That was the primary idea of this post.
PS: Zephir, you are lucky, now you are everyone
Thanks for you reply.
Yes, adding double quote should work, but only when modifying one item at a time. Same if you are using HTML encoded chars (&#charvalue;).
If you want to modify severals items in the same functions, then it fail.
I did a test tour, available here: http://www.martinloyer.fr/sharing/krpano/demo.html
You can look here XML : http://www.martinloyer.fr/sharing/krpano/demo.xml
It's fairly simple. V1 button will update only one item (button itself), while V2 button will try to update V1 and V2 captions.
V1 button work well while V2 button just fail.
Any ideas ?
Depending on user imput, I'm changing onhover caption, using a call to set function like this:
And then, some moment later, I will call this to change text:
This work well with text formatting (italic, bold, underline, line break) and quote (encoded as "), but I didn't find any way to insert a quote within this text.
Trying theses will fail:
set(hotspot[myspot].onhover, showtext('My brother's test',mystyle));
set(hotspot[myspot].onhover, showtext(My brother's test,mystyle));
set(hotspot[myspot].onhover, showtext("My brother's test",mystyle));
set(hotspot[myspot].onhover, showtext("My brother%39s test",mystyle));
set(hotspot[myspot].onhover, showtext("My brother's test",mystyle));
Any ideas ?
Thanks!
Thanks Clauss for this usefull howto! It work like a charm! Even for calculating ox,oy values :)
To allow using distorded hotspots between two faces, I found a simple trick. Two distorded hotspots, one per face.
Here is an example:
First (on front face):
Second (on down face):
And then, you got this:
http://www.martinloyer.fr/en/virtual-vis…ractive-sounds/