Posted by Spartanicus on 12/08/46 11:23
"Disco Octopus" <discooctopus@yahoo.com> wrote:
>Here is the javascript method. in my opinion a bit yuck, but when i was
>testing this type of stuff (long long ago), i found that it was just
>one of those things that was nice to know how to do........
>
>in your child page (IFrame) put this in it....
>
> <script type="text/javascript">
> function iamchild(){
> if (top.location.href.indexOf("name_of_main_page.html") < 0){
> top.location.replace("name_of_main_page.html");
> }
> }
> </script>
></head>
>
><body onload="iamchild()">
>..........
What's the point of that? It only redirects, you might as well stick the
content into the "child page".
--
Spartanicus
Navigation:
[Reply to this message]
|