A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: resolution detection

  1. #1

    resolution detection

    how do u do resolution detection in a html page so it forwards the page to the "right" page ???
    -------------RaZorCleaN------------

  2. #2
    Senior Member pellepiano's Avatar
    Join Date
    Feb 2000
    Location
    Stockholm, Sweden
    Posts
    15,151

    -Pelle Piano
    // Image Gallery
    www.studiobild.com
    // Photo Blog
    http://talesofthepixel.blogspot.com

  3. #3
    Old man of minimal posts
    Join Date
    Jul 2000
    Location
    Nottingham, UK
    Posts
    230
    You can use JavaScript to figure out the user's resolution.

    <SCRIPT language=JavaScript>

    var he = window.screen.availHeight;
    var wi = window.screen.availWidth;

    </SCRIPT>

    Then just do a redirect based upon these values.

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center