I have a website, http://agelessappealmedspa.com that has a “book now” raw code that allows a user to book an appointment. This works fine there however the client, also wanted it in their footer. Pro footer doesn’t have a raw content element so I had to use content container, but the same code used there doesn’t work the same. It’s like the javascript doesn’t pick up.
<div class="wsb-htmlsnippet-element"><div style='width: 300px; margin: 0 auto; text-align: center;'><script src='https://www.vagaro.com/JS/WidgetPopup.js?1=2' type='text/javascript'></script><script src='https://www.vagaro.com/JS/WidgetMobile.js?1=1' type='text/javascript'></script><a id='vagaroWidget23785_635779853308937861' href='https://www.vagaro.com/salon-software'><img alt='Salon Software' src='https://1a96a36bae7c8550901a-274b8a70320bb26e7a1e0ea7836ee429.ssl.cf2.rackcdn.com//Images/booknow_2.jpg' style='padding: 0; margin: 0; border: 0; outline: 0;'></a><script type='text/javascript'>/*<![CDATA[*/var newDiv = document.createElement('div'); function OpenWidgetPopupFromPage_23785_635779853308937861(isOpen) { OpenWidgetPopup(isOpen, newDiv, 'https://www.vagaro.com/Users/BusinessWidget.aspx?enc=MMLjhIwJMcwFQhXLL7ifVG4pDUbW0EkEDmE0bZUejhKT44hAzKRX0PLg18D9HjpLT8ZaelgRvGboiJmO+C7agfeIfV07emtD5ks2Fnn+dEMzs+Emz35TK4+QSXTsNgP3'); }(function () { var w = document.getElementById('vagaroWidget23785_635779853308937861'); if (w) { var f = function (e) { e.preventDefault(); if (window.IsmobileDevice()) { window.open('//m.vagaro.com/ShopDetail/mShopDetail.aspx?BusinessID=23785'); return; } OpenWidgetPopupFromPage_23785_635779853308937861(true); };if (w.addEventListener) { w.addEventListener('click', f, false); } else if (w.attachEvent) { w.attachEvent('onclick', f); } } }(window));/*]]>*/</script></div></div>