473,811 Members | 3,627 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Make frame load last loaded web page

Hi
I think from looking into google newsgroups history that you can't do this,
however can someone confirm that:

Using IE6
Can you load a web page (say www.google.co.uk)
Then move to a web page with 2 frames, the centre frame containing the
last page visited, in this case google?

I get the impression you can do this using netscape via history[-1]
but not via IE which is a shame

Thanks

F
Jul 20 '05 #1
6 5167
Ivo
<fo******@yahoo .co.uk> wrote in message
news:ac******** *************** **@posting.goog le.com...
Hi
I think from looking into google newsgroups history that you can't do this, however can someone confirm that:

Using IE6
Can you load a web page (say www.google.co.uk)
Then move to a web page with 2 frames, the centre frame containing the
last page visited, in this case google?
Which of the two is the one in the center? Surely you can build a frameset
that will load the referrer in one frame, or even inline:
<script type="youknow">
document.write( '<iframe src="'+document .referrer+'"></iframe>' )
<script>
Ivo
I get the impression you can do this using netscape via history[-1]
but not via IE which is a shame

Thanks

F

Jul 20 '05 #2
In article <ac************ *************@p osting.google.c om>,
fo******@yahoo. co.uk enlightened us with...
Hi
I think from looking into google newsgroups history that you can't do this,
however can someone confirm that:

Using IE6
Can you load a web page (say www.google.co.uk)
Then move to a web page with 2 frames, the centre frame containing the
last page visited, in this case google?


You want to stick someone else's site in your frames?
Gosh, I hope that's not possible. Or at least not easy.

Now, if it's your page and your frameset, sure, you do that by passing
the name of the page to a dynamic frameset.

--
--
~kaeli~
Experience is something you don't get until just after you
need it.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #3
kaeli wrote: <MP************ ************@nn tp.lucent.com>
<snip>
You want to stick someone else's site in your frames?
Gosh, I hope that's not possible. Or at least not easy.

<snip>

Unfortunately it is both possible and easy (subject to the
document.referr er property being set/available client side (with
scripting) or the referrer header being available server side). It is of
questionable legality (copyright) and there is nothing you can do to
stop any page loaded into a frame from breaking out and invading the top
frame if it doesn't like where it finds itself loaded.

Richard.
Jul 20 '05 #4
Richard Cornford wrote:
kaeli wrote: <MP************ ************@nn tp.lucent.com>
<snip>
You want to stick someone else's site in your frames?
Gosh, I hope that's not possible. Or at least not easy.


<snip>

Unfortunately it is both possible and easy (subject to the
document.referr er property being set/available client side (with
scripting) or the referrer header being available server side). It is of
questionable legality (copyright) and there is nothing you can do to
stop any page loaded into a frame from breaking out and invading the top
frame if it doesn't like where it finds itself loaded.

Richard.


Let us assume that

a) I have my page in a frame and somebody else's page in another frame.
I have frame borders and the title so that a typical user shoud
understand that the pages come from different sources . The frames
interact. Am I a good citizen?

b) I have one window, and there is simultaneusly somebody else's window
on the screen. In my program script I talk about the (for me known)
alien window and e.g update my display based to that. Am I a good
citizen and not violating laws?

c) if I give to any users a program which does the above things, ...

If I copy (!) a page from a server to my computer and utilize the page
to my advantage, I am supposedly involved at least in copying and
utilizing the copy to my advantage. As everyone is. What is the
difference with this and the above talk about windows, frames, etc?

Jul 20 '05 #5
In article <c1************ *******@news.de mon.co.uk>,
Ri*****@litotes .demon.co.uk enlightened us with...

Unfortunately it is both possible and easy (subject to the
document.referr er property being set/available client side (with
scripting) or the referrer header being available server side). It is of
questionable legality (copyright) and there is nothing you can do to
stop any page loaded into a frame from breaking out and invading the top
frame if it doesn't like where it finds itself loaded.

Note to self: put break out of frames code on all pages and hope most
people have JS enabled...
--
--
~kaeli~
The more ridiculous a belief system, the higher probability
of its success.
http://www.ipwebdesign.net/wildAtHeart
http://www.ipwebdesign.net/kaelisSpace

Jul 20 '05 #6
> I get the impression you can do this using netscape via history[-1]
but not via IE which is a shame


Loading someone elses page into a frame is trivial, I believe this
is how domain name masking works normally, certainly on my website
the real name is blah/blah/blah/..../blah.html and I just want to see
http://www.sensibleaddress.com.
There are tons of sites that do this already, but you can usually tell
because the url doesn't change between page clicks.

Anyway, thats easy but not want I want to do!

I have a web page on my own site. When someone clicks on a button I want
that page to be loaded into a frame and have other stuff loaded into the
other frames, however I don't want to have to go through every page on my
site to make a change to make that enabled.

As I say, nothing dodgy occuring here, just javascript advice wanted!
Jul 20 '05 #7

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

Similar topics

2
10735
by: vk | last post by:
I have a situation where I have 3 frames. The first frame is dynamic and contains javascript variables for use throughout the frameset page and the other frames. Everything works fine...except that the first frame NEEDS to be loaded first so that the other pages can access its variables. What happens in IE is that the frames load up randomly (or so it seems). So sometimes everything blows b/c the first frame did not load first and...
2
18363
by: Halldór Ísak Gylfason | last post by:
In my application I have an iframe that is empty (and not visible) initially, however when a user presses a button a form is programmatically submitted and the target is set to the IFrame. I want to detect when the frame has been loaded with the result of the form submit. Of course I have tried some event handlers like onload, onactivate, onreadystatechange, but they do not work in this example. They only seem to work, when the "SRC"...
2
1798
by: Paul | last post by:
I have a simple frame-based application where title information appears in a top frame and a lower frame contains the content for the application. One of the needs for this app is for a status line in the upper frame to be updated when certain actions are taken in the lower frame. In the top frame, I have a line of text wrapped with SPAN tags and assigned a unique ID attribute. In the lower frame, I run a JS function that looks up the...
3
8354
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 the original web page being loaded on the right. Something like document.frame2.fullyLoaded? You get the idea Thanks F
4
4788
by: Rose Girl | last post by:
Hi, I have a frame set with 3 windows. (top,left and center). My main webpages are loaded in the center frame. What i want is really quite simple (But no idea how to do ??). When a certain page is loaded to the center frame, instead i want that page to replace the whole frameset and get loaded fully in the window. Can i use an onload to call a javascript to say that this page needs to be loaded in the parent window.
3
2470
by: qwerty | last post by:
I´m new to ASP.Net. My workmate has some experience with it. He claimed that in ASP.Net working with frames is much simpler than it was ASP. I asked explanation but he couldn't give me such. (a button inside a-tag with attribute target isn't anything new relating ASP.Net, its same old HTML). He claimed that you could change another page´s controls´s property´s value from another frame by using this method: ' Page "Bottom"
1
2201
by: Wim | last post by:
Hi Everyone, I'm trying to speed up a Asp.net 1.1 applications' performance. The application needs to run in an environment with little bandwith and therefore pagesizes and roundtrip times shoud be brought back to a minimum. The application suffered from relatively large screens. A typical aspx page was 500 Kbyte so page load times were in the order of 40 - 50 seconds. After unsufficient loading improvement using .net caching
2
2850
by: torext | last post by:
I have 3 frame (not frame set) and I want to forse frame1 (where I define language for user) to be load first, before any other frames. And if possible reload main page. How should I do it from the main aspx page? (ASP.NET) thank you very...
0
9605
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10392
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10136
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9208
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7671
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6893
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5693
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4341
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3868
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.