Guest_imported
New member
- Jan 1, 1970
- 0
What is wrong with this code? If the page is not in the framelink called main, I need to change the contents of lefttop, leftmiddle, and leftbottom. The self page can stay put.
<script language=javascript type="text/javascript">
<!-- Hide script from old browsers
// jump out of any framesets
if (self.location != main) {
lefttop.location.href = "centermiddle.html"
leftmiddle.location.href = "centermiddle.html"
leftbottom.location.href = "centermiddle.html"
}
// end hiding from old browsers -->
</script>
<script language=javascript type="text/javascript">
<!-- Hide script from old browsers
// jump out of any framesets
if (self.location != main) {
lefttop.location.href = "centermiddle.html"
leftmiddle.location.href = "centermiddle.html"
leftbottom.location.href = "centermiddle.html"
}
// end hiding from old browsers -->
</script>