I have a frameset with two frames. The names of them are "topframe" and "bottomframe". I want to check if the frameset "exists" by trying to get the frame name of the "topframe". I am preparing for searchengines, and if only the "bottomframe" opens I want to redirect to the frame index so that the whole page will be shown. I have tried this but it doesn't work:
<SCRIPT>
if (window.location.target!="topframe"
{
-> redirect to page
}
</SCRIPT>
Any ideas?
Thanks / Henrik
<SCRIPT>
if (window.location.target!="topframe"
{
-> redirect to page
}
</SCRIPT>
Any ideas?
Thanks / Henrik