Code Newbie
News     Forums     Search     Members     Sign Up    

My Code Newbie
Username

Password

Articles/Snippets
ASP Classic
ASP.NET
C
C#
C++
HTML / CSS
Java
Javascript
Linux / BSD
Perl
PHP
Python
Ruby
SQL
VB 6
VB.NET

C.N. Friends
  Planet Rome

Link to Us!
Code Newbie
  Code Newbie
    forums
Go Back   Code Forums > Application and Web Development > HTML, XML, Javascript, AJAX
User Name
Password

Reply
 
LinkBack Thread Tools Display Modes
Old 12-20-2002, 04:34 AM   #1 (permalink)
Miststlkr
Registered User
 
Join Date: Jun 2002
Location: South of Sanity
Posts: 8
Miststlkr is on a distinguished road
Force Window Maximize?

is there a way to force a window to load maximized? i seem to remember something in javascript but I can't think of it right now.

thanks

BTW: new site look is great! :rock:
__________________
Miststlkr is offline   Reply With Quote
Old 12-20-2002, 06:46 AM   #2 (permalink)
Admin
$_['Your_Mom'];
 
Admin's Avatar
 
Join Date: May 2002
Location: Santee
Posts: 627
Admin is on a distinguished road
eke, why would you wanna do that? i run dual monitors and close any website that does that.

anyways try this in the HEAD of your document:

Quote:
<script language="JavaScript1.2">
<!--

top.window.moveTo(0,0);
if (document.all) {
top.window.resizeTo(screen.availWidth,screen.avail Height);
}
else if (document.layers||document.getElementById) {
if (top.window.outerHeight < screen.availHeight||top.window.outerWidth < screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
//-->
</script>
__________________


Urban Clothing
Admin is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenGL.dll Mr.Anderson Platform/API C++ 3 08-13-2004 10:07 AM
is there a free download MySQL GUI window? Ploy PHP 3 07-09-2004 04:39 PM
Print window Belisarius HTML, XML, Javascript, AJAX 1 08-05-2003 04:42 AM
force delete from command line sde Windows 4 04-24-2003 12:14 PM


All times are GMT -8. The time now is 07:13 PM.


Powered by vBulletin Version 3.6.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0 RC8





Copyright © 2000-2006, Milano Interactive
Web Hosting provided by Portal 360 Web Hosting
Open Circle