Re: Dynamic Pages

From: Andrew _at_ Rockface (_at_)
Date: 01/30/05

  • Next message: roll: "need help with timestamp"
    Date: Sun, 30 Jan 2005 13:28:55 +0000 (UTC)
    
    

    Ashmodai wrote:
    > Shane Malden scribbled something along the lines of:
    >> Hi, I am trying to create a page which will automaticlly change the
    >> size of tables/graphics etc based on the screen resolution. Eg, if
    >> someone is using a 800x600 the page layout will utilise this. If the
    >> same webpage is diaplayed on a 1024x768 or 1280X1024 the cells are
    >> adjusted according. By doing something like this could you make the
    >> logo change size by using a percent size in a table cell or is there
    >> a better method than tables? If anyone is able to help with tips or
    >> any examples (code or url reference) it would be appreciated.
    >
    > The window size (which is more reliable than the screen resolution in
    > this case) can be determined via JavaScript -- IIRC the call is
    > different for Mozilla/Netscape and MSIE tho.
    >
    > You could either pass the values to the PHP application or perform the
    > size adjustment client-side.

     Or create a fluid design in the first place. One that doesn't rely on
    window/viewport sizes etc.


  • Next message: roll: "need help with timestamp"