Login or Sign Up
Logging in...
Remember me
Log in
Or
Sign Up
Forgot password or user name?
Log in with
Forums
Blogs
Articles
Groups
Galleries
Member List
Calendar
Home
Forum
Simply Business
Fucking Around & Business Discussion
Does anyone have javascrpt(or something else) code to maximize a window
Does anyone have javascrpt(or something else) code to maximize a window
Collapse
X
Collapse
Posts
Latest Activity
Photos
Page
of
1
Filter
Time
All Time
Today
Last Week
Last Month
Show
All
Discussions only
Photos only
Videos only
Links only
Polls only
Events only
Filtered by:
Clear All
new posts
Previous
template
Next
nick3131
Confirmed User
Join Date:
Dec 2004
Posts:
1193
Share
Post
#1
Does anyone have javascrpt(or something else) code to maximize a window
03-20-2008, 09:59 PM
I tried using window.resizeTo but it doesn't seem to work on IE
Help me out please.
Signed nick3131
NickSunshine
Confirmed User
Join Date:
Mar 2006
Posts:
1196
Share
Post
#2
03-20-2008, 10:54 PM
<script language="JavaScript">
window.moveTo(0,0);
window.resizeTo(screen.width,screen.height);
</script>
Comment
Post
Cancel
NickSunshine
Confirmed User
Join Date:
Mar 2006
Posts:
1196
Share
Post
#3
03-20-2008, 10:57 PM
damn nick, i read the title and posted without reading your post.
i pulled that scrap out of the <head> block of an old project and havent tried it in a year or two at least...
sorry.
Comment
Post
Cancel
andras
Registered User
Join Date:
Jan 2007
Posts:
3
Share
Post
#4
03-20-2008, 11:13 PM
<head>
<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 = top.screen.availHeight;
top.window.outerWidth = top.screen.availWidth; }
}
</script>
</head>
Comment
Post
Cancel
Previous
template
Next
Working...
OK
OK
Cancel
😀
😂
🥰
😘
🤢
😎
😞
😡
👍
👎
☕
Comment