> -----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