stephband / jparallax

jQuery plugin for creating interactive parallax effect
http://stephen.band/jparallax/
1.15k stars 333 forks source link

Help is needed! Ignoring the Y axis (yparallax) #93

Open DexColt opened 7 years ago

DexColt commented 7 years ago

Hello! Thanks for the plugin! But I found an error. After updating the content with Ajax, the Y axis is ignored, that is, margin-top does not change its value. How can I fix this?

Thank you

$(this).find("img").parallax({ xparallax: '55px', yparallax: '50px', mouseport: $(this).parent() }, { xparallax: '80px', yparallax: '84px', mouseport: $(this).parent() });

DexColt commented 7 years ago

HHHHHHEEEEEEELLLLLLLPPPPPPPPPPP PLS!!!!!!!!!!!!!!!!!!!!!!!