{onload resize} fails after uploaded

admin

Administrator
Staff member
Hi,<br />
<br />
My index file contains the following line:<br />
<BODY onload=resizeTo(800,660);moveTo(0,0);> <br />
This works while the file is running on my HD. But when i upload it to my webspace, it doesn't resize, nor move anymore. <br />
<br />
Does anyone know why?<br />
<br />
Thx & cheers<!--content-->Ifyou try this:<br />
<br />
<HTML><br />
<HEAD><SCRIPT LANGUAGE="JavaScript"><br />
<!-- Begin<br />
function expand() {<br />
window.moveTo(0,0);<br />
window.resizeTo(screen.availWidth, screen.availHeight);<br />
}<br />
// End --><br />
</script><br />
<TITLE>index</TITLE><br />
</HEAD><br />
<BODY bgcolor="#000000"><br />
<SCRIPT>expand()</SCRIPT><br />
<br />
with the needed options in the head.<br />
<br />
:rocker:<!--content-->
 
Top