my site is put into a frameset in the index page:
<FRAMESET COLS=”20%,80%”>
<FRAME NAME=”navigate” SRC=”./navigate.html”>
<FRAME NAME=”main” SRC=”./welcome.html”>
</FRAMESET>
I have perused some threads and currently have this working:
<script type=”text/javaScript”>
if (self==parent)
{
parent.location.href=”index.html”;
}
</script>
This opens the site and displays the navigation and welcome pages. (better than some blown out of whack full html page, not to mention nonfunctional)
How do i have the intended page displayed?
I’ve seen this, or similar code used, but can’t quite figure it out.
<script type=”text/javaScript”>
if (self==parent)
{
current = parent.location.href;
parent.location.href=”index.html”;
[B]parent.main.location.href=current
}
</script>
tried many combinations(switching parent,window; main,top,etc..) but stuck with, has no properties or is not defined.
thanks for taken a look!