Posts by spelican
-
-
Hi,
I'm trying to tween bgborder for container, but nothing works. Is this possible?
My attempts:
Codetween(layer[cont].bgborder, 3,9,3,9 0xffffff 1.0, 0.8, default); tween(layer[cont].bgborder, '3,9,3,9 0xffffff 1.0', 0.8, default); tween(layer[cont].bgborder, '3 9 3 9 0xffffff 1.0', 0.8, default);
Nothing works, it tweens only the first width value "3" for all borders and sets default color and alpha, which is 000000 and 1.0Maybe there is some workaround?
-
Not sure what are you trying to achieve, try on container children="false"
-
If you assign action only to container, try to set to all childs enabled="false" handcursor="true"
-
hi,
where is the parent layer for layers cross, arrows, mouse in your code ?
For container type try bgcapture="true" -
Hi,
I've solved this with JSAdd to html this function:
Code<script> function addRText(par,txt) { var rt = document.createElement('div'); rt.style.cssText = 'position:absolute; right:-20px; bottom:40px; width:auto; height:20px; background-color:transparent; color:#000000; font-family: "Arial", Tahoma, sans-serif; font-size: 14px; text-shadow: 1px 3px 2px rgba(150, 150, 150, 1); -ms-transform:rotate(-90deg); -webkit-transform:rotate(-90deg); transform:rotate(-90deg);'; rt.innerHTML=txt; document.getElementById(par).appendChild(rt); }; </script>
par - the div id with krpano; txt - your text;
Then call this function on event, for instance onxmlcomplete.Code<events name="addTextEvent" keep="true" onxmlcomplete="js( addRText('pano','Here is my rotated text') )">
Depending of the text you will need to fix right and bottom values.Best!
-
Maybe it'll help <events name="…" onloadcomplete="js( call-your-js-function() );"/>
-
Hi, showtext, textstyle works with flash only.
You need tween textfield plugin, or image for html5... -
Try set(cursors.url,null);
Not sure about second part of your question. -
Did you check flyout hotspot example in the krpano download package ?(krpano-1.17\examples\xml-usage\flyout-hotspots)
Maybe it helps. -
I am not sure, you may delete them
-
Please see here about enable/disable html5 https://krpano.com/docu/html/#html5
-
If you place krpano.swf in venues so in roomA.html you may have ({swf:"../../../../krpano.swf", xml:"roomA.xml" for roomB.html ({swf:"../../../../krpano.swf", xml:"roomB.xml"
-
But the cursor is not changing, because i'm viewing in html5 mode.
I mentioned that. It works for Flash only, you are viewing in html5 mode i suppose. -
You can have one krpano.swf and link in html to that krpano.swf and the xml, that you need. In html file you may have: embedpano({swf:"krpano.swf", xml:"dir1/dir2/your.xml"...... To link krpano.swf in top level directory, use ../ instead of /
-
If you mean the icon that change mode for dragging the pano, it works for me. But the cursor is not changing, because i'm viewing in html5 mode.
-
There is zorder2 to organize hotspots with layers. Try to add to your hotspot zorder2="2" and to layer zorder"1"
-
-
Thanks for the info!
-
I have the problem with video loading in HTML5 firefox (Win7). For now the only solution is using .ogv instead of .webm. And ogv works only if it is used solely no " | " chacter. I also have failed loading mp4 on ipad, but i have no idea why it is happening...
