jquery - Reinitialize parallax.js on window resize? -


i'm using parallax.js responsive portfolio website. there "mansory" grid, has "parallaxed" images in it. when load website in smartphone view (with smaller grid width) , increase window desktop view, plugin not recalculate distances, , image slides out of grid. think needs reinitialise when resizing , tried "calibrate" option, no luck:

$(window).resize(function() {     $(".exhibition").parallax({         calibratex: true,         calibratey: true     }); }).resize(); 

on demo page seems reinit or recalculate distances. how can archieve that? ideas?


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -