Sie sind nicht angemeldet.

1

Dienstag, 5. Oktober 2010, 17:39

double click

I needed a double-click event, so I wrote a tiny plugin for that. The plugin is free and open source. The attached archive contains an xml file that shows how to use the plugin for "doubleclick to toggle fullscreen" functionality:

Quellcode

1
<plugin name="dblclick" url="%SWFPATH%/plugins/dblclick.swf" ondblclick="switch(fullscreen)" />


For a demo, see my panorama gallery


Related / similar solutions:
OnDoubleClick -- MoveTo() -- ScreenToSphere()
double-click to "move to, center and zoom"


The dblclick.swf file and its sources are available as part of the krpano_fovplugins package on github.

Dieser Beitrag wurde bereits 2 mal editiert, zuletzt von »ahoeben« (15. März 2011, 16:52)


Beiträge: 91

Wohnort: Norway

Beruf: Product Specialist @ www.fuglefjellet.no

  • Nachricht senden

2

Montag, 11. Oktober 2010, 19:31

Hi Aldo.

Thanks for sharing and the OS licensing.

calamento

Anfänger

Beiträge: 6

Wohnort: Liège Belgium

Beruf: CEO of Biotech/Multimedia companies

  • Nachricht senden

3

Dienstag, 12. Oktober 2010, 20:34

doubleclick

Thanks, very useful.
JC Havaux
DIM3

4

Montag, 4. April 2011, 22:08

The dblclick plugin is now also available in a js version for krpanoJS:
http://fieldofview.github.com/krpano_fov…ick/plugin.html
(soon also on the official plugins page)

5

Donnerstag, 14. April 2011, 00:34

I'm a fan already.
Would love it if it would pass the coordinates to the action as well.

Thanks for your hard work!

6

Montag, 18. April 2011, 10:08

Can't you just use the mouse variables that krpano gives you?
http://krpano.com/docu/actions/#mouse.x

7

Freitag, 1. Februar 2013, 12:35

Hi,

Does it works on iPad ?

as we can double-click on bing maps to zoom in,
i've tried to setup action with this effect to zoom in/out the pano,
it works on desktop both Flash and HTML5,
but nothing happen when i double tap on iPad ....

Thanks *smile*

z

8

Freitag, 15. Februar 2013, 23:55

The way is to detect the double tap with events,
if the plugin get ondown="" 2 time in less a second then trigger an action,
May be with a timer,
Anybody can code this ?

Thanks

Z

9

Sonntag, 17. Februar 2013, 17:59


10

Sonntag, 17. Februar 2013, 19:36

Thanks Aldo,

it is iPad friendly ?
i will give it a try *smile*

z

Ähnliche Themen