Right clicking on image

  • Hi
    How do I add or remove the links that appear when I right click on the panorama. There are only few that link to krpano site and I want to add one linking to a page in my site


    Thanks
    MM

  • here you will find the answer :

    https://krpano.com/docu/xml/#contextmenu

    here a code example :

    Code
    <contextmenu>	<!-- right-click context menu to change the viewing settings -->	<item caption="your name" onclick="openurl(http://www.yourdomain.com,_blank);" separator="true"/>	<item caption="FULLSCREEN" />	<item caption="normal view"        onclick="view_normal();"        separator="true" />	<item caption="fisheye view"       onclick="view_fisheye();"       />	<item caption="architectural view" onclick="view_architectural();" />	<item caption="stereographic view" onclick="view_stereographic();" />	<item caption="pannini view"       onclick="view_pannini();"       />	<item caption="little planet view" onclick="view_littleplanet();"  />	<item caption="CURSORS"       separator="true" />	<item caption="qtvrcursor" onclick="qtvrcursor();"  />	<item caption="dragcursor" onclick="dragcursor();"  />	<item caption="arrowcursor" onclick="arrowcursor();"  />	 <item caption="movecursor" onclick="movecursor();"  /> </contextmenu>


    If you would like to remove the about krpano item in the context menu then you should buy the branding free license :

    https://krpano.com/buy/brandingfree/

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!