Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Changing a Users Screen Resolution

  1. #1
    Join Date
    Jul 2005
    Posts
    223
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Question Changing a Users Screen Resolution

    Is there a JavaScript that can change a users resolution?

    Like, if a user clicks a button/link there resolution will change, or once they enter the site their resolution changes, then when they leave it changes back.
    My Web Site
    Japan Town

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    No.

    If you need to do this, there's something seriously wrong with the basic design of your site, and you should start over.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Jul 2005
    Posts
    223
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default

    the width of the site is 801px

    is that good or bad
    My Web Site
    Japan Town

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Bad -- you shouldn't be using pixel values. A page designed using relative measures (percentages, ems) will resize itself to look decent at any resolution.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Jul 2005
    Posts
    223
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default

    but the header is a image that is 801px wide.

    if i use % it will get distorted
    My Web Site
    Japan Town

  6. #6
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Like I said, you should probably start over your site template and make it more flexible, with less dependence upon big, rigid images. Perhaps you could break the header down into a few smaller images and some HTML?
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  7. #7
    Join Date
    Jul 2005
    Posts
    223
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default

    i dont understand how breaking the image down will make it more flexible. after all, it will have the same width.
    My Web Site
    Japan Town

  8. #8
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    The HTML is the key part.

    Looking at your header, I see you have an image composed of several parts: a logo, some menus, and a lot of blank space. Everything except the logo can be done in HTML. I measure that logo at around 260px, which is a much better minimum width than 801.
    Last edited by Twey; 07-18-2006 at 01:04 AM.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  9. #9
    Join Date
    Jul 2005
    Posts
    223
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default

    ahhh i dunno how to do that. i just looked up the most common resolution and it said it was 1024x768. thats what im using and it looks great, ill just stick with it for a while
    My Web Site
    Japan Town

  10. #10
    Join Date
    Jul 2005
    Posts
    223
    Thanks
    12
    Thanked 0 Times in 0 Posts

    Default

    okay i am wondering

    dont think im stupid for asking this question, because i am!

    in the future, are the 800x600, 1024x768, etc etc resolutions ever going to go obsolete?

    are the future computer resolutions going to continue to get higher and higher?

    or are they going to stay where they are?
    My Web Site
    Japan Town

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
  •