Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Re: Javascript Digest, Vol 33, Issue 11
- From: elmuchacho at gmail.com (Laurent Muchacho)
- Subject: [Javascript] Re: Javascript Digest, Vol 33, Issue 11
- Date: Fri Nov 18 02:36:30 2005
Hi This work window.frames['floatFrame'].history.back() because you are accessing the frame in the window named "floatFrame" This doesn't work Window.frames.floatFrame.history.back() Because you are trying to access a function, object or property of the Frames Array object of the window Laurent Ps: I will post an examples if you need too _____ From: javascript-bounces@xxxxxxxxxx [mailto:javascript-bounces@xxxxxxxxxx] On Behalf Of Rajeev Ranjan Lall Sent: 17 November 2005 06:20 To: javascript@xxxxxxxxxx Subject: [Javascript] Re: Javascript Digest, Vol 33, Issue 11 Hi Julien Nadeau, It's quite simple. use the following code. ___________________________________________________ <div style="width:700px;height:600px; overflow:auto;> <a href="javascript:history.back();">Back</a> <iframe src="www.abc.com" scrolling="yes"></iframe> </div> _____________________________________________ customize the above as per your need. Now if you open the page and surf in iframe, the back button will call the previous(if any) pages in iframe only. hope this will end your query. Rajeev Ranjan Lall On 11/16/05, javascript-request@xxxxxxxxxx <javascript-request@xxxxxxxxxx > wrote: Send Javascript mailing list submissions to javascript@xxxxxxxxxx To subscribe or unsubscribe via the World Wide Web, visit https://lists.LaTech.edu/mailman/listinfo/javascript or, via email, send a message with subject or body 'help' to javascript-request@xxxxxxxxxx You can reach the person managing the list at javascript-owner@xxxxxxxxxx <mailto:javascript-owner@xxxxxxxxxx> When replying, please edit your Subject line so it is more specific than "Re: Contents of Javascript digest..." Today's Topics: 1. Call history.go(-1) in an iFrame from another frame (Julien Nadeau) ---------------------------------------------------------------------- Message: 1 Date: Tue, 15 Nov 2005 17:23:35 -0500 From: Julien Nadeau < junado@xxxxxxxxxx <mailto:junado@xxxxxxxxxx> > Subject: [Javascript] Call history.go(-1) in an iFrame from another frame To: "[JavaScript List]" <javascript@xxxxxxxxxx> Message-ID: <B1C790D6-1923-435C-87C4-507AE124078B@xxxxxxxxxx> Content-Type: text/plain; charset="us-ascii" Good evening, I've been looking around for some time for a solution to a problem I have and I can't find anything that works well. I have an iFrame embedded in a <div> in which I display various content. I need to have a "back" link in the <div>, but *outside* the iFrame itself. I tried various solutions but nothing works in all browsers (Firefox/ Safari/Internet Explorer). Here's something that works in Firefox, but not in Safari : window.frames.floatFrame.history.go (-1); My iFrame has name="floatFrame" and id="floatFrame". Thank you very much, Julien Nadeau junado@xxxxxxxxxx -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.LaTech.edu/pipermail/javascript/attachments/20051115/6058b206/a ttachment-0001.html ------------------------------ _______________________________________________ Javascript mailing list Javascript@xxxxxxxxxx https://lists.LaTech.edu/mailman/listinfo/javascript End of Javascript Digest, Vol 33, Issue 11 ****************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.LaTech.edu/pipermail/javascript/attachments/20051118/d966657e/attachment.html
- Follow-Ups:
- [Javascript] Re: Call history.go(-1) in an iFrame from another frame
- From: Julien Nadeau
- [Javascript] Re: Call history.go(-1) in an iFrame from another frame
- References:
- [Javascript] Re: Javascript Digest, Vol 33, Issue 11
- From: Rajeev Ranjan Lall
- [Javascript] Re: Javascript Digest, Vol 33, Issue 11
- Prev by Date: [Javascript] Re: Javascript Digest, Vol 33, Issue 11
- Next by Date: [Javascript] Re: Call history.go(-1) in an iFrame from another frame
- Previous by thread: [Javascript] Re: Javascript Digest, Vol 33, Issue 11
- Next by thread: [Javascript] Re: Call history.go(-1) in an iFrame from another frame
- Index(es):