Created
March 28, 2018 01:37
-
-
Save dapseen/b0779be30171514fe1756ce4a0b1c138 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.0/jquery.min.js"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
div class="row"> | |
<div class="col-md-5 col-sm-5"> | |
<script type="text/javascript"> | |
baseUrl = "https://widgets.cryptocompare.com/"; | |
var scripts = document.getElementsByTagName("script"); | |
var embedder = scripts[ scripts.length - 1 ]; | |
(function (){ | |
var appName = encodeURIComponent(window.location.hostname); | |
if(appName==""){appName="local";} | |
var s = document.createElement("script"); | |
s.type = "text/javascript"; | |
s.async = true; | |
var theUrl = baseUrl+'serve/v1/coin/chart?fsym=BTC&tsym=USD'; | |
s.src = theUrl + ( theUrl.indexOf("?") >= 0 ? "&" : "?") + "app=" + appName; | |
embedder.parentNode.appendChild(s); | |
})(); | |
</script> | |
</div> | |
<div class="col-md-5 col-sm-5"> | |
<script type="text/javascript"> | |
baseUrl = "https://widgets.cryptocompare.com/"; | |
var scripts = document.getElementsByTagName("script"); | |
var embedder = scripts[ scripts.length - 1 ]; | |
(function (){ | |
var appName = encodeURIComponent(window.location.hostname); | |
if(appName==""){appName="local";} | |
var s = document.createElement("script"); | |
s.type = "text/javascript"; | |
s.async = true; | |
var theUrl = baseUrl+'serve/v1/coin/chart?fsym=BTC&tsym=NGN'; | |
s.src = theUrl + ( theUrl.indexOf("?") >= 0 ? "&" : "?") + "app=" + appName; | |
embedder.parentNode.appendChild(s); | |
})(); | |
</script> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment