PDA

View Full Version : Screen Size


screwface
06-25-2002, 08:33 PM
If i format my document to 400x350 i want my browserwindow to be that as well is there any way to format the browser window to these stats???


Thanks

pricey
06-25-2002, 09:07 PM
Yes there is - if your'e referring to an swf that you wish to fill the browser window ??

within your html editor find the swf file's dimensions - it will look like this :

object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="400" height="350">

Where the code says 400 x 350 , change these to 100%

This will resize your document to 100% of your browser window.


If you have dreamweaver you can simply do this in the properties dialogue box.

Give this a try 1st to see if it helps

Abelius
06-26-2002, 04:47 PM
add:

<style>
body { margin:0 }
</style>

in the document's "header" to get rid off the 5 pixels margin as well... :)

ScratUAD
06-27-2002, 01:44 PM
so you want your browser window to be the size of your movie?
I suggest loading it as a popup and optionally closing the window it loaded from...
check out

in this version I used a bit of javascript to send the user back where they came from after opening the popup.
full window popup (http://www.sonfiremartialarts.com/UAD/popup.html)

Abelius
06-27-2002, 02:54 PM
That's another option, but many people don't like pop-up windows...

ScratUAD
06-27-2002, 02:58 PM
I'm sure that if they understand that the popup window is the site... they may not be to adverse to it. the sight is what they want right?

Abelius
06-27-2002, 03:00 PM
Correct, ScratUAD :)