Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

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
Trades: 0
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
 
 
Register now for full access!
Old 05-21-2006, 04:12 AM Re: page size - I want the window to fill screen
Novice Talker

Posts: 13
Location: Vancouver, BC
Trades: 0
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:
Please login or register to view this content. Registration is FREE
gumlor is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to page size - I want the window to fill screen
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 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.53563 seconds with 12 queries