BTW, index.htm is just composed of text.
main.htm
Code: Select all
<script>
function d()
{
document.write("hello");
}
</script>
<frameset rows="80%,*" framespacing=0 border=0 frameborder=0>
<frameset cols="30%,*" framespacing=0 border=0 frameborder=0>
<frame src="index.htm" name="stat" noresize>
<frameset rows="40%,*" framespacing=0 border=0 frameborder=0>
<frame src="index.htm" name="action" noresize>
<frame src="map.php" name="map" noresize>
</frameset>
</frameset>
<frame src="index.htm" name="mesg" noresize>
</frameset>snip from map.php
Code: Select all
echo "
<script>
parent.d();
</script>";Also, how can I use variables from main.htm in the "action" frame?
thanks