Reply
page size - I want the window to fill screen
Old 05-19-2006, 12:59 AM page size - I want the window to fill screen
Junior Talker

Posts: 3
I have built a Flash site and am publishing it with DreamWeaver.
I want the Flash .swf to sit centred in the middle of a window that automatically fills the screen. I know this can be done - I just don't know how.
I'm very new to DreamWeaver so plain English please!

Thanks
digital hero is offline
Reply With Quote
View Public Profile
 
When You Register, These Ads Go Away!
     
Old 05-21-2006, 04:12 AM Re: page size - I want the window to fill screen
Novice Talker

Posts: 13
Location: Vancouver, BC
try this script: (put it into the <head> section of the webpage, right before the ending </head> tag.)

<script language="JavaScript1.2">
<!--
/***********************************************
* Auto Maximize Window Script- © Dynamic Drive (www.dynamicdrive.com)
* This notice must stay intact for use
* Visit http://www.dynamicdrive.com/ for this script and 100's more.
***********************************************/
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.wi ndow.outerWidth<screen.availWidth){
top.window.outerHeight = screen.availHeight;
top.window.outerWidth = screen.availWidth;
}
}
//-->
</script>

as a credit, i got this from:
http://www.dynamicdrive.com/dynamicindex8/automax.htm
__________________
Visit my startup - Tooldle.com: $0 Web Plugin Tools for Web Designer
gumlor is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to page size - I want the window to fill screen
 

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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




   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML

 


Page generated in 0.10523 seconds with 13 queries