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="[/color]
twitter="http://twitter.com/intent/tweet?status="[/color]
googleplus="https://plus.google.com/share?url="[/color]
/>
<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://http://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://http://www.finehomeint.com/panorama360/AP112889A/[color=#000000]','_blank');"
[color=#000000]/>
[color=#000000]</krpano>
Code -------