First of all I'll state I'm a PHP coder that usually steers clear of javascript, however, I need some help with a problem.
I have a script that needs to execute a javascript function once the page has loaded and before everyone shouts out the following:
Code: Select all
<body onload="myfunction()">Code: Select all
<script>
window.onload= new Function("myfunction()");
</script>Code: Select all
<body onload="FixLayout()">