I am not shure if this a "minor bug" or something "else" in Firefox, but it is very strange because it works correctly in IE, OPERA, SAFARI and GOOGLE CHROME !!.
Here is the source (simplified) ...
<!-- This is test_firefox.html safe as test_firefox.html -->
<html><head><title></title></head><body>
<a id= "Top" name="Top"></a>
<p><a href="#Down">Go to anchor Down </a> </p>
<p> </p>
<iframe name="showBox" src="doc1.html" height="150" width="300" frameborder="1" ></iframe>
<p> </p>
<p> </p>
<a name="Down" ></a>
Here is anchor Down
<p><a href="#MainTop">Go back to Top</a> </p>
</body></html>
<!-- end test_firefox.html -->
<!-- This is doc1.html safe as doc1.html-->
<html ><head><title></title></head><body>
<p>This is doc1.html in the iframe !</p>
<p> </p>
<a href="doc2.html" target="showBox">Load doc2.html into this iframe </a>
</body></html>
<!-- end doc1.html -->
<!-- This doc2.html safe as doc2.html -->
<html><head><title></title></head><body>
<p>This is doc2.html in the iframe !</p>
<p> </p>
<a href="javascript:history.back()">Reload doc1.html into this iframe</a>
</body></html>
<!-- end doc2.html -->
Here is the test ...
a. Click on the button "Load doc2.html into this iframe".
It loads doc2.html into the iframe.
b. Click on the button "Reload doc1.html into this iframe".
It reloads ("javascript:history.back()") doc1.html into the iframe.
So far everything is o.k. Should be because that is very simple and a milliontimes prooved.
Now ...
c. Click on the button "Go to anchor Down" (which is in reality another iframe).
d. Click on the button "Go back to Top".
Repeat step a and b and be surprised. Firefox gets very confused with the "history".
Do step c and d first or any variety. The more you click the weirder it gets.
The other browsers tolerate everything.
Someone has an explanation and/or a tip how to fix this ?
clamicun
"javascript:history.back()" and Firefox 3.0.1 and iframes
-
- Posts: 2
- Joined: October 9th, 2008, 1:30 am
- LoudNoise
- New Member
- Posts: 39900
- Joined: October 18th, 2007, 1:45 pm
- Location: Next door to the west
Re: "javascript:history.back()" and Firefox 3.0.1 and iframes
Moving to Web Development...
Post wrangler
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
"Choose between the Food Select Feature or other Functions. If no food or function is chosen, Toast is the default."
-
- Posts: 2
- Joined: October 9th, 2008, 1:30 am
Re: "javascript:history.back()" and Firefox 3.0.1 and iframes
yes loud noise.
that´s probably a good name for you.
I could get to more than 19.69 posts per day ... sending replies without content.
Thanks a lot, clamicun
that´s probably a good name for you.
I could get to more than 19.69 posts per day ... sending replies without content.
Thanks a lot, clamicun