SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Kat's Meow Senior ******* WebKat's Avatar
    Join Date
    Jul 1999
    Location
    California USA
    Posts
    1,071
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Forcing me to 'view' only what 'you' want me too is a really bad idea

    I have only 640x480 and if my screen resolution was forced any higher it 'crashes' my system - I don't have the 'power'

    Although webmasters may have the ability to do 'anything' take time to consider the consequences...

    ------------------
    PPSV's WebKat
    Professional Photographers of Sacramento Valley


  2. #2
    SitePoint Member
    Join Date
    Jan 2000
    Location
    Ankara, Turkey
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I designed a site for 800x600 only resolution. I tried to force browsers to open in 800x600 but I couldnt achive.
    Do u have any idea ?
    I tried this code but I think It doesnt work
    part of the code is:

    <script language="JavaScript"><!--
    function pencere() {
    browser.open("","pencere","width=800,height=600,resizable=no,status=no,scrollbars=no")
    }
    // --></script>

    <dl>
    <dt><a href="turk/index(1).html" target="pencere"
    onclick="pencere()"><img src="turkce.jpg" border="0"
    width="95" height="42"></a><a
    </dl>

  3. #3
    Don't get too close, I bite! Nicky's Avatar
    Join Date
    Jul 1999
    Location
    Lancashire, UK
    Posts
    8,277
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    You should never try to force anything on anyone - it just doesn't work. If you are competent you should be able to design a webiste that is viewable in all resolutions, just like Matt has!

    ------------------
    Webmaster of Gib-Online Dot COM (or webmistress for that matter!)
    www.gib-online.com
    The Rock of Gibraltar on the WEB


  4. #4
    jbm
    SitePoint Community Guest
    I totally agree with Nicky, but here is a piece of code that I found a while ago (I think it was scriptsearch.com), I havn't checked to see if it works, hopefully it'll do the trick for you:

    <head>
    <SCRIPT language="JavaScript">
    function checkres()
    { var tools=java.awt.Toolkit.getDefaultToolkit();
    var size=tools.getScreenSize();
    w=size.width;


    if (w >= 800) {
    document.location.href = "your_800_px_page_name.html";
    }

    }
    </script>
    </head>

    <body onLoad="checkres()">
    </body>

    jbm


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
  •