[Javascript] Re: Javascript Digest, Vol 33, Issue 11

Rajeev Ranjan Lall rajeevranjanlall at gmail.com
Thu Nov 17 00:19:47 CST 2005


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 <http://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 at latech.edu <javascript-request at latech.edu>
wrote:
>
> Send Javascript mailing list submissions to
> javascript at LaTech.edu
>
> 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 at LaTech.edu
>
> You can reach the person managing the list at
> javascript-owner at LaTech.edu
>
> 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 at junado.com>
> Subject: [Javascript] Call history.go(-1) in an iFrame from another
> frame
> To: "[JavaScript List]" <javascript at LaTech.edu>
> Message-ID: <B1C790D6-1923-435C-87C4-507AE124078B at junado.com>
> 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 at junado.com
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.LaTech.edu/pipermail/javascript/attachments/20051115/6058b206/attachment-0001.html
>
> ------------------------------
>
> _______________________________________________
> Javascript mailing list
> Javascript at LaTech.edu
> 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.evolt.org/pipermail/javascript/attachments/20051117/0ded47f4/attachment.htm>


More information about the Javascript mailing list