You are here: Re: Can someone please point the way? IFRAME troubles « All PHP « IT news, forums, messages
Re: Can someone please point the way? IFRAME troubles

Posted by J.O. Aho on 07/23/06 17:01

alxasa@gmail.com wrote:
> Hi, this is my present configuration
>
> <FRAMESET ID="MAIN_BODY" FRAMESPACING="0" ROWS="100%,*"
> FRAMEBORDER="0">
> <FRAME NAME="frameA" SRC="./contentA.htm">
> <FRAME NAME="frameB" SRC="./contentB.htm">
> </FRAMESET>
>
>
> 'contentA.htm' has a <IFRAME> inside of it, with the ID/NAME of
> "internal"
>
> So, what I want to do, is from this IFRAME named 'internal', call a
> Javascript function sitting in the contentB.htm file.

Javascript != PHP
with other words you are in the wrong newsgroup.


> I've tried: top.frameB.functionname() but get "frameB" is null or not
> an object.

You need to use parent.parent.frameB if I remember javascript right.


//Aho

 

Navigation:

[Reply to this 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

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