|
Posted by "abrea" on 06/14/05 18:16
Yes, but then the user would always have to reload the imbedded frame.
-----Original Message-----
From: "Warren Vail" <warren@vailtech.net>
To: "'abrea'" <abrea@estudiobrea.com>, "'PHP General List'"
<php-general@lists.php.net>
Date: Tue, 14 Jun 2005 10:31:29 -0700
Subject: RE: [PHP] Updating an open page with PHP
> > Is there a way in PHP to update information on an open web
> > page (e.g. to say
> > "Hello, user, I have just logged in"), without the user
> > having to refresh
> > the page himself each time?
>
> Technically, I don't believe so, but I can think of a way you might be
> able to fake it. If you have a browser that supports imbedded frames
> <IFRAME> only the contents of the imbedded frame (a small portion of
> your visible page) can be used to minimize the portion that needs to be
> reloaded. If the imbedded frame has no borders, the user will never
> notice that there is a frame (unless they are asked to click something
> inside the frame).
>
> Note: I know that IE, Netscape, Mozilla and Firefox all support
> imbedded
> frames. My experiences with Firefox have been interesting in that even
> refreshing the entire page appears to cause no flicker if few items are
> moved in the second rendering (downside in my testing is that firefox
> appears to leave running processes consuming RAM, at least in my Windoz
> XP).
>
> I did see an implementation where a javascript routine loaded a
> separate
> file and because it ran in the browser, it could update pulldown lists
> and controls without appearing to refresh the page.
>
> HTH
> Warren Vail
> warren@vailtech.net
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
Navigation:
[Reply to this message]
|