> Yes that's exactly that I'm looking for however this site uses AJAX but
> yes
> the basic idea is this. Thanks for the site...
>
> -Pete
I don't think it is, y'know. At least, not AJAX as it's commonly known
these days - I don't think it's making much use of the XML-HTTP object. So
maybe 'AJ' (without the 'AX') would be a better description of it!
I think what it's doing (which I find interesting, so I'm going to share it
with y'all) is using an IFRAME reference on an HTTP connection that never
ends. There's a 'heartbeat' every tick, which contains a line like:
<script>d(LOTS-OF-PRICE-PARAMETERS);</script>
And the 'd' JavaScript function uses the LOTS-OF-PRICE-PARAMETERS to locate
the right cell and update the price values.
All of which strikes me as a kinda neat way of doing it... If you abstract
away any browser issues, the DHTML could be quite straightforward, and it
shouldn't be too difficult to put together the never-ending-page to stream
the data through (a special HttpHandler maybe?)
Cheers,
Geoff
===================================
This list is hosted by DevelopMentorĀ® http://www.develop.com
View archives and manage your subscription(s) at http://discuss.develop.com