Sie sind nicht angemeldet.

Lieber Besucher, herzlich willkommen bei: krpano.com Forum. Falls dies Ihr erster Besuch auf dieser Seite ist, lesen Sie sich bitte die Hilfe durch. Dort wird Ihnen die Bedienung dieser Seite näher erläutert. Darüber hinaus sollten Sie sich registrieren, um alle Funktionen dieser Seite nutzen zu können. Benutzen Sie das Registrierungsformular, um sich zu registrieren oder informieren Sie sich ausführlich über den Registrierungsvorgang. Falls Sie sich bereits zu einem früheren Zeitpunkt registriert haben, können Sie sich hier anmelden.

1

Samstag, 18. Januar 2014, 00:05

rightclick event or context menu event

HI

i need to capture mouse coordinates on user right click.

is there a richt-click event? or a contextmenu event which should allow to call action on context menu open ?

thanks a lot

2

Montag, 20. Januar 2014, 11:23

Hi,

no, that's not possible/supported.

All what is possible is to hide the contextmenu completely when having a Branding Free License and using this xml code:

Quellcode

1
<contextmenu fullscreen="false" versioninfo="false" />


Best regards,
Klaus

3

Montag, 20. Januar 2014, 15:30

well i was able to do it before new context menu.

on previous versions using flash context, on user right click mouse coordinated where stopped by flash, then calling an action from context menu i was able to retreive on which coordinates the context menu was called.

4

Montag, 20. Januar 2014, 15:31

i think a "onopen" event for the context menu would be very suitable for next version

thanks!

5

Dienstag, 21. Januar 2014, 11:02

Is it possible to highlight text in some contextmenu item?
Bold text fot example?

Beiträge: 770

Wohnort: Russian Federation

Beruf: Interpreting, Building virtual tours

  • Nachricht senden

6

Dienstag, 21. Januar 2014, 11:15

See here for caption formatting:

http://krpano.com/docu/xml/#contextmenu.item.caption
Regards,

Alexey

7

Dienstag, 21. Januar 2014, 11:55

I need to be kicked twice !
Thanks Alexey, I completly missed that I have to use [] instead of <> *w00t*

See

[url]http://www.virtualczech.cz/jizerky/
[/url]

8

Dienstag, 21. Januar 2014, 13:33

Hi,

Just as note - images would be also possible - here an example:
http://krpano.com/krpano.html?pano=panos…27/]&html5=only

But their usage should be limited to HTML5 or handled separately for HTML5 and Flash because the HTML text/image support for the Flashplayer is pretty bad.

And one more note regarding the contextmenu:
It is also possible to change it dynamically - e.g. in the 'onover' event of an element add new contextmenu items, and in the 'onout' remove them again.

Best regards,
Klaus

Beiträge: 141

Wohnort: Russia, Komi republic, Uhta

Beruf: developer

  • Nachricht senden

9

Montag, 6. September 2021, 21:56

replace event rightclick

hello. please tell me is there a way to disable the right mouse button event and redefine it to my event? I need this to add the ability to control the position in the dollhouse mode. only this separates me from similar products based on pure three.js) I want to show that krpano is beyond competition)) thanks)

Hello from uhta3d )))
I'm in telegram: Lastromantik

10

Montag, 13. September 2021, 09:30

Hi,

the oncontextmenu event with an 'empty' contextmenu could be used for that, but for making an empty/hidden contextmenu the branding free license would be required.

Best regards,
Klaus

Beiträge: 141

Wohnort: Russia, Komi republic, Uhta

Beruf: developer

  • Nachricht senden

11

Donnerstag, 16. September 2021, 09:49

Hi,

the oncontextmenu event with an 'empty' contextmenu could be used for that, but for making an empty/hidden contextmenu the branding free license would be required.

Best regards,
Klaus
thanks, I'll check)

Hello from uhta3d )))
I'm in telegram: Lastromantik