Search results
Search results 1-20 of 107.
Update to version 2.7.0 - array_push and remove_array actions
Updated to version 2.6.1 - newlayer, newhotspot and newplugin actions do not create new object if it already exists - get_this action and readme update on how to use it - update_alpha call for invisible_content style - 'visible' style update, now it sets alpha to target_alpha when object is created
Quoted from "klaus.krpano" Hi, the <p> to <div> replacement comes from the Flash-times to keep compatible with existing examples and gets the same results. For using raw-html maybe have a look at this example: https://krpano.com/examples/#pp-blur and there at the 'add_html_code' action - it provides a way for adding direct unmodified html to a layer. Best regards, Klaus Source code 1 caller.sprite.appendChild(div); oh ok
also <select> tag is not working and <input type="text"> How am I supposed to fix that in big live project? HALP
Quoted from "indexofrefraction" I guess if you want add complex html, then better avoid going through html="data:..." create your layer and then add your stuff by javascript using layer.sprite but be aware that kprano has its way to represent its layers/hotspots as html, so not everything is in your control. More workarounds, yeah. Btw works the same if I set html property from external JS
Here's a demo, version 1.20.8: https://vtours-aux.ru/demo/textfield_android_events/ Try selecting radio-butons. Works on ios, does not work on android. The issue is some DOM events do not work when I try to trigger them by tapping on interactive elements in textfields with interactivecontent set to true. Short list of this kind of events is onclick, onchange, oninput. link to source code: https://drive.google.com/file/d/1FXFLhv0…iew?usp=sharing Also my previous textfield-related issue has been i...
When textfield sees <p></p> tag it replaces it with <div style="padding-top:2.5px; padding-bottom:5px;"></div> And it also replaces other tags starting with 'p' like 'path' breaking HTML the layout. I wonder why is it happening and is there any way to disable this behaviour?
Quoted from "klaus.krpano" Hi, that might sound strange - but due the fisheye distortion the webgl-one is the correct one. Best regards, Klaus Yes, hotspot is very big, I've used distortion just to show the issue better. Thanks for the reply, I'll stick to webgl for now.
Hi, take a look at demo here: https://drive.google.com/file/d/13G9Tom4…iew?usp=sharing (just add tour.js) These two polygonal hotspots have the same point array values. Red one is webgl, blue one is css3d rendered. Red one is clearly wrong
I've been wondering for years if it's possible to make scrollarea auto movement slower. :) How could this be done?
Hi! Long time no see! I have updated syntax highlighting to version 1.20.6 https://github.com/apushkarev/Krpano-Markup-Language Also, there's BIG change in setting comments. Now by hitting Ctrl + / you'll get JS styled comment and not XML one! To set xml comment use xmlc snippet or set a shortcut for xml commenting (see new 'Comments' section in readme).
No, it's not possible a least yet. There is a custom solution, like here https://krpano.com/forum/wbb/index.php?p…&threadID=15195 It's functional but requires some deep code diving
Klaus, can you please comment on this topic?
Quoted from "klaus.krpano" Thanks, this is super-cool! Can you please comment on this topic? Separate layer structure from layer properties
I wish I had a ... hm-hm a property for contaiers that automatically applies backdrop-filter: blur() for container area. This css property is finally supported by majority of browsers. Bluring looks super cool and super fresh in UI design :)
Quoted from "Zephyr" Thanks for trying it out :) Do you know if its possible not to load a xml using embedpano, but rather add scenes and images on runtime with javascript? why not you need to clone krpano scene array item via Object.assign() then replace scene code with new xml string and push it into scene array
Made a quick check. Overriding seems to not work this way. Scene code is kept in one big string and interpreted at scene load. So when we have two scenes with same names but different code, krpano will load the one with more latter declaration.
I like this trick! Sometimes style declarations become really spaghetti long