473,386 Members | 1,798 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,386 software developers and data experts.

Frames

6
I just want to display two pages in one page so i am using frames.I have use simple html code.One side I kept google home page and another yahoo.When I search through google I am able to see the two frames but as I click any link in Yahoo frame the frames r lost and i can see only yahoo in whole page why is this happening and how can I tavigate web pages without losing my frames...??
Jan 22 '07 #1
7 1247
acoder
16,027 Expert Mod 8TB
Yahoo is probably using some form of frame-breaking script or technique, e.g. the following javascript will break out of a frame and load the page into the browser:
Expand|Select|Wrap|Line Numbers
  1. if (window != top) top.location.href = location.href;
There are other similar techniques to achieve this, so I'm afraid there isn't much you can do about this.
Jan 22 '07 #2
uk0102
6
thanks for ur response, that means there is no way i can do it??
Jan 22 '07 #3
acoder
16,027 Expert Mod 8TB
This page might help.
Jan 22 '07 #4
uk0102
6
This page might help.
thanks for ur suggestion, but here he told if all the pages r of one site , it works.But for other web pages??
Jan 23 '07 #5
uk0102
6
thanks for ur suggestion, but here he told if all the pages r of one site , it works.But for other web pages??
ya i am sorry for the last post i think i got it and i will try that thank u...
Jan 23 '07 #6
uk0102
6
I have tried that tutorial but still not working, script is working only once ie., the first time i load the page and if i click another link from that frame it doesnt work... in all tutorials they ask to keep script in the head section of our page so that they open fine inside frame and how can i do it if i want to include other sites. what should I do ??any suggestion ....
Jan 30 '07 #7
acoder
16,027 Expert Mod 8TB
I'm not sure how you solve your particular problem using Javascript (someone else may be able to help), but one possibility involving a server-side language (I don't know if you are familiar with any) is to make a HTTP request to the webpage and parse the response. Add your code to the head of the page and parse links too to load into the frame. It might not even work (never tried it), or might not even be allowed.

In any case, it is probably a little overkill, unless it's very important and you must solve the problem at all costs!

Hope that helps.
Jan 31 '07 #8

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: les | last post by:
Hello, I just wonder what are the implications to use frames to build portal. I've seen some sites that are quite fast with frames but I just wonder if there are hidden "costs". I've tried to...
40
by: JohnnyCJohnny | last post by:
Is it pretty safe to say that almost all web surfers now use browsers that are Frames compatible? What are most people using these days? IE? Thanks
7
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three...
95
by: Neal | last post by:
Of course, every frame site I've ever seen has reduced usability and all. We've been through this before. But as frameset is still a part of HTML, there must be some legitimate use for it, hmm?...
25
by: Steal | last post by:
Hi at all I try to validate this page using the link: http://validator.w3.org/ but it return that this is not a valid HTML 4.01 page please where is it error? Steil <!DOCTYPE HTML PUBLIC...
5
by: Dfenestr8 | last post by:
Hi. I'm designing a site, and I'm trying find a way of browsing it without using frames, so I can test the <noframes> </noframes> tags. I use a linux mandrake 10 system, with KDE 3.2. Is there...
7
by: dj Bass | last post by:
simple, they don't like things that restrict the server-side controls... and when it comes to frames, you need client side stuff and that stuff's up the asp.net strategy. right or wrong?
3
by: Nish | last post by:
Is HTML frame is an old technology? Will the modern web application are developed using the HTML frames? Does all the browsers support them? Thank you for your suggestion, Nish
56
by: Deepan HTML | last post by:
Hi All, Currently i am working in a framed environment where i have divided the window as 20% and 80% and the 20% is used for navigation purpose and right frame for displaying the orignal content....
14
by: Mark | last post by:
Hi Guys, I am very new to ASP.NET world. I need to create three frames. One at the top, one on the left and another on the right side. I don't know how to do it. So please help me with it. ...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.