Reply to Re: IFrame

Your name:

Reply:


Posted by Spartanicus on 11/20/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

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация