Re: dynamic font
| From: | Tim Blackwell | Date: | Tue, 19 Nov 2002 17:13:55 +0000 |
| Subject: | Re: dynamic font | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17043@lists.php.net to get a copy of this message | ||
here's what i use..
function Popup(w,h,page,name, scroll) {
win = window.open(page, name, 'height=450;width=350')
}
function getPicture() {
scr = window.screen;
wid = scr.width
if (wid <= 800) {
document.write("<img src=600-800image.jpg?OpenImageResource>");
}
if (wid > 800) {
document.write("<img src=1024image.jpg?OpenImageResource>");
}
}
tim
"Franco Pozzer" <franco.pozzer@infocamere.it> wrote in message
news:3DC78D6D.FAA67EC6@infocamere.it...
>
> Thanks for all and sorry for my english. I hope to write
well...............
>
> I want to calibrate/balance dinamically the font size of my application in
the
> html tag depending of the resolution screen.
>
> Example if I have 800x600 I must be to use a font size or if I have
1024x766
> another font size.
>
> Have you same idea to resolve this my problems?? Sameone have a sample
code for
> me???
>
> Thanks again for all.
>
> www.infocamere.it
> franco.pozzer@infocamere.it
>
>
>
>