Adaptor (AKA jQuery Box Slider) has been about for a couple of years now and in it’s infancy was somewhat revolutionary utilising new browser capabilities. Since then browser implementations had moved on and the plugin had gathered dust but despite that the project had seen a steady growth of stars and forks on Github with most of the issues relating to the fact that it was not responsive. I’ve recently been able to seize the opportunity to spend some time and make the existing slide effects responsive and in the process have made some performance improvements to both the core and individual effect plugins.
Using the plugin
I’ve aimed to create the plugin so that there is no specific styling required but there is a certain HTML structure for the three dimensional slide transitions. The Gist below shows an example of the HTML for the scrolling 3D transitions where it is required that the box is wrapped in a viewport to which the correct perspective can be applied. Once the correct HTML structure is in place all that is required is that the plugin be applied to the rotatng box, not the parent viewport.