473,395 Members | 1,996 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Forcing web page to load in a frame.

Hello,
I have a html page with 3 frames. If i specify the source for any
of frames as http://www.gmail.com or http://www.hotmail.com, all frames
go away and the site utilizes the full window. I want these sites to
open in the frames only. Other sites like http://www.google.com opens
in the specified frame (displaying other frames unaffected).
Here is a sample html page.

<html>
<frameset rows="200,*,200" border="1">

<frame name="toolbar" scrolling="no" noresize
src="http://www.yahoo.com" frameborder="1">

<frame name="content" scrolling="yes" noresize
src="http://www.gmail.com" frameborder="1">

<frame name="banner" scrolling="no" noresize
src="http://www.google.com" frameborder="1">

</frameset>
</html>

On above page, yahoo and google opens up perfectly, but for
gmail, it throws a 'Permission Denied' javascript error.
I think its the behaviour imposed by the site and can not be controlled
by us. Any suggestions.

Any help is appreciated.

Thanks.

Jul 23 '05 #1
1 1534
Harshal wrote:
I have a html page with 3 frames. If i specify the source for any
of frames as http://www.gmail.com or http://www.hotmail.com, all frames
go away and the site utilizes the full window.


Yes. They have a frame breaking script.

gmail uses
if (top.location != self.location) {
top.location = self.location.href;
}

Daniel
Jul 23 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: petev | last post by:
Hello, can anyone help me out?? Maybe its a bit complicated, maybe not :) I'll try to explain. Am not a programmer so have patience! I have a website whose url looks like this:...
3
by: foldface | last post by:
Hi Given a web page using frames, is there anyway the left frame can request a page in the right frame and, most importantly, detect when it has fully loaded? Ideally this requires no changes to...
1
by: Bongolation | last post by:
I've looked in the FAQ and didn't see anything on this. There must be a simple solution to this VERY common problem: A site featuring many text articles and archives has a frameset of two...
10
by: Bernard Davis | last post by:
Hi, I've been asked to add some pages to an existing web-site that was done in frames (two different sets of frames with different navigation links). I need to ensure that if someone tries to...
5
by: SigRob | last post by:
I have PAGE1 with the link to PAGE2 with iframe. (iframe load several naked html). I want to add directive to the link to point sprcific content of iframe. to make it clear link on PAGE1 ->...
3
by: Robin | last post by:
Hi, I have a question: If I have a frameset, frame1 and frame2. On frame2 I have a datagrid, on which I can add/update/delete rows. If I submit that page, I catch these changes in events and...
1
by: invinfo | last post by:
I know you can use JS to prevent other sites from using your .html in a frame / frameset. Can the opposite be done ? If your page is designed to be viewed inside a Frame / FS only; and your...
3
by: Daz | last post by:
Hi everyone. I am making a stand alone web application, that listens for when the DOM content of a frame is loaded. Once it's loaded, I would like to stop the frame from loading further, as I...
11
by: tdmailbox | last post by:
I have a website that I subscribe to that allows me to track tasks. I have an extra computer with a big monitor that i want to always display the task list. the problem is after so many hours I...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.