You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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: 336

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: 760

Location: Sevastopol, Crimea, 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: 336

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