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] Call history.go(-1) in an iFrame from another frame


  • From: junado at junado.com (Julien Nadeau)
  • Subject: [Javascript] Call history.go(-1) in an iFrame from another frame
  • Date: Tue Nov 15 16:24:13 2005

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.html