You are not logged in.

Stefan.L

Trainee

  • "Stefan.L" started this thread

Posts: 102

Location: Sweden

Occupation: Photography/ webdesign

  • Send private message

1

Friday, November 16th 2012, 5:26pm

(SOLVED) onhover with computer, onclick on tablet.

Hi!

Is it possible to have the thumsarray opened onhover on mac/pc and onclick on tablet?
How to close the thumbs by onclick on the panorama itself instead of on the array?


Onhover does not work so well on tablet;)

Happy for ideas

All the best, Stefan
Best regards - Stefan

This post has been edited 1 times, last edit by "Stefan.L" (Nov 18th 2012, 1:32pm)


2

Sunday, November 18th 2012, 8:08am

use "device" option.

Making same layer with different device option, should work, I think.
check http://krpano.com/docu/xml/#devices-notes

<layer name="layer1" device="..." any other contents
onhover="..." />
<layer name="layer2" device="..." same contents
onover=".... />

Stefan.L

Trainee

  • "Stefan.L" started this thread

Posts: 102

Location: Sweden

Occupation: Photography/ webdesign

  • Send private message

3

Sunday, November 18th 2012, 12:52pm

Hi!

Thanks for you reply! I looks like the solution. I will try this. I do not precisely know how and where to add the options yet but this information is very valuable. Soon I will understand how to use all and then I can rock on and help others.

Thanks again!
Best regards - Stefan

Stefan.L

Trainee

  • "Stefan.L" started this thread

Posts: 102

Location: Sweden

Occupation: Photography/ webdesign

  • Send private message

4

Sunday, November 18th 2012, 1:32pm

Thanks heomin61!

I simply duplicated the layer and added the function device="touchdevice" and on the other layer i added the function device="desktop".

I wonder if it is good practice to add for instance "flash" to the snow plugin - i was thinking that maybe the snow slows down other things on touch devices..

However....Works like a charm. A lot of stuff "unlocked" for me thanks to you.
Best regards - Stefan