You are here: Can iframe hide itself? « HTML « IT news, forums, messages
Can iframe hide itself?

Posted by Noozer on 05/25/05 19:30

I have an IFRAME (yes I know that frames are evil) that is made visible when
the user needs to edit some values in a database. Once the user had
completed the edit, or cancels the edit, I would like the IFRAME to become
invisible again. The reason for the iframe is that this ASP page contains a
rather large SQL query that we would avoid rerunning when the user edits
some data.

It's easy to make the frame visible as this code is included in the parent
document, but the code to hide the IFRAME again will be in the IFRAME
document. How can the child IFRAME hide itself? Or, in other words, how can
the child IFRAME reference the parent document to change it's style?

Thx!

 

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

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