script-controlled tablewidthchange, for diff. screen resolutions
| From: | helmut ott | Date: | Sun, 14 May 2000 13:13:22 +0000 |
| Subject: | script-controlled tablewidthchange, for diff. screen resolutions | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-50@lists.php.net to get a copy of this message | ||
Hallo everybody,
huuh - has anybody seen a scriptbased, parametric pagelayout control?
Depending on the viewers screen resoltion I would like to change table and cell widths in my page.
This would mean I only need ONE version. The screen resolution detection would e.g. find a width of
640 pix. Say my sttandrad res. was 800 than a factor could calulated by setting Factor=res. viewer /
res. standard. In the above sample this would be 640 / 800 = 0,8 as factor-value.
All page, table, row, cell, images width (and heights) would have to be multilied with this factor.
As the screen res. can only be analysed on the clientside it must be e.g. a javascript to do that.
Did anybody hear about any way to get this done.
Any tip is greatly appreciated.
Helmut