Hi there,
I’m trying to add a Javascript restaurant booking widget (ResDiary) to a Block Grid and running into trouble.
The old version of the widget used an iFrame, which worked fine. The new widget is slightly different, and won’t display (even if wrapped in raw-content tags).
The code below is what I need to embed - should parts of that be included in the custom JS section? Or should it theoretically all go in the same place? The page in question is www.chanceandcounters.com/book
Thanks in advance,
Steve
<script type="text/javascript" src="https://code.jquery.com/jquery-2.2.4.min.js"></script>
<script type="text/javascript">
$(function() {
var widgetFrame = $("#rd-widget-frame");
widgetFrame.load("https://7723fded-c4a4-4605-b717-6a890ecd2c71.resdiary.com/widget/Standard/ChanceAndCounters/1644");
})
</script>
<div id="rd-widget-frame" style="max-width: 600px; margin: auto;"></div>