Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 11-16-2005, 09:08 PM   #1
In Runtime
 
outlawstar4761's Avatar
 
Join Date: Jan 2005
Posts: 186
Default Html page size

I've looked all over and I can't figure this out. You know how sometimes when you click on a page the page you get directed to is a different size? (usually smaller, like a window or something). How do you do that???
__________________

outlawstar4761 is offline   Reply With Quote
Old 02-12-2006, 10:10 PM   #2
Solid State Member
 
Crath's Avatar
 
Join Date: Feb 2006
Posts: 15
Default Re: Html page size

In the <head> section:

<script>
function changeScreenSize(w,h)
{
window.resizeTo( w,h )
}
</script>

In the <body> tag:

<body onload="changeScreenSize(500,300)">

Source

Hope this helps!
Crath is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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



All times are GMT -5. The time now is 04:27 AM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0