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.

finehomeint

Beginner

  • "finehomeint" started this thread

Posts: 3

Location: United Arab Emirates

  • Send private message

1

Thursday, February 15th 2018, 12:37pm

Embed HTML Code or Concatenate using "&"

Good day to everyone,

I have to embed this code for my social share/inquiry.
But i have a problem with the ampersand (&) because xml does not accept it.
Can anyone help me with this?

Thank you.

Code -------

<krpano

tourlink="get(browser.location) ">

<social share="txtadd(urltext,get(social.%1),%2);openurl(get(urltext),_blank);"
facebook="http://facebook.com/share.php?u="
twitter="http://twitter.com/intent/tweet?status="
googleplus="https://plus.google.com/share?url="
/>

<layer name="facebook_btn" url="%SWFPATH%/images/social/fb.png" keep="true"
align="lefttop" x="10" y="10"
onclick="social.share(facebook,get(tourlink));"
/>

<layer name="twitter_btn" url="%SWFPATH%/images/social/twitter.png" keep="true"
align="lefttop" x="50" y="10"
onclick="social.share(twitter,get(tourlink));"
/>

<layer name="googleplus_btn" url="%SWFPATH%/images/social/googleplus.png" keep="true"
align="lefttop" x="130" y="10"
onclick="social.share(googleplus,get(tourlink));"
/>

<layer name="whatsapp_btn" url="%SWFPATH%/images/social/whatsapp.png" keep="true"
align="lefttop" x="90" y="10" visible="desktop"
onclick="openurl('https://web.whatsapp.com/send?phone=971574150516&text=Hi,%20I%20am%20Interested%20in%20Damac%20Properties%20projects.%20Kindly%20help%20me%20find%20a%20good%20property.%20Thank%20you.%20https://www.finehomeint.com/panorama360/AP112889A/','_blank');"
/>

<layer name="whatsapp_btn_1" url="%SWFPATH%/images/social/whatsapp.png" keep="true"
align="lefttop" x="90" y="10" visible="mobile"
onclick="openurl('https://web.whatsapp.com/send?phone=971574150516&text=Hi,%20I%20am%20Interested%20in%20Damac%20Properties%20projects.%20Kindly%20help%20me%20find%20a%20good%20property.%20Thank%20you.%20https://www.finehomeint.com/panorama360/AP112889A/','_blank');"
/>

</krpano>

Code -------

Alexey Tkachenko

Professional

Posts: 757

Location: Sevastopol, Crimea, Russian Federation

Occupation: Interpreting, Building virtual tours

  • Send private message

2

Thursday, February 15th 2018, 12:52pm

Hi)

Have you tried

Source code

1
&amp;
instead of & ?
Regards,

Alexey