Results 1 to 5 of 5

Thread: expand page to fit resolution

  1. #1
    Join Date
    Nov 2005
    Posts
    132
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default expand page to fit resolution

    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

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The screen fills every user's monitor, they are one and the same. Be more precise in your question, please.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Nov 2005
    Posts
    132
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    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?

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    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>
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  5. #5
    Join Date
    Nov 2005
    Posts
    132
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    just the job , cheers

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •