0
我想让我的图像滑块插件的淡入淡出效果与链接正常工作。jQuery不动画链接
目前,滑块正确消失,但链接无法更改。第一个图像应该链接到Google.com &第二个链接应该链接到Hotmail.com,但是它们都链接到Hotmail.com(链接为最后一张图片;无论多少您使用的图像)。
为了实现我使用.animate({opacity:0}})
& 1褪色等。这里是似乎以实现动画的线(72,215 & 216分别地):
$(this.slides).css('opacity',0).eq(this.currentNo).css('opacity',1);
$(this.slides).stop().animate({opacity:0}, {
duration: this.settings.duration,
easing:this.settings.easing
});
$(this.slides).eq(index).stop().animate({opacity:1}, {
duration: this.settings.duration,
easing:this.settings.easing
});
来源:http://pastebin.com/9JwaM9tg
测试网站:http://matthewruddy.com/demo
感谢任何能够帮助的人我出去了。真的很感激它。
非常感谢!对此,我真的非常感激!你不明白我一直在试图找出这个问题。因此花了几周的时间学习jQuery。再次感谢! – 2010-08-19 10:59:47
没问题。更新了答案。 – Nalum 2010-08-19 11:06:32