D
Dennis M
Hi guys, I'm trying to write a simple window resize script for my (older
version Mozilla for Mac) browser to use when it first launches to get the
window to the exact size and location I want it.
Is there any way I could modify this script.......
<script language="JavaScript">
<!--
function move_2_631_435()
{
self.moveTo(0,0)
self.resizeTo(631,435)
}
-->
</script>
<a href="javascript:move_2_631_435();">Resize Screen</a>
......to get my browser window to move to the left about 3 pixels more and
also get it to move upwards about 3 pixels more? Even though it says
"self.moveTo(0,0)" it's still about 5 pixels from the left side of the
window and 5 pixels from the bottom of the menu bar.
I tried putting negative values in the "(0,0)," but evidently that isn't
supported.
Thanks in advance for any help.
version Mozilla for Mac) browser to use when it first launches to get the
window to the exact size and location I want it.
Is there any way I could modify this script.......
<script language="JavaScript">
<!--
function move_2_631_435()
{
self.moveTo(0,0)
self.resizeTo(631,435)
}
-->
</script>
<a href="javascript:move_2_631_435();">Resize Screen</a>
......to get my browser window to move to the left about 3 pixels more and
also get it to move upwards about 3 pixels more? Even though it says
"self.moveTo(0,0)" it's still about 5 pixels from the left side of the
window and 5 pixels from the bottom of the menu bar.
I tried putting negative values in the "(0,0)," but evidently that isn't
supported.
Thanks in advance for any help.