Suchergebnisse
Suchergebnisse 1-20 von insgesamt 44.
Thank you, it work now. I had set the height of the scrollbar in %. When set to an absolute value it work. Last question: how do I set a scrollbar next to the scrollarea ? Thank you very much
Hi, I'm trying to create a scrollarea with the scrollarea.js plugin. It worked, I can drag the content up and down. But when I actually scroll with the mouse, nothing happend, eventhough mwheel = true. Furthermore, when I drag the content down with the mouse, the content always scroll back to the top when I release the mouse. Is there something I need to know ? Thanks for any help
Let's say I have 50 hotspot that I want to make appear / disappear in one click. It would be very convenient to do it like this: Quellcode 1 onclick="set(style[hotspotsStyle].visible, true);" Instead, now, I have to write 50 times Quellcode 1 onclick="set(hotspot[name].visible, true);" Dynamically changing styled element when a style tag is updated would save a lot of code. It would be as handy as updating a .class in css/html
Thanks indexofrefraction, I didn't know that. That explains. Thanks Tuur, I guess it's the best way to do what I try to achieve I'll use this method in a case where I have a really big amount of hotspots. Cheers
Thanks for your answer Piotr This is what I thought. But then, so modify the appearance of just a subset of hotspot, there is no other way than selecting them one by one by their name I guess (?) Would be interesting to be able to modify them by their related style, would be pretty flexible, a bit like html + css.
Is it possible to change multiple hotspot appearance by modifying the <style> element to which they refer ? I tried but it seems like it doesn’t work: Quellcode 1 onclick="toggle(style[styleSkiLifts.visible)" Would be convenient though..
ha ! it seems that "ondown" gives the result I want..good.
Hello everybody, So I have a pano with image hotspot and polygone hotspot. When the image hotspot are hovered they get tweened a bit bigger. It also works on touche device when pressing them with the thumb. When the polygone hotspot is hovered, it get tween to another fillColor. It works on desktop, however on touch devices, nothing happend when pressing them with the thumb. Why is one case working and not the other ? What is the cleanest way to make a polygone hotspot tween to another color onl...
Thanks Alexey ! Now I got it I understand the use of the txtadd() function. It actually also works without the CDATA tags. Jordi, thanks for this idea, the reference entities trick is maybe even better At least the code then is a bit shorter. I can simply use Klaus's code and replace forbidden character by the corresponding reference and it works fine ! Quellcode 1 2 3 <events onclick="screentosphere(mouse.x, mouse.y, m_ath, m_atv); showlog(); trace('<point ath="',m_ath,'" atv="...
Hey Alexey, I've tried your action and it's working, thanks ! Though, I'm pretty beginner and I must say I don't quite understand this code. I'll have to study that a bit ;) Thanks anyway !
Hello everybody, So we know Klaus's code which shows the sphere coordinates on mouse click: Quellcode 1 <events onclick="screentosphere(mouse.x, mouse.y, m_ath, m_atv); showlog(); trace('clicked at ath=',m_ath,' atv=',m_atv);" /> I've been trying to modify this code so that it shows something like this in the log window: Quellcode 1 2 3 4 <point ath="28.4" atv="57.3" /> <point ath="23.86" atv="65.47" /> <point ath="26.85" atv="66.45" /> <point ath="-106.16" atv="76.07" /> This way I could simply...
Thanks for this feedback Klaus, I have a better understanding of the logic behind it now Off topic question, but do you think it would be possible to enable an e-mail notification system on this forum ? I would find convenient to be notified when someone answer my own post, or post in which I have participated. With this new internet trends, I'm so used to be notified for everything that I sometimes miss things on this forum.
Thanks, that worked ! Though, I'm a bit surprised that it's not possible to select an element in such an absolute way: scene[scene1].hotspot[spot1] But well, I guess I'll have to get used to it ;) Merci bien et bonne soirée !
Thanks Jérôme, I've tried that but then there is a problem: The tweening happen on every pano where a hotspot is named [spot1]. So then I tried to give a specific name to this specific hotspot. But then the tweening happens each time I navigate to this pano. And I want the tweening to happen juste once, when the virtual tour is done loading.. You see what I mean ?
Hi, I try to tween the size of one unique hotspot, juste once, when the pano is loaded. I thought that this would work: <events onloadcomplete="tween(scene[scene1].hotspot[spot1].scale, 1.5)"/> But it doesn't. I have two quesitons: 1) Is it possible to select a hotspot whithin a scene in an absolute way, like I'm trying to do ? if yes, what's the correct syntax. I cannot find an answer in the documentation. 2) If it's not possible, how can I achieve this feature differently ? Thank you very much...
Hi, Everything is in the title. Using Chrome 56.0.2924.87 (64-bit), and OS Sierra, none of this exemples are displaying: https://krpano.com/examples/vtour/ The skin appears but the pano does not. It stays white. When using firefox or safari, everything works fine. When viewing a 1.18.5 krpano, it works fine. When using another computer with Chrome 56.0.2924.87 (64-bit) and Osx Maveric 10.9.5 it works fine. Any idea ? I guess it's a question for Klaus..
I have the same problem as Nicolastarallo, does anyone have an idea ? One my computer, none of this exemples are working: https://krpano.com/examples/vtour/ Just the skin is loading, but not the pano itself. I'm running OS sierra and Chrome 56.0.2924.87 (64-bit)
Oops, I found my own noob mistake, just a syntax error, sorry . Is it possible to delete a thread ? (like this one..)
Hi, I added an action on the default krpano startup action, such as: Quellcode 1 <action name="startup">LittlePlanet(); </action> It work. The LittlePlanet() action that I've created is launching correctly in Firefox and Chrome. But if I had the following: Quellcode 1 <action name="startup"> if(device.webgl), setLittlePlanet(); </action> Then the action is not launched, in any browser. I do that because in safari, the littlePlanet animation is not working correctly, and I want this action not to...