You are not logged in.

Search results

Search results 1-20 of 107.

Friday, October 9th 2020, 10:10am

Author: a.pu

Developer Library

Update to version 2.7.0 - array_push and remove_array actions

Friday, October 2nd 2020, 11:22am

Author: a.pu

Developer Library

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

Friday, September 25th 2020, 11:35am

Author: a.pu

Replacing <p></p> tag with div

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

Thursday, September 24th 2020, 11:09am

Author: a.pu

DOM object events bug on android smartphones in chrome, very annoying!

also <select> tag is not working and <input type="text"> How am I supposed to fix that in big live project? HALP

Wednesday, September 23rd 2020, 11:42am

Author: a.pu

Replacing <p></p> tag with div

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

Wednesday, September 23rd 2020, 10:24am

Author: a.pu

DOM object events bug on android smartphones in chrome, very annoying!

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...

Tuesday, August 4th 2020, 6:35pm

Author: a.pu

Replacing <p></p> tag with div

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?

Thursday, July 16th 2020, 2:32pm

Author: a.pu

Polygonal hotspots in webgl render mode bug

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.

Thursday, July 16th 2020, 10:00am

Author: a.pu

Polygonal hotspots in webgl render mode bug

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

Wednesday, July 1st 2020, 12:47pm

Author: a.pu

Scrollarea scrolltocenter action

I've been wondering for years if it's possible to make scrollarea auto movement slower. :) How could this be done?

Tuesday, April 21st 2020, 10:15am

Author: a.pu

Syntax Highlighting, Snippets & Autocompletions

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).

Sunday, April 5th 2020, 9:44am

Author: a.pu

Zoom ScrollArea with touch possible?

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

Wednesday, February 26th 2020, 1:43pm

Author: a.pu

Separate layer structure from layer properties

Klaus, can you please comment on this topic?

Wednesday, February 19th 2020, 10:31am

Author: a.pu

backdrop-filter: blur();

Quoted from "klaus.krpano" Thanks, this is super-cool! Can you please comment on this topic? Separate layer structure from layer properties

Tuesday, February 18th 2020, 1:33pm

Author: a.pu

backdrop-filter: blur();

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 :)

Sunday, February 16th 2020, 10:07am

Author: a.pu

Split hotspot code and scene code

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

Saturday, February 15th 2020, 3:14pm

Author: a.pu

Split hotspot code and scene code

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.

Saturday, February 15th 2020, 2:39pm

Author: a.pu

1.20 regression - nested styles

I like this trick! Sometimes style declarations become really spaghetti long