You are not logged in.

Dear visitor, welcome to 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.



  • "HansNyb" started this thread

Posts: 1,063

Location: Denmark

Occupation: Photographer

  • Send private message


Sunday, May 24th 2020, 7:22pm

Facebook share popupwindow

I have managed to ad sharing Facebook/Twitter icons using the code Sudarchikov Andrey published.…media#post52211

However I can not not get it working as opening in an iframe like the examples in this…tml5=only+webgl

I made a special socialmedia.xml which includes the codes for the iframe popup but how do I write the code to make the
sharing page popup the same way.

<krpano tourlink="">

<social share="txtadd(urltext,get(social.%1),%2);openurl(get(urltext),_blank);"


<layer name="facebook_btn" url="facebook.png" keep="true"
align="righttop" x="20" y="30" scale="0.15"

<layer name="twitter_btn" url="twitter.png" keep="true"
align="righttop" x="60" y="30" scale="0.15"

<layer name="popup2" url="redlink.png" scale="0.3" visible="true" keep="true" align="lefttop" x="100" y="100"
onclick="popup('iframe','', 1000, 600, true);"