While working on Temple University's Digital Viewbook, Next Stop, we ran into an interesting question: without a SPA (single-page-application) framework, could we make the page transitions still feel smooth and seamless? The site is built in Drupal, so we tried a few existing options, including the Page Throbber and Ajax Pages module, but none seemed to work as well as we had hoped. So we devised our own solution.
Smooth Page Loading with FakeLoader
We devised a simple jQuery plugin, FakeLoader, that hooks into the load and unload of the page to show an overlay with a nice, CSS-based spinner. The effect creates the illusion of a smooth ajax-loaded single page application, avoiding the white screen flash in between pages, but while still allowing us to build a standard, multi-page website.
With our plugin in place, the interactive digital viewbook transitions smoothly from page to page, creating the illusion of a one-page website, but in a multi-page Drupal instance. Download the plugin or read more on Github