Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Preventing 'Access is denied'


Message #1 by =?iso-8859-1?Q?H=F6r=F0ur_Kristinn_Hei=F0arsson?= <eight@s...> on Mon, 21 Oct 2002 15:12:02 -0000
> -----Message d'origine-----
> De : H=C3=B6r=C3=B0ur Kristinn Hei=C3=B0arsson 
[mailto:eight@s...]
> Envoy=C3=A9 : lundi 21 octobre 2002 17:12
> =C3=80 : javascript
> Objet : [javascript] Preventing 'Access is denied'
>
>
> Hi
> 
> Is there any way to check if other frames are accessible, without
> causing an error?

Try to use
try {....} catch {...}
syntax.

> I'm trying to get the referrer from the top page of a
> frameset, but when
> other frame pages open this frameset page in their frame, I get an
> error, causing the rest of the script not to be run.
> 
> Anyone familiar with this problem?
> 
> Thanks,
> Hordur
>
>
>
> ---
>
> Improve your web design skills with these new books from Glasshaus.
>
> Usable Web Menus
> http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=3Dnosim/th
> eprogramme
> r-20
> Constructing Accessible Web Sites
> http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=3Dnosim/th
eprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=3Dnosim/theprogram
me
r-20

  Return to Index