Summary

In this chapter, we learned how to set up a simple website and then we enhanced it to behave like a single-page application without breaking it for search engines or site visitors who have JavaScript disabled. First, we set up a simple version that might be suitable for use in some simple cases. Then we took a look at setting up the deluxe version that allowed for bookmarking and sharing of links, working back and forward buttons, current page highlighting in the navigation, and smooth transition animations to show the site visitor the browser was hard at work. All of this was relatively simple and straightforward thanks to jQuery and the jQuery BBQ plugin.

Next up, we'll take a look at loading content into lightboxes.

Get jQuery for Designers Beginner's Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.