Voting starts in March for the Drupal Association Board election.
In June 2012 a digitally restored version of The Beatles film Yellow Submarine was re-issued on BluRay and DVD. To celebrate and promote the release of this groundbreaking animation a new website was developed by Drupology.
As an agency, Drupology specialise primarily with Drupal. Drupal's stable, secure, and easily extendible framework was our only choice.
The brief was to create a fun, interactive website utilizing parallax scrolling as a viewport. Drupology developed several Drupal modules and a bespoke theme, as well as writing custom PHP and the jQuery functionality that offers visitors a truly rich and immersive experience.
From the outset, parallax scrolling was chosen to represent the landscape, providing visitors with a rich, three-dimensional feel. Hotspots would be hidden in different layers allowing visitors to explore various aspects of the film. Another key requirement was for content editors to easily add and edit hotspots throughout the different layers of landscape, as well as embed content from providers such as YouTube and Vimeo.
The most challenging part of the project was to create a parallax landscape that could be downloaded in reasonably quick time and function well in different browsers. We spent a good deal of time researching various jQuery plugins that could offer this functionality but after a lot of testing we opted to write the plugin from scratch and extend the jQuery "scroll-to" library.
To achieve the parallax effect we took three layers of images with different pixel widths; the smallest width on the background and the largest on the foreground. The different layers are programmatically scrolled by different amounts as the navigation changes. This gives the illusion of moving through a 3D landscape and is very immersive. These layers are built up from a mixture of PNG, GIF and JPEG to optimise the file sizes. Hotspot images are then embedded within the different layers.
The next technical challenge was to embed the hotspots on each layer. This is much harder than it sounds! If you have a transparent image sitting over another layer, the mouse-clicks are not carried through the transparency. The best way we found to overcome this problem was to create another set of layers which contained just hotspot zones but no images. As the landscape changes the hotspots change to match the images below. All of the hotspots are within the same parent layer so z-indexing is not an issue (apart from in IE6/IE7 of course!).
Content editors can specify the top, left, width, height, image, layer, and content for each pop-up from a simple content template. Views and some clever templating builds each of the layers and hotspots dynamically. Another option on the pop-up content editing is "Promote to the Navigation Bar". If this is selected then a navigation button is added to the submarine navigation block. Again, this is created using Views and templating and the button images will be be sized to fit dynamically with no code changes required.
Sounds were added to enrich the experience. Again, these can be added by content editors using MP3 and OGG formats. Views and templating will output as HTML5 audio which can be triggered depending upon how long it takes the submarine to travel from one part of the landscape to another. Visitors who find this annoying can toggle the sounds on and off.
We developed a few custom modules for the site including the EMI buy button links, File downloads with thumbnails (see the Games section), and a sign-up form for TopSpin (the mailshot provider).
All-in-all this has to be the most fun I've ever had building a website. I think the finished result is amazing and full credit goes to everyone involved.
Jeremy Neech - Motherlode Media Ltd