Hey everyone!
I'm trying implement hotspot which is created as text type and contains hyperlink inside html attribute! Everything is displayed but it's not clickable!
I would like to ask if it is possible to make hyperlink clickable? e.g
Regards.
Hey everyone!
I'm trying implement hotspot which is created as text type and contains hyperlink inside html attribute! Everything is displayed but it's not clickable!
I would like to ask if it is possible to make hyperlink clickable? e.g
Regards.
I doubt, that in-text links work in text hotspots, but a simple link would be possible like this:
<hotspot name="hotspotinfo" type="text" html="hyperlink" onclick="openurl(krpano.com);" />
Hi,
this should work
<hotspot name="spot2" type="text" renderer="css3d" width="100" height="50" ath="0" atv="0" bgcolor="0xffff00" html="data:html_spot1" />
<data name="html_spot1">
You can visit <a href="http://www.krpano.com" >THIS </a> link
</data>
add renderer="css3d" and do the html in a data tag
Hope it helps
Tuur
Thank you all, guys your aswers were helpful!! God bless you :)
Regards.
rejentt,
There is a typo in your <a> tag code. The closing tag shouold be </a>.
And due to xml syntax checking you need to use instead of "<" and ">" characters the "[" and "]" when feeding the html of the text box.
Pavel
Tuur...
i suspect css3d hotspots do not work in MobileVR or WebVR ...
so, for VR you most likely need an onclick event
(to be tested)
Hi,
i think opening an other webpage in vr is not very users friendly
Triggering an event can be useful though.
But...indeed not working in vr like this.
Tuur
Don’t have an account yet? Register yourself now and be a part of our community!