Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #10990

Re: access denied sometimes

Date 2012-02-02 07:32 +1100
From Andrew Poulos <ap_prog@hotmail.com>
Newsgroups comp.lang.javascript
Subject Re: access denied sometimes
References <P_Kdnbc8noAMCLXSnZ2dnUVZ_tydnZ2d@westnet.com.au> <37951705.v2dyPLxO9Y@PointedEars.de>
Message-ID <zZydnWIsN4b-PLTSnZ2dnUVZ_uWdnZ2d@westnet.com.au> (permalink)

Show all headers | View raw


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.

Andrew Poulos

Back to comp.lang.javascript | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

access denied sometimes Andrew Poulos <ap_prog@hotmail.com> - 2012-02-01 12:29 +1100
  Re: access denied sometimes Gene Wirchenko <genew@ocis.net> - 2012-01-31 18:16 -0800
  Re: access denied sometimes Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-01 20:35 +0100
    Re: access denied sometimes Andrew Poulos <ap_prog@hotmail.com> - 2012-02-02 07:32 +1100
      Re: access denied sometimes Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-01 21:54 +0100
        Re: access denied sometimes Andrew Poulos <ap_prog@hotmail.com> - 2012-02-02 10:38 +1100
          Re: access denied sometimes Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2012-02-02 01:31 +0100
            Re: access denied sometimes "Jukka K. Korpela" <jkorpela@cs.tut.fi> - 2012-02-02 02:38 +0200

csiph-web