8 lines
243 B
JavaScript
8 lines
243 B
JavaScript
$(document).ready(function () {
|
|
$('.headbandShowOnScroll').each(function (i, el) {
|
|
scrollFireOptions.push(
|
|
{selector: '#'+el.id, offset: 200, callback: function(el1) {
|
|
$(el1).animate({'left' :'-=2000'}, 300, 'swing')
|
|
} })
|
|
})
|
|
}) |