|
-
Jun 26th, 2001, 10:08 PM
#1
Thread Starter
Junior Member
resize window
how would you use vbscript to resize your window?
-
Jun 27th, 2001, 12:08 AM
#2
Hyperactive Member
I'm not sure if this just works in IE, but this will resize a browser window:
Code:
<html>
<header>
</header>
<body onload="resizeTo(250,300)">
This is the contents
</body>
</html>
-
Jun 27th, 2001, 10:55 AM
#3
Thread Starter
Junior Member
thanks
thanks. do you also know how to get rid of the address bar and links on the browser so that only the X in the top right corner is avaiable?
-
Jun 27th, 2001, 11:57 AM
#4
I know how to do this when you use JavaScript to open a new window.
Let's say you have a link on your site "Click Me." The HTML looks like:
Code:
<a href="#" onClick="window.open('htmlpagetoopen.html', 'nameofwindow', 'height=200,width=200,toolbars=no,location=no,menubar=no');">Click Me</a>
When the user clicks on the link, a new window will appear 200 pixels high, 200 pixels wide, and will not contain any of the browser menus.
HTH
-
Jun 27th, 2001, 12:01 PM
#5
Hyperactive Member
You cannot do this to a parent browser window, without having a signed script. However, if you open a window, in IE you can use a setting called fullscreen found in the window.open method.
Here is the documentation on it:
http://msdn.microsoft.com/library/de...ods/open_0.asp
Now should you want to sign a script, go to verisign for info. This is the company that Microsoft recommends.
http://www.verisign.com
Hope this helps.
-
Jun 27th, 2001, 12:21 PM
#6
Thread Starter
Junior Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|