Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Maximizing Website Window

Status
Not open for further replies.

FrancieFL

Technical User
Mar 3, 2003
20
0
0
US
Is there a way that I can force my website to be opened as maximize? My site uses a background picture and doesn't display correctly if the site is not in a maximized window.
Thanks,
Francie
 
Try This...

<BEGIN CODE>
Code:
<head>
<script language=&quot;JavaScript1.2&quot;>

/*
Full Screen Window
Submitted by Paul Deron (paul1.web.com)
To add more shock to your site, visit [URL unfurl="true"]www.DHTML[/URL] Shock.com
*/

<!-- Begin
function fullScreen(theURL) {
window.open(theURL, '', 'fullscreen=yes, scrollbars=auto');
}
//  End -->
</script>
</head>


This is the code to open your window:

<a href=&quot;javascript:void(0);&quot; onClick=&quot;fullScreen('[URL unfurl="true"]http://www.dhtmlshock.com');&quot;>Open[/URL] Full Screen Window</a>
<END CODE>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top