Multiple iFrame With Code Source
•
Ditulis oleh Tim Pasti Oke
Redirect include subfolder
<div id="src">it will show in 2nd frame</div>
<button onclick="isi()" value="ff">fdf</button>
<script>
function isi(){
var iframe = document.getElementById('target'),
iframedoc = iframe.contentDocument || iframe.contentWindow.document
iframedoc.body.innerHTML = document.getElementById('src').innerHTML
}
</script>
<iframe id="frame1" name="f1" align="left" width="200px" height="500px" src="data:text/htmlcharset=utf-8,%3Chtml%3E%3Cbody%3Efoo%3C/body%3E%3C/html%3E" ></iframe>
<iframe id="target" />
Redirect without subfolder
it will show in 2nd frame
Change Iframe Content with Javascript>
Butuh solusi instan siap pakai?
Dapatkan modul & script server production-ready langsung di web store kami.
Komentar
Belum ada komentar. Jadilah yang pertama memberikan komentar!