Search this site!
CSBSupport Home
>
Sample Code
>
Browser Effects
>
Resize Browser Window to Fit
|
Redirect Web Page
|
Dynamically change text size on a page
|
Quote of the Day
|
Eliminate gap from top of page
|
Disable Right Click
|
Scroll message on Status Bar
|
Document transitions
|
Scroll text in window frame
|
Spotlight Effect
Resize Browser Window to Fit
Description:
Here's a very simple script that will allow the browser window to detect current window size and automatically adjust size and resolution to fit!
How to use:
Simply copy and paste the code (provided at the end of the page) onto your page, using Insert HTML or Build your own web gem.
Example:
Click here
to view a new browser that has the browser rezing script embedded into it.
Download the code
right click on link, then click on 'Save target (or frame) as'
Other information:
Source code:
<script language="Javascript">
<!--
window.moveTo(0,0)
window.resizeTo(screen.availWidth,screen.availHeight)
//-->
</script>