<script>
var $imga = $('#mimg');
$imga.waypoint(function (direction) {
if (direction === 'down') {
$('#mimg').removeClass('animated bounceOutRight');
$('#mimg').addClass('animated fadeIn');
$('.banny').removeClass('animated bounceOutLeft');
$('.banny').addClass('animated fadeIn');
// $('.ptextxs').textillate({
// in: {effect: 'fadeInDown'}
// });
}
else {
$('#mimg').removeClass('animated fadeIn');
$('#mimg').addClass('animated bounceOutRight');
$('.banny').removeClass('animated fadeIn');
$('.banny').addClass('animated bounceOutLeft');
}
},
{offset: '65%'});
</script>
var $imga = $('#mimg');
$imga.waypoint(function (direction) {
if (direction === 'down') {
$('#mimg').removeClass('animated bounceOutRight');
$('#mimg').addClass('animated fadeIn');
$('.banny').removeClass('animated bounceOutLeft');
$('.banny').addClass('animated fadeIn');
// $('.ptextxs').textillate({
// in: {effect: 'fadeInDown'}
// });
}
else {
$('#mimg').removeClass('animated fadeIn');
$('#mimg').addClass('animated bounceOutRight');
$('.banny').removeClass('animated fadeIn');
$('.banny').addClass('animated bounceOutLeft');
}
},
{offset: '65%'});
</script>
No comments:
Post a Comment