Sie sind nicht angemeldet.

1

Freitag, 11. Oktober 2013, 11:45

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

jordi

Profi

Beiträge: 583

Wohnort: Barcelona

Beruf: creating ideas & coding them

  • Nachricht senden

2

Freitag, 11. Oktober 2013, 12:33

here you will find the answer :

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

here a code example :

Quellcode

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

http://krpano.com/buy/brandingfree/
everpano.com step beyond 360