nckprsn / scrollme

A jQuery plugin for adding simple scrolling effects to web pages.
1.47k stars 318 forks source link

Problems with from&to #40

Open jeremyron opened 7 years ago

jeremyron commented 7 years ago

Hi!

I seem to be having problems with the 'from' and 'to' feature. I'm trying to get the images on my site to slide like this http://www.solvesundsbo.com/work

It appears that some images do slide very subtly, but it doesn't exactly seem to be working. This is the code for an image for example:

<img class="project-thumbnail portrait-image animateme" data-easing="easeinout" data-when="span" data-from="0" data-to="20" data-translatez="0" data-translatey="-1000" src="http://jeremy.date/wp-content/uploads/2017/01/56henry_install1_1G2HIHf.jpg" width="385" height="500" style="opacity: 1; transform: translate3d(0px, -15px, 0px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) scale3d(1, 1, 1);">

The link to my site is here: http://jeremy.date

Thanks! Fraser