You are here: Re: Here is how to 'do PHP' without leaving a page. (+ Question) « PHP Programming Language « IT news, forums, messages
Re: Here is how to 'do PHP' without leaving a page. (+ Question)

Posted by Dave Benjamin on 01/12/06 02:37

Chung Leong wrote:
> I don't think future browsers are going to abanden iframe. One problem
> with iframe implementation is that it can screw up the back-button
> behavior.

You can avoid adding to the browser history by using:

frames[name].location.replace(url);

instead of changing the "src" attribute of the IFRAME element. However,
even using this method, the following problem still exists:

> And since the browser see the submission as a navigation event, it
> generates an audio alert, which can get very annoying.

This is, to me, the most compelling reason to use XmlHttpRequest instead
of IFRAMEs: the obnoxious clicking sound. What the hell was Microsoft
thinking?

> Another non-AJAX method is to dynamically create a script tag. It's
> somewhat limiting since the parameter has to be passed in the URL.

And browser support can be unpredictable. I remember reading that Opera
has trouble with this.

Dave

 

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

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