Browse By

Create 360° Images With Rollerblade.js

rollerblade-js

Rollerblade.js is a jQuery plugin for easily creating smooth image rotators. If you are designing a website theme, especially if that theme is for e-commerce, I would recommend checking out Rollerblade. You can see an example on the main site and grab the code at the github page. The script works on desktops and mobile devices alike. The author notes that images are preloaded for caching purposes to make the script as fast as possible.

One simple function is needed to call the plugin and create the image rotator:

 $("#target").rollerblade({imageArray:[
        'path/to/image/1.jpg',
        'path/to/image/2.jpg',
        'path/to/image/3.jpg',
        'path/to/image/4.jpg',
        'and/so/on.jpg'
    ]});


Leave a Reply

%d bloggers like this: