JRS: In article <Xn********************@194.109.133.242>, dated Fri, 13
Jan 2006 08:33:42 local, seen in news:comp.lang.javascript, Evertjan.
<ex**************@interxnl.net> posted :
Zeez wrote on 13 jan 2006 in comp.lang.javascript:
I found a way to zoom into a web page by using this code:
body.style.zoom = 200%. (this piece of code magnifies the page 2 times
larger)
IE only!!!
Perhaps "some IE only!!!" ??
The following, executed in js-index.htm or otherwise, may be useful for
those with good eyesight & monitors ...
for (J in document.body.style) document.writeln(J, "<br>")
document.body.style.fontSize = 11
It tells how to do things, for the current browser, with some clue as to
what they may be.
I don't recall how one can read the current settings of those (such as
cursor ).
There's nothing for asymmetrical zoom, AFAICS; that's a pity, because
programmed linear transformations (such as can be done in Windows Paint
and IIRC PostScript) could be very useful.
I once had an application which could squash fonts horizontally; Courier
squashed 60% can be very readable for the area it takes up.
--
© John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.com/faq/> JL/RC: FAQ of news:comp.lang.javascript
<URL:http://www.merlyn.demon.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demon.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.