Forum Moderators: mack
Basically i want to know if it is possable to use the Meta http-equiv tag to redirect a page to a certain frame on a frames page.
what I am trying to do is, whenever a certain page is loaded into one frame I want it to load another page into a differant frame.
What's the best way to do this?
Thanks for any help.
If I understand you correctly and that is what you want to do however, you will end up with a frameset inside a frameset. You will need some framebreaker code to pop out of the initial frame. Since I don't use frames, I don't have that code on hand, I am sorry.
Thanks
BTW, I had thought of the frameset inside a frameset and have done that before. It works, it just isn't a very clean way to do things. I figured there has to be a better way.
Just in case someone is searching for how to do this, this is how I did it.
<script>
function reDirect() {
parent.frames.frameY.location.replace("pageY.html")
}
</script>
<body onLoad="reDirect()">
just replace frameY with the name of the target frame and pageY with the page you want loaded.