You are here: Re: multiple frame-update « HTML « IT news, forums, messages
Re: multiple frame-update

Posted by Jonathan N. Little on 09/25/04 11:31

ark312 wrote:
> Hello,
>
> I try to update several frames in one mouseclick. There is an error in the
> code below, that is for sure. The Text-frame doesn't get updated. What do I
> do wrong?
>
> Thanks,
>
> Sjoerd
>
>
>
>
> <a href="Mirte.htm"
> target="Info"
> onclick="if (parent.frames.Play) {
> parent.frames.Play.location.href = 'PlayMirte.htm';
> }
> and
^^^
JavaScript does not have logical operator 'and', it is '&&', i.e.,

var result = TRUE && TRUE; //result will be TRUE.

Not like Perl, PHP and others that have 'and', 'or', 'not' for '&&',
'||' and '!'.

> if (parent.frames.Text) {
> parent.frames.Text.location.href = 'Text0000.htm';
> }
> return true;">
> Mirte
> </a>
>
>


--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com

 

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

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