Skip to content

Instantly share code, notes, and snippets.

@bkonia
Last active July 19, 2018 18:42
Show Gist options
  • Save bkonia/71a1ac3358dccda3ba9e193ccfb8c5a1 to your computer and use it in GitHub Desktop.
Save bkonia/71a1ac3358dccda3ba9e193ccfb8c5a1 to your computer and use it in GitHub Desktop.
Embed PrescientSignals Charts in iFrame
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.0/css/all.css" integrity="sha384-lKuwvrZot6UHsBSfcMvOkWwlCMgc0TaWr+30HWe3a4ltaBwTZhyTEggF5tJv8tbt" crossorigin="anonymous">
<script src="https://www.prescientrading.com/wp-content/plugins/advanced-iframe/js/ai_resize.js"></script>
<div id="iframe-pt-overlay" style="position:fixed;top:0;left:0;height:100%;width:100%;background:black;opacity:0.7;z-index:2147483646"></div>
<div id="iframe-pt-loader" style="position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:2147483647">
<i class="fas fa-cog fa-spin" style="font-size:80px;color:#ccc"></i>
</div>
<iframe id="iframe-pt" src="https://www.prescientrading.com/charts-embedded" style="visibility:hidden;border:none;height:0;width:0;max-width:100%;max-height:100%;min-width:100%;min-height:100%" scrolling="no" seamless="seamless" onload="hideLoader()">Charts provided courtesy of <a href="https://www.prescientrading.com">PrescienTrading</a></iframe>
<script src="https://www.prescientrading.com/assets/js/charts-iframe.js"></script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment