By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,528 Members | 1,326 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,528 IT Pros & Developers. It's quick & easy.

Staying Framed

P: n/a
Hi,

I have been searching around for a way to ensure a page stays framed.
Here's the catch. The user starts at a two-frame page with the Google
directory in one frame. I want the user to be able to navigate
through the Google directory, but within the frame. Google has some
sort of frame-busting script on this page and I need to find a work
around. The standard,

if (top.location == self.location) {
top.location = 'page.html'
}
script doesn't work because I can't place this script in Google's
page. I have to control it from my pages, either the frameset page or
the other frame.

Thanks for the help
Jamal.
Jul 20 '05 #1
Share this Question
Share on Google+
3 Replies


P: n/a
Jamal wrote on 31 aug 2003 in comp.lang.javascript:
script doesn't work because I can't place this script in Google's
page. I have to control it from my pages, either the frameset page or
the other frame.


Google is not yours, do the "have to" is a bit meaningless.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jul 20 '05 #2

P: n/a
it*@ualberta.ca (Jamal) writes:
I have been searching around for a way to ensure a page stays framed. .... Google has some sort of frame-busting script on this page and I need
to find a work around.


There is none, if you are talking a normal web page.

In that case, you might also need to check the legality of creating
a derivative work without Google's permission.

If this is only for yourself on a computer you control, try looking
into HTML applications for IE.
/L
--
Lasse Reichstein Nielsen - lr*@hotpop.com
Art D'HTML: <URL:http://www.infimum.dk/HTML/randomArtSplit.html>
'Faith without judgement merely degrades the spirit divine.'
Jul 20 '05 #3

P: n/a
> > I have been searching around for a way to ensure a page stays framed.
...
Google has some sort of frame-busting script on this page and I need
to find a work around.


There is none, if you are talking a normal web page.

In that case, you might also need to check the legality of creating
a derivative work without Google's permission.

If this is only for yourself on a computer you control, try looking
into HTML applications for IE.


I am undergoing the change from Frames to CSS on my site, when I did have
frames, I Put my meta tags and told google about a normal index.html page.
The index.html page contained the disclaimer and no frames or tables. It had
a link saying Click here to enter, and it linked to my frames page. If you
HAVE to have frames its good for links from Google, yahoo etc. But try not
to use frames!
--
To reply direct, Remove NOSPAM and Replace with 21fun
For the latest News, Information and Photos check out
http://www.railwaysonline.co.uk
Jul 20 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.