Closed thewebsitedev closed 10 years ago
I have a few elements that i want to animate. But when I add class like -
$('myClass').bind('inview', function (event, visible, topOrBottomOrBoth)......
All animations perform at the same time, I mean when the first element is in view all the animations get triggered at the same time.
Anyway to make element of same class to be triggered only when they are in viewport?
Sorry, it was a bad question. We can use ID instead. I don't know what was going through my mind at that time.
I have a few elements that i want to animate. But when I add class like -
$('myClass').bind('inview', function (event, visible, topOrBottomOrBoth)......
All animations perform at the same time, I mean when the first element is in view all the animations get triggered at the same time.
Anyway to make element of same class to be triggered only when they are in viewport?