SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Feb 2004
    Location
    Ga
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Setting the browser window size

    Is there a way to set the browsers window size to a specific size when they open my website? My menu bar shrinks when the browser window is too small.
    Example
    Large browser window

    | Home Weddings Porfolio Contact us leeseventphotography|

    When the browser is resized or smaller it shrinks my menu bar instead of allowing you to scrolll left or right.

    | Home Weddings Portfolio leeseventphotography|
    |Contact us

    My menu text are jpeg hyperlinks.

    Thanks for the help.

  2. #2
    SitePoint Member
    Join Date
    Feb 2004
    Location
    Ga
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mjpage
    Is there a way to set the browsers window size to a specific size when they open my website? My menu bar shrinks when the browser window is too small.
    Example
    Large browser window

    | Home Weddings Porfolio Contact us leeseventphotography|

    When the browser is resized or smaller it shrinks my menu bar instead of allowing you to scrolll left or right.

    | Home Weddings Portfolio leeseventphotography|
    |Contact us

    My menu text are jpeg hyperlinks.

    Thanks for the help.
    Correction when the browser is shinked low enough the left-right scroll bar appears. And the second example is as far as my menu will shrink.
    Is ther a way to correct this?

  3. #3
    SitePoint Wizard megamanXplosion's Avatar
    Join Date
    Jan 2004
    Location
    Kentucky, USA
    Posts
    1,099
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes, move the menu to the side of your webpage, or try to exclude links from it if they are not important. Relying on screen resolution is never a reliable way to make web pages. Using JavaScript to resize the window will not be an effective solution, for several reasons...

    • Turn JS Off and BOOM, the website is broken again.
    • Browsers such as Opera allow the user to customize the abilities that JS may use, such as resizing windows.
    • The problem arised when you ran into a resolution problem, you'll be doubling the resolution problem by changing the window size on resolutions that are too small. Would you want to view a website which insisted on being twice as large as your desktop? I think not.


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
  •