You are not logged in.

1

Saturday, January 18th 2014, 12:05am

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

Monday, January 20th 2014, 11:23am

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:

Source code

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


Best regards,
Klaus

3

Monday, January 20th 2014, 3:30pm

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

Monday, January 20th 2014, 3:31pm

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

thanks!

martyhr

Intermediate

Posts: 387

Location: CZ

  • Send private message

5

Tuesday, January 21st 2014, 11:02am

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

Alexey Tkachenko

Professional

Posts: 770

Location: Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

6

Tuesday, January 21st 2014, 11:15am

See here for caption formatting:

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

Alexey

martyhr

Intermediate

Posts: 387

Location: CZ

  • Send private message

7

Tuesday, January 21st 2014, 11:55am

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

Tuesday, January 21st 2014, 1:33pm

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

Posts: 141

Location: Russia, Komi republic, Uhta

Occupation: developer

  • Send private message

9

Monday, September 6th 2021, 9:56pm

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

Monday, September 13th 2021, 9:30am

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

Posts: 141

Location: Russia, Komi republic, Uhta

Occupation: developer

  • Send private message

11

Thursday, September 16th 2021, 9:49am

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