Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.unit0.net!takemy.news.telefonica.de!telefonica.de!newsfeed.arcor.de!newsspool4.arcor-online.net!news.arcor.de.POSTED!not-for-mail Content-Type: text/plain; charset="UTF-8" Message-ID: <4129907.3EVFNLhrE8@PointedEars.de> From: Thomas 'PointedEars' Lahn Reply-To: Thomas 'PointedEars' Lahn Organization: PointedEars Software (PES) Date: Wed, 01 Feb 2012 21:54:38 +0100 User-Agent: KNode/4.4.11 Content-Transfer-Encoding: 8Bit Subject: Re: access denied sometimes Newsgroups: comp.lang.javascript References: <37951705.v2dyPLxO9Y@PointedEars.de> Followup-To: comp.lang.javascript MIME-Version: 1.0 Lines: 31 NNTP-Posting-Date: 01 Feb 2012 21:54:38 CET NNTP-Posting-Host: fc6c365e.newsspool2.arcor-online.net X-Trace: DXC=n`LjY;TOkMVaoembcbF;DQA9EHlD;3YcR4Fo<]lROoRQ8kF On 2/02/2012 6:35 AM, Thomas 'PointedEars' Lahn wrote: >> Andrew Poulos wrote: >>> When a page with >>> window.top.resizeTo(640, 480); >>> off my local hard drive IE sometimes complains and says that access is >>> denied. If I close the page and try again IE usually opens the page with >>> no error. >>> >>> Its not a big deal its that I have no idea why. >> >> Details, please. For example, why window.*top*.resizeTo(…)? Are frames ^^^^^^^^^^^^^^^^ >> involved? > > Its the front page of an elearning course and it doesn't include any > frames. The reason for 'top' is that some users have been known to embed > the page in a frame. > > The window.top.resize is the "first" js thing that's called. Please, go on. PointedEars -- Sometimes, what you learn is wrong. If those wrong ideas are close to the root of the knowledge tree you build on a particular subject, pruning the bad branches can sometimes cause the whole tree to collapse. -- Mike Duffy in cljs,