Hi, I'm trying to get a third-party widget to activate with the BOEK NU (book now) button in the header. Unfortunately, I have only been able to link this to a separate booking page with the IN-LINE widget, which is not what I want.
The widget should 'slide-in' from the right-hand side of the page. For this, I received the code below.
Could somebody help me with this?
Regards,
Patrick
Website: somatichub.nl
Pasword: SS2024!
<button id="widget-button">Boek nu</button>
<script src="https://cdn.jsdelivr.net/npm/appybee-widget"></script>
<script>
AppyBeeWidget.init({
companyAPIKey: 'f3a4a372f989b69e66e4bfb0a438b0b3',
style: 'side',
locale: 'nl'
});
</script>
<script>
var button = document.getElementById("widget-button");
button.onclick = function() {
AppyBeeWidget.show();
};
</script>