hi i think below is better - with a timer and fixed size so the page contents do not move when the ad appears
Code:
<html>
<body>
<!-- adding the size helps as the page does not jump when the advertisment content is inserted -->
<div id="somethingloadlast" style="size:absolute; height : 300; width: 100%"> </div>
<br/>
Main Content
<script language="javascript">
var tmrHandle = setTimeout("startAds()", "200");//200 milliseconds after page loads
function startAds(){
document.getElementById("somethingloadlast").innerHTML = "Some Ad Here with images too <br/><img src=\"i1.jpg\"> ... ";
//can use a iframe to - insert another page - maybe a generic page with ads for all pages - cahnge in one place
//document.getElementById("somethingloadlast").innerHTML = "<iframe src=\"../ads.html\" height=\"400\" width=\"100%\"></iframe>";
}
</script>
</body>
</html>
Edit:
also in your example you have
Code:
...
<span="ad"></span>
...
document.getElementById("somethingloadlast").innerHTML = "Some Ad "....
i think it should be
Code:
...
<span id="ad"></span>
...
document.getElementById("ad").innerHTML = "Some Ad "....
Edit:
If you like my posts then press the blue tick on the top right corner of my post /\