I know I should have come up with a more specific subject but I don't even know what to call what I am trying to do. Google has spidered through my ISP and found my page posted on it: Real Estate EFlyers. The only problem is that the entire page is a frames page, and I can't make the JavaScript code do exactly what I want it to do. Currently, it loads the original page, but not the page the code is on. That probably isn't a good explanation.
Code:
<script>
function checker() {
while (window.location.href != "http://www.realestateeflyers.com/") {
window.location.href = "http://www.realestateeflyers.com"
document.location.href = "http://mmichal.home.att.net/realestateeflyers/bodyhome.htm"
end
}
}
</script>
This of course, is in the header, and is called by <body onLoad=checker()>. If anyone can understand my problem and can help me, I will greatly appreciate it.