I'm trying to create a local web page that allows users to make a choice then calls a program. I want the page to be only as small as the area that I have text. I also want it centered and the toolbar and addressbar removed.
I've got the resize and positioning down, but can't find how to remove the toolbar and addressbar.
I'm not calling the page from another page, but rather from a shortcut on the desktop. I have found stuff that works when you call the page, but it isn't being called.
Here is my code that resizes and repositions.
Thanks in advance to everyone!!
I've got the resize and positioning down, but can't find how to remove the toolbar and addressbar.
I'm not calling the page from another page, but rather from a shortcut on the desktop. I have found stuff that works when you call the page, but it isn't being called.
Here is my code that resizes and repositions.
Code:
<SCRIPT LANGUAGE="VBScript">
Function Window_OnLoad()
Window.ResizeTo 200, 250
Window.moveTo (screen.width-200)/2, (screen.height-250)/2
End Function
</SCRIPT>
Thanks in advance to everyone!!