Browse Source

Make iframe src relative

master
Skylar Ittner 1 year ago
parent
commit
288d6aaf44
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      index.html

+ 2
- 2
index.html View File

@@ -59,10 +59,10 @@
<div class="col-12 col-md-6">
<div class="card">
<div class="card-header bg-primary text-light">
<h4 class="card-heading d-flex"><span class="mr-auto">Demo</span> <a onclick="document.getElementById('demoframe').src = 'https://captcheck.netsyms.com/test.html'" title="Reset demo"><i class="fas fa-sync-alt"></i></a></h4>
<h4 class="card-heading d-flex"><span class="mr-auto">Demo</span> <a onclick="document.getElementById('demoframe').src = document.getElementById('demoframe').src" title="Reset demo"><i class="fas fa-sync-alt"></i></a></h4>
</div>
<div class="card-body">
<iframe style="border: 0px solid white; width: 100%; height: 100%; height: 200px;" src="https://captcheck.netsyms.com/test.html" id="demoframe"></iframe>
<iframe style="border: 0px solid white; width: 100%; height: 100%; height: 200px;" src="test.html" id="demoframe"></iframe>
</div>
</div>
</div>

Loading…
Cancel
Save