Hi everyone! I am creating this script and its driving me crazy!!!!
I don't know if this JavaScript will load all of my JScript first and let the page load second....
Could you please check if its correct?????
Thank you!
----------------------------
Please look and see if its correct....
Also, for those who correct any mistake will recieve 200 points!
The winner will be allowed to use this code for their website!
I don't know if this JavaScript will load all of my JScript first and let the page load second....
Could you please check if its correct?????
Thank you!
----------------------------
Code:
<script language="Javascript" type="text/javascript">
<!-- hide from non JavaScript Browsers
if (!window.addScript)
{
window.addScript = function (src, callback) {
var head = document.getElementsByTagName("head")[0];
var script = document.createElement("script");
script.src = src;
script.type = "text/javascript";
head.appendChild(script);
if (typeof callback == "function") callback();
};
}
window.addOnLoad(function () {
window.addScript("image_preload.js");
window.addScript("http://pub.oxado.com/insert_ad?pub=220440");
}
);
// -->
</script>
Also, for those who correct any mistake will recieve 200 points!
The winner will be allowed to use this code for their website!