script-controlled tablewidthchange, for diff. screen resolutions
[email protected] ("helmut ott")
| Newsgroups | php.general |
|---|---|
| Message-ID | <009f01bfbda6$2e8c9850$09bf06d5@pentium> |
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