PDA

View Full Version : How can I add a widget from an outside source to my site?



doug145
11-25-2017, 07:30 PM
I am trying to add a Bitcoin chart to my website by going to this outside site and copying their code:

https://gobitcoin.io/tools/widget/

The show this code to copy on their site:
<div id="gobtc-widget-chart" style="background-color:#fcfcfc" data-lang="en"></div>
<script type="text/javascript" src="https://widgets.gobitcoin.io/chart.js"></script>

I know the javascript will go into my Script Properties box, but what would I paste into my HTML Properties box?

I cannot get the chart to show when I preview different attempts at it.

Doug

VodaHost
11-29-2017, 02:37 PM
Hi,

you should actually post the code given into an HTML box as it already has the javascipt tags embedded. Simply place the HTML box on the page you want the chart to show and insert the code given!