I have this in a javascript file to diguise the source as much as possible
$(document).ready(function () {
document.getElementById('myframe1').src = "http://www.mysite.com/index.html";
});
and in the html
<iframe id="myframe1" width="900" height="700" src=""></iframe>
Sorry I am a bit of a notice with javascript. Any help with be great! thanks.
With jQuery:
With plain javascript:
You can add the function to the onload event like above.