$('.switchpic1').animate({
opacity: '1',
left: '4%'},
'slow', function() {
$('.picSwitchPage>span[data-num*="0"]').toggleClass('cur');
$('.switchpic1').stop().animate({opacity: '0'},1000);
/* stuff to do after animation is complete */
});
$('.switchtxt1').animate({
opacity: '1',
right: '8%'},
'slow', function() {
$('.switchtxt1').stop().animate({opacity: '0'},1000);
/* stuff to do after animation is complete */
});
$('.switchpic2').animate({
opacity: '1',
left: '-28%'},
'slow', function() {
$('.picSwitchPage>span[data-num*="1"]').toggleClass('cur');
$('.switchpic2').stop().animate({opacity: '0'},1000);
/* stuff to do after animation is complete */
});
$('.switchtxt2').animate({
opacity: '1',
right: '5%'},
'slow', function() {
$('.switchtxt2').stop().animate({opacity: '0'},1000);
/* stuff to do after animation is complete */
});
迁就LOSE
stone310
随时随地看视频慕课网APP
相关分类