Javascript agenda in Blocs? How do I do it?


#1

Hi guys,
I am testing Blocs to see if this my go-to website-building app! It all looks great and I really like the way it works…but…
I want / need / must integrate a agenda feed from my agent. Unfortunately this is something with a javascript. In Freeway it worked without problems, but searching here I see that might cause big problems.
The agenda feed I need to integrate in my new to build website is : script type=“text/javascript” src=“https://www.bookyou.com/whitelabel/gigguide.js”>

BY.gigguide.show({ account:4054,item:30477,width:400,height:400 }); to make the script visible)_ Hopefully this can be done in Blocs.. please help; it would really make my day!

#2

Have you tried putting it in an HTML Widget bric?
Ps. to make code visible just past it into your post and select and mark as code (the </>.


#3

Thanks for the tip; but I tried it and I got a blank page…


#4

Do you have a URL of the site it’s working in (Freeway)?


#5

Yes: http://www.melrose.nl/agenda.html
I used the HTML markup in Freeway.


#6

Might try enclosing the javascript within a paragraph.
Also, the code above is not complete.
This is what a copied from your current site:

   <p class="center"><script type="text/javascript" src="https://www.bookyou.com/whitelabel/gigguide.js"></script>
<script type="text/javascript">BY.gigguide.show({ account:4054,item:30477,width:420,height:600 });</script></p>

#7

Html bric is the way to go. It won’t render in app but once exported and hosted it should run fine.


#8

Norm, you are my hero. It works. I was constantly testing it on my laptop, but it needed to be online…
My choice is made, I will purchase Blocs!! Thanks again, also to Teefers for helping!!


#9

Yeah some scripts need to be hosted in order to work or at least run from a local host so the code can execute.