Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: How to prevent webpages that remove framesets


Message #1 by "Fahad Bin Rahat" <fahad_djs@h...> on Thu, 16 Jan 2003 08:59:01
> -----Message d'origine-----
> De : Fahad Bin Rahat [mailto:fahad_djs@h...]
> Envoy=C3=A9 : jeudi 16 janvier 2003 09:59
> =C3=80 : javascript
> Objet : [javascript] How to prevent webpages that remove framesets
>
>
> Hi there,
>
> I have a frameset. There are two frames. A top one and a bottom.
> accordingly there are two webpages for these frames. one for
> top frame and
> other for bottom frame(By default). I am browsing the bottom
> frame to any
> webpage by providing the user with a textfield in top frame's
> document,
> where they type in any URL.
> The problem is that some webpages when open in bottom frame,
> destroy the
> frameset and occupy the complete area of window. How can i
> manage this
> that any webpage must open withing bottom frame? Like there
> is in hotmail
> messages. thier top fame always exists.

	I don't think you can because those web pages check for the
existence of parent object.  Maybe you could try to use iframe instead 
of
frame.

> pls respond to this problems ASAP.

	Please don't ask people to respond ASAP.  We aren't paid to answer.
We don't have obligation to do so.  So we answer whenever we have time 
(and
perhaps mood).

>
> Regards.
>

  Return to Index