Interesting topic, although highly off-topic.

I just had a quick kick around, and found this page:
http://msdn.microsoft.com/downloads/samples/internet/default.asp?url=/Downlo
ads/samples/Internet/ASP_DOT_NET_ServerControls/SmartNav/default.asp

Doesn't really say HOW it does it, but here's the interesting part:

I'm already experiencing simular benefits as described here, on PHP sites
I've developed (and all over the web), using IE 5.1.3 Mac.

On pages that share identical content, it doesn't flicker, and yes I'm
seeing the other benefits (state, scroll position, etc) as well.

Here's what they say it can do:

1    Eliminates the flash, or "flickering," caused by navigation.
2    Persists the scroll position between page navigations.
3    Persists element focus between navigations.
4    Retains only the last page state in the browser history.

I don't know how much can be done on the server to help this. Points #2-4
are client-side issues IMHO, and the only interesting one is really #1.


You can emulate this sort of "application" feel in many ways.  For starters:

1   <FRAME> will only refresh content in the frame specified
2   <IFRAME> allows you to embed content (HTML files) inside each other...
same as a <FRAME>, but I like to think of it as a floating frame that can be
positioned in-line with other HTML elements (like inside a table, block of
text, etc).
3   CSS and layers.  Load a whole site in (hidden) and use javascript to
switch between content layers that have already been loaded.


Either way, I can't imagine what can be done on the server side to help
this, and it isn't exactly PHP related so far :)


Justin







on 22/05/02 8:09 PM, Fred Forsyth ([EMAIL PROTECTED]) wrote:

> Is there any way to emulate ASP.NET's smartNavigation trick? What it does it
> to maintain control state and scroll position between postbacks, as well as
> stopping the page from flickering when reloading. It makes a mostly static
> page look very cool.
> 
> Anyone done this in PHP, or know how to use IFRAMEs to do it manually?
> 
> Cheers
> Fred Forsyth.
> Senior Software Engineer
> 
> 
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to