In comp.lang.javascript message <4af21589$0$279$14726298 (AT) news (DOT) sunsite.dk
Quote:
, Thu, 5 Nov 2009 00:00:03, FAQ server <javascript (AT) dotinternet (DOT) be
posted:
-----------------------------------------------------------------------
FAQ Topic - How do I modify the current browser window?
-----------------------------------------------------------------------
In a default security environment you are very limited in how much
you can modify the current browser window. You can use
` window.resizeTo ` or ` window.moveTo ` to resize or move a
window respectively, |
Not always true, AFAIK.
Since I have for a long time had a scripted ReSize button at the top of
my home page, which I put there because it is useful, I cannot imagine
that I have knowingly turned off resizeTo or moveTo (also used) in any
browser.
IE & FF & Safari resize; Opera and Chrome do not.
And, even if I have disabled, or failed to enable, resizeTo and moveTo,
ISTM that authors of pages that I read with Opera or Chrome will be
unable to resize them.
Therefore, the FAQ should not say, without qualification, "You can use
` window.resizeTo ` or ` window.moveTo ` to resize or move a window
respectively, ...".
Change "can" to "may be able to".
=====
The word "canvas" appears, AFAICS, nowhere in the FAQ. It should, even
if only in Section 3.2. If nothing better is offered, it can maybe link
to <http://dev.opera.com/articles/view/html-5-canvas-the-basics/>.
--
(c) John Stockton, Surrey, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.
Proper <= 4-line sig. separator as above, a line exactly "-- " (SonOfRFC1036)
Do not Mail News to me. Before a reply, quote with ">" or "> " (SonOfRFC1036)