Hi,
Is there a way to send information via javascript by redirecting to a
page that contains frames? The information that will have to be sent
will be the page name of the original page before the redirect. Once
the information has been sent via the redirect this will happen: One
of the frames will pick up the sent information and redirect to the
proper page sent with the information. The object of this is to see if
a page is part of a parent page and then if it is not it will redirect
to the parent page, where one of the child pages will redirect to the
original page. So in summary, if a page is not part of a parent page,
the script will make it. If anyone else sees a better way to do this
please tell me.
<script type="text/javascript">
var o;
if ( (o = top)
&& (o = o.frames)
&& (o = o.bob)
&& (o = o.document)
&& (o = o.title)
&& o == "test"
){
document.write( "yes")
} else {
document.locati on.href = "New Text Document.php "
}
</script>
Dan