HTML and CSS Reference
In-Depth Information
loading and then wrapping your EventSource initialisation code
in a setTimeout(init, 10) helps to avoid that unsightly and
nasty throbber.
Summary
This chapter has equipped you with the very best in buzzword
compliancy: real time. At the same time, adding a real-time
dimension to your website could give you the competitive edge,
and now that you've seen how easy the JavaScript is, I expect
it's hard to resist. Obviously there is some server-side hickery
pokery to be done, but once that's in place, you'll quickly be
able to attract all those short attention span users. Now go build
something a-maze-zing.
 
 
Search WWH ::




Custom Search