Im not sure how to do this, but in my frame page...
<HTML>
<FRAMESET ROWS="80%,20%">
<FRAME SRC="one.html">
<FRAME SRC="two.html">
</FRAMESET>
</HTML>
what do i put in two.html so that one.html gets refreshed when one.html is loaded?
refresh the frame above automatically
Moderator: General Moderators
- Sevengraff
- Forum Contributor
- Posts: 232
- Joined: Thu Apr 25, 2002 9:34 pm
- Location: California USA
- Contact:
This is how I would do it.
First give the frames names; one and two.
Then in to you'll write a small script.
I haven't tested the code above, but I have used the idea sometimes and it works well.
Good luck!
First give the frames names; one and two.
Then in to you'll write a small script.
Code: Select all
<script language="JavaScript">
<!--
function reloadone(){
parent.one.document.location.href = "one.html";
}
-->
</script>
<body onLoad="reloadone()">Good luck!