Sie sind nicht angemeldet.

1

Donnerstag, 28. Mai 2015, 15:35

Unable to remove context menu.

I'm having issues with removing the context menu completely. I've purchased a license and a branding license. I've added in the

Quellcode

1
fullscreen="false"
but the context menu still shows up. Here is my current code:

Quellcode

1
2
3
4
5
6
7
8
9
10
11
<contextmenu versioninfo="false" fullscreen="false" touch="false"> 
	<item name="kr" visible="false"  caption="KRPANO" />
    <item name="fs" visible="false" caption="FULLSCREEN" enabled="false" />
    <item name="cc" visible="false" caption="Change Controlmode" onclick="cm_changecontrolmode();"  separator="true" />
    <item name="nv" visible="false" caption="Normal View"        onclick="cm_normal_view();"        showif="view.vlookatrange == 180" separator="true"      />
    <item name="fv" visible="false" caption="Fisheye View"       onclick="cm_fisheye_view();"       showif="view.vlookatrange == 180" devices="flash|webgl" />
    <item name="sv" visible="false" caption="Stereographic View" onclick="cm_stereographic_view();" showif="view.vlookatrange == 180" devices="flash|webgl" />
    <item name="av" visible="false" caption="Architectural View" onclick="cm_architectural_view();" showif="view.vlookatrange == 180"                       />
    <item name="pv" visible="false" caption="Pannini View"       onclick="cm_pannini_view();"       showif="view.vlookatrange == 180" devices="flash|webgl" />
    <item name="lp" visible="false" caption="Little Planet View" onclick="cm_littleplanet_view();"  showif="view.vlookatrange == 180" devices="flash|webgl" />
</contextmenu>


This removes everything from the context menu except for the fullscreen option, which can be seen here:

2

Donnerstag, 28. Mai 2015, 15:40

Of course after I post this I figure out what was causing it. The defaultskin.xml has the contextmenu settings in it by default which was overriding the settings in the pano xml file.

3

Mittwoch, 9. August 2023, 18:56

In my case i don't have defaultskin.xml file. Anyone have this issuse too?