Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • From: rajeevranjanlall at gmail.com (Rajeev Ranjan Lall)
  • Subject: [Javascript] Re: Javascript Digest, Vol 33, Issue 11
  • Date: Thu Nov 17 00:19:56 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@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
>
> 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>
> 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/attachment-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/20051117/0ded47f4/attachment.html