Sie sind nicht angemeldet.

1

Freitag, 18. April 2014, 19:16

mwheel:false doesn't allow page scrolling

I have been racking my brain on this one for too long now can someone please tell me why this doesn't work?

Quellcode

1
<script>  embedpano({swf:"/sites/all/libraries/krpano/krpano.swf", xml:"/node/7/pano.xml", html5:"auto", vars:{mwheel:false}, wmode:"opaque", target:"vtour", width:"908", height:"600"});  </script>



this is how it renders according to safari


Quellcode

1
<embed name="krpanoSWFObject" id="krpanoSWFObject" width="908" height="600" style="outline:none;" type="application/x-shockwave-flash" src="/sites/all/libraries/krpano/krpano.swf" wmode="opaque" bgcolor="#000000" allowfullscreen="true" allowscriptaccess="always" flashvars="mwheel=false&amp;xml=%2Fnode%2F7%2Fpano.xml">



any help would be greatly appreciated.
Chris

2

Samstag, 19. April 2014, 14:43

Hi,

the mwheel setting is a setting for the embedding script and not a krpano viewer variable.

Set it this way (not inside vars):

Quellcode

1
embedpano({..., mwheel:false, ...});


Best regards,
Klaus