Forums
This topic is locked
Publishing size
Posted 11 Mar 2003 16:13:04
1
has voted
11 Mar 2003 16:13:04 Peter Rock posted:
Please HELP!I need to publish my website, but how do i adjust the html size? I don't want it to be full screen, just the size of what i created? Please email me at
This is urgent. Thanks so much
Replies
Replied 13 Mar 2003 03:42:22
13 Mar 2003 03:42:22 james crellin replied:
Here is a website with a javascript to resize the browser window when it loads.
www.cgiscript.net/cgi-script/csNews/csNews.cgi?database=js_misc%2edb&command=viewone&id=56&op=t
The code looks like this:
-------------------------------------------------------------------------
Use this code to automatically resize a window to a specified Width,Height. For example, you can automatically resize a window to 700 x 500.
<b>Directions: </b>
Add the onLoad code to the BODY tag of the document you would like to resize. Use the 'Grab Text' buttons to select the code within the adjacent textarea. Then use Control-C or Edit -> Copy to buffer the text for pasting into your document.
Example: <body onLoad="resizeTo(0,0);">
<u>Note:</u> The first 0 in (0,0) is for the width and the second 0 is for the height.
-------------------------------------------------------------------------
I hope that is what you are looking for.
"The greatest thing the devil ever did was convince you he didn't exist." =- The Usual Suspects
www.cgiscript.net/cgi-script/csNews/csNews.cgi?database=js_misc%2edb&command=viewone&id=56&op=t
The code looks like this:
-------------------------------------------------------------------------
Use this code to automatically resize a window to a specified Width,Height. For example, you can automatically resize a window to 700 x 500.
<b>Directions: </b>
Add the onLoad code to the BODY tag of the document you would like to resize. Use the 'Grab Text' buttons to select the code within the adjacent textarea. Then use Control-C or Edit -> Copy to buffer the text for pasting into your document.
Example: <body onLoad="resizeTo(0,0);">
<u>Note:</u> The first 0 in (0,0) is for the width and the second 0 is for the height.
-------------------------------------------------------------------------
I hope that is what you are looking for.
"The greatest thing the devil ever did was convince you he didn't exist." =- The Usual Suspects