<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Thanks for your answer Laurent,<DIV><BR class="khtml-block-placeholder"></DIV><DIV>again, your method does work in Firefox, but it does nothing in Safari (it does not even returns an error). I'm curious about how Safari might be handling frames in its JavaScript interpretation. I'm running v.2.0.2 (416.12).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>I'll let you know if I find something, thanks nonetheless.<BR><DIV> <P style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px"><BR></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica">Julien Nadeau</FONT></P> <P style="margin: 0.0px 0.0px 0.0px 0.0px"><FONT face="Helvetica" size="3" style="font: 12.0px Helvetica"><A href="mailto:junado@junado.com">junado@junado.com</A></FONT></P>  </DIV><BR><DIV><DIV>Le 05-11-18 à 03:36, Laurent Muchacho a écrit :</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"> <DIV class="Section1"><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">Hi <O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">This work<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">window.frames[‘floatFrame’].history.back()<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">because you are accessing the frame in the window named “floatFrame”<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">This doesn’t work<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">Window.frames.floatFrame.history.back()<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">Because you are trying to access a function, object or property of the Frames Array object of the window<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">Laurent <O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy">Ps: I will post an examples if you need too<O:P></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy"><O:P> </O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="navy" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:navy"><O:P> </O:P></SPAN></FONT></P> <DIV> <DIV class="MsoNormal" align="center" style="text-align:center"><FONT size="3" face="Times New Roman"><SPAN lang="EN-US" style="font-size:12.0pt"> <HR size="2" width="100%" align="center" tabindex="-1"> </SPAN></FONT></DIV><P class="MsoNormal"><B><FONT size="2" face="Tahoma"><SPAN lang="EN-US" style="font-size:10.0pt;font-family:Tahoma;font-weight:bold">From:</SPAN></FONT></B><FONT size="2" face="Tahoma"><SPAN lang="EN-US" style="font-size:10.0pt;font-family:Tahoma"> javascript-bounces@LaTech.edu [<A href="mailto:javascript-bounces@LaTech.edu">mailto:javascript-bounces@LaTech.edu</A>] <B><SPAN style="font-weight:bold">On Behalf Of </SPAN></B>Rajeev Ranjan Lall<BR> <B><SPAN style="font-weight:bold">Sent:</SPAN></B> 17 November 2005 06:20<BR> <B><SPAN style="font-weight:bold">To:</SPAN></B> <A href="mailto:javascript@latech.edu">javascript@latech.edu</A><BR> <B><SPAN style="font-weight:bold">Subject:</SPAN></B> [Javascript] Re: Javascript Digest, Vol 33, Issue 11</SPAN></FONT><SPAN lang="EN-US"><O:P></O:P></SPAN></P> </DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"><O:P> </O:P></SPAN></FONT></P> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt">Hi Julien Nadeau,<O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"> <O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt">It's quite simple.<O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"> <O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt">use the following code.<BR> ___________________________________________________<O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt">&lt;div style="width:700px;height:600px; overflow:auto;&gt;<O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt">&lt;a href="javascript:history.back();"&gt;Back&lt;/a&gt;<BR> &lt;iframe src="<A href="http://www.abc.com">www.abc.com</A>" scrolling="yes"&gt;&lt;/iframe&gt;<O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt">&lt;/div&gt;<O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt">_____________________________________________<O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"> <O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt">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.<O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"> <O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt">hope this will end your query.<O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"> <O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt">Rajeev Ranjan Lall<O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"> <O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"> <O:P></O:P></SPAN></FONT></P> </DIV> <DIV><P class="MsoNormal"><SPAN class="gmailquote"><FONT size="3" face="Times New Roman"><SPAN style="font-size:12.0pt">On 11/16/05, <B><SPAN style="font-weight:bold"><A href="mailto:javascript-request@latech.edu">javascript-request@latech.edu</A></SPAN></B> &lt;<A href="mailto:javascript-request@latech.edu">javascript-request@latech.edu </A>&gt; wrote:</SPAN></FONT></SPAN> <O:P></O:P></P><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt">Send Javascript mailing list submissions to<BR>        <A href="mailto:javascript@LaTech.edu">javascript@LaTech.edu </A><BR> <BR> To subscribe or unsubscribe via the World Wide Web, visit<BR>        <A href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</A><BR> or, via email, send a message with subject or body 'help' to <BR>        <A href="mailto:javascript-request@LaTech.edu">javascript-request@LaTech.edu</A><BR> <BR> You can reach the person managing the list at<BR>        <A href="mailto:javascript-owner@LaTech.edu">javascript-owner@LaTech.edu </A><BR> <BR> When replying, please edit your Subject line so it is more specific<BR> than "Re: Contents of Javascript digest..."<BR> <BR> <BR> Today's Topics:<BR> <BR>   1. Call history.go(-1) in an iFrame from another frame <BR>      (Julien Nadeau)<BR> <BR> <BR> ----------------------------------------------------------------------<BR> <BR> Message: 1<BR> Date: Tue, 15 Nov 2005 17:23:35 -0500<BR> From: Julien Nadeau &lt;<A href="mailto:junado@junado.com"> junado@junado.com</A>&gt;<BR> Subject: [Javascript] Call history.go(-1) in an iFrame from another<BR>        frame<BR> To: "[JavaScript List]" &lt;<A href="mailto:javascript@LaTech.edu">javascript@LaTech.edu</A>&gt; <BR> Message-ID: &lt;<A href="mailto:B1C790D6-1923-435C-87C4-507AE124078B@junado.com">B1C790D6-1923-435C-87C4-507AE124078B@junado.com</A>&gt;<BR> Content-Type: text/plain; charset="us-ascii"<BR> <BR> Good evening,<BR> <BR> I've been looking around for some time for a solution to a problem I<BR> have and I can't find anything that works well. I have an iFrame<BR> embedded in a &lt;div&gt; in which I display various content. I need to<BR> have a "back" link in the &lt;div&gt;, but *outside* the iFrame itself. <BR> <BR> I tried various solutions but nothing works in all browsers (Firefox/<BR> Safari/Internet Explorer).<BR> <BR> Here's something that works in Firefox, but not in Safari :<BR> <BR>        window.frames.floatFrame.history.go (-1);<BR> <BR> My iFrame has name="floatFrame" and id="floatFrame".<BR> <BR> Thank you very much,<BR> <BR> Julien Nadeau<BR> <A href="mailto:junado@junado.com">junado@junado.com</A><BR> <BR> -------------- next part -------------- <BR> An HTML attachment was scrubbed...<BR> URL: <A href="http://lists.LaTech.edu/pipermail/javascript/attachments/20051115/6058b206/attachment-0001.html">http://lists.LaTech.edu/pipermail/javascript/attachments/20051115/6058b206/attachment-0001.html </A><BR> <BR> ------------------------------<BR> <BR> _______________________________________________<BR> Javascript mailing list<BR> <A href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</A><BR> <A href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</A><BR> <BR> <BR> End of Javascript Digest, Vol 33, Issue 11<BR> ******************************************<O:P></O:P></SPAN></FONT></P> </DIV><P class="MsoNormal"><FONT size="3" face="Times New Roman"><SPAN style="font-size: 12.0pt"><O:P> </O:P></SPAN></FONT></P> </DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Javascript mailing list</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="mailto:Javascript@LaTech.edu">Javascript@LaTech.edu</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; "><A href="https://lists.LaTech.edu/mailman/listinfo/javascript">https://lists.LaTech.edu/mailman/listinfo/javascript</A></DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>