You are here: Refreshing multiple frames' contents? « PHP Programming Language « IT news, forums, messages
Refreshing multiple frames' contents?

Posted by Schraalhans Keukenmeester on 03/14/06 19:46

I have a page consisting of three frames. Top frame shows db rows,
middle frame shows contents of a file, bottom frame has buttons to
change file/row status and/or delete them.

The desired bahaviour: after clicking the "change status" or "delete"
button in bottom screen, the top and middle frames immediately show
updated data.

Achieving this in a <a href [...] is not a problem, I use the following
Javascript line:

<a href="status.php" target='bottom'
Onclick="parent.frames[1].location.href='topcontent.html';
parent.frames[2]='centercontent.html'; return true;">link</a>

But another page I use only updates a db entry and has no clickable
items. Is it possible to have it automatically refresh any of the
frames' content without the user clicking a link, immediately after the
db query is executed ?

Tips welcome, as always!

Thanks in advance
Sh.

 

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

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