#85: Best Practices with Dynamic Content

Avatar of Chris Coyier
Chris Coyier on (Updated on )

Take the pain out of building site search with the Algolia hosted API. Start free now!

Download Video
(Only MVP Supporters can download original high-quality recordings for offline viewing.)

One of the articles I updated during “May is Maintenance Month” was an article about dynamic content. The idea was a simple website where clicking a link would fade out the existing content and fade in new content that it fetched via AJAX. The old article didn’t encompass what I now consider to be best practices for this kind of thing. 1) Works fine with JavaScript disabled. 2) It is possible to “deep link” to specific content. 3) The browsers back button and forward button work as expected.

Links from Video: