PDA

View Full Version : expand page to fit resolution



neilkw
02-21-2006, 11:26 AM
hi, it's been done before but can i find it!

Just designing a site and my client wants the homepage to expand to fill the users screen resolution so as to set off the smaller flash display in the very centre. How do I set that screen to fill the users monitor.
cheers

jscheuer1
02-21-2006, 12:02 PM
The screen fills every user's monitor, they are one and the same. Be more precise in your question, please.

neilkw
02-21-2006, 12:14 PM
aplogies, just need to assign script so that a web page completely fills the viewable area on load. ie no other windows are viewable. so if a user has a 800x600 screen, the web page fills to the extremeties of the resolution of the screen.

I intend to do a flash presentation of around 200x200 pielx in the very centre.
is this making sense?

jscheuer1
02-21-2006, 12:29 PM
You cannot do this unless the link to the page is under your control. If it is, you can do like so:

<a href="flash_page.htm" onclick="window.open(this.href, '','left=0, top=0, width='+screen.availWidth+', height='+screen.availHeight);return false;">Flash Page</a>

neilkw
02-21-2006, 12:46 PM
just the job , cheers