Hello,

I have two IFRAMES on a page. In one of them, I have a link which, when clicked on, triggers a page to be loaded in the other IFRAME. I cannot have that scheme working with Mozilla. Here is my code:

parent window:
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	<title>Untitled</title>
</head>

<body>
<iframe src="gee.html" width="200" height="100" id="procont" frameborder="1"></iframe>
<iframe src="bar.html" width="200" height="100" id="profoot" frameborder="1"></iframe>


</body>
</html>
gee.html
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">

<html>
<head>
	<title>Untitled</title>
	<script language=JavaScript>
	function loadit() {
	parent.profoot.location="bar.html";
	return true;
	}
	</script>
	
</head>

<body>
<a href="#" onclick="loadit();">click</a>


</body>
</html>
I can't see what's wrong and I have tried different syntaxes. It works with IE but not with Mozilla.

Help very welcome ! Tks !