Text Size

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Joe Patrick

    #1

    Text Size

    On my websites index.html page I have this script:
    <SCRIPT language="JavaS cript">
    <!-- //
    if ((screen.width= =1024) && (screen.height= =768))
    {
    document.write( '<a href="active.ht ml">Click here</a> to Enter Railways
    Online);
    }
    else
    {
    document.write( 'This site is Best Viewed with a 1024x768 resolution. If
    you want to get the best of this site, please alter your settings, otherwise
    <a href="active.ht ml">Click here</a> to enter');
    }
    //-->
    </SCRIPT>
    Which, If the resoultion is not 1024x768 will display the bottom message,
    telling them to change their settings, if it is will display the top message
    with just an entry link.
    Is there a way of changing this so it will display the top message if the
    Screen Resolution is 1024x768 and the text size is Medium.
    Thanks in Advance,
    Joe
    --
    To reply direct, Remove NOSPAM and Replace with 21fun
    For the latest News, Information and Photos check out



  • Grant Wagner

    #2
    Re: Text Size

    No.

    Joe Patrick wrote:
    [color=blue]
    > On my websites index.html page I have this script:
    > <SCRIPT language="JavaS cript">
    > <!-- //
    > if ((screen.width= =1024) && (screen.height= =768))
    > {
    > document.write( '<a href="active.ht ml">Click here</a> to Enter Railways
    > Online);
    > }
    > else
    > {
    > document.write( 'This site is Best Viewed with a 1024x768 resolution. If
    > you want to get the best of this site, please alter your settings, otherwise
    > <a href="active.ht ml">Click here</a> to enter');
    > }
    > //-->
    > </SCRIPT>
    > Which, If the resoultion is not 1024x768 will display the bottom message,
    > telling them to change their settings, if it is will display the top message
    > with just an entry link.
    > Is there a way of changing this so it will display the top message if the
    > Screen Resolution is 1024x768 and the text size is Medium.
    > Thanks in Advance,
    > Joe
    > --
    > To reply direct, Remove NOSPAM and Replace with 21fun
    > For the latest News, Information and Photos check out
    > http://www.railwaysonline.co.uk[/color]

    Wait, so my desktop (because screen.height/width is the dimensions of my
    /desktop/, not the /browser/) of 1600 x 1200 is no good for your web site? You
    want me to REDUCE my desktop size to best view your web site? What about all
    those middle-aged people running 800 x 600 desktops on 15" monitors? You want
    them to increase their desktop resolution to 1024 x 768 and go blind in the
    process because that's what your web site happens to look best at?

    (subliminal message: <url: http://allmyfaqs.com/faq.pl?AnySizeDesign />)

    STOP TRYING TO CONTROL THE USER'S ENVIRONMENT.

    (subliminal message: <url: http://allmyfaqs.com/faq.pl?AnySizeDesign />)

    Make your web site look good (or reflow reasonably) at all resolutions and all
    font sizes.

    Not so subliminal message: GO HERE: <url:
    http://allmyfaqs.com/faq.pl?AnySizeDesign />

    --
    | Grant Wagner <gwagner@agrico reunited.com>

    * Client-side Javascript and Netscape 4 DOM Reference available at:
    *


    * Internet Explorer DOM Reference available at:
    *
    http://msdn.microsoft.com/workshop/a...ence_entry.asp

    * Netscape 6/7 DOM Reference available at:
    * http://www.mozilla.org/docs/dom/domref/
    * Tips for upgrading JavaScript for Netscape 7 / Mozilla
    * http://www.mozilla.org/docs/web-deve...upgrade_2.html


    Comment

    • David Dorward

      #3
      Re: Text Size

      Joe Patrick wrote:
      [color=blue][color=green]
      >> Bad HTML. That should be <SCRIPT type="text/javascript">[/color]
      >
      > Works fine as it is.[/color]


      [color=blue]
      > By medium I mean the option that you can select from View > Text Size[/color]

      View > what? No "Text Size" here, there's "Text Zoom", but that menu doesn't
      have medium on it.

      --
      David Dorward http://dorward.me.uk/

      Comment

      • Joe Patrick

        #4
        Re: Text Size

        > http://diveintomark.org/archives/200..._wont_help_you[color=blue]
        >[color=green]
        > > By medium I mean the option that you can select from View > Text Size[/color]
        >
        > View > what? No "Text Size" here, there's "Text Zoom", but that menu[/color]
        doesn't[color=blue]
        > have medium on it.[/color]

        On IE there is a Text Size under the View Menu


        Comment

        • Kevin Scholl

          #5
          Re: Text Size

          Joe Patrick wrote:
          [color=blue][color=green]
          >>http://diveintomark.org/archives/200..._wont_help_you
          >>
          >>[color=darkred]
          >>>By medium I mean the option that you can select from View > Text Size[/color]
          >>
          >>View > what? No "Text Size" here, there's "Text Zoom", but that menu[/color]
          >
          > doesn't
          >[color=green]
          >>have medium on it.[/color]
          >
          >
          > On IE there is a Text Size under the View Menu[/color]

          What of those of us that choose to use browsers other than (and usually
          superior to) Internet Explorer, and therefor edo not have those options?
          For example, I have View -> Increase Text Size and View -> Decrease Text
          Size in my browser of choice (Mozilla FIrebird).

          Herein lies the point the others have been making. You are unnecessarily
          limited your audience. If your photos are large, that's fine -- those
          that wish to view all of a particular photo will scroll as needed to
          view it. The most you really need to do is place a small warning at the
          entry point that "some photos contained in this site are large. They may
          require extended download times and scrolling to view in their entirety."

          Simple as that.

          --

          *** Remove the DELETE from my address to reply ***

          =============== =============== =============== =====
          Kevin Scholl
          kscholl@comcast .DELETE.net
          --------------------------------------------------
          Web Development and Graphic Design

          --------------------------------------------------
          We are the music makers, and we are the dreamers
          of the dreams...
          =============== =============== =============== =====

          Comment

          • David Dorward

            #6
            Re: Text Size

            Joe Patrick wrote:
            [color=blue][color=green][color=darkred]
            >> > By medium I mean the option that you can select from View > Text Size[/color][/color][/color]
            [color=blue][color=green]
            >> View > what? No "Text Size" here, there's "Text Zoom", but that menu
            >> doesn't have medium on it.[/color][/color]
            [color=blue]
            > On IE there is a Text Size under the View Menu[/color]

            Not everybody uses MSIE, that's the point I'm making.

            --
            David Dorward http://dorward.me.uk/

            Comment

            Working...