0
我真的希望有人会知道这个答案。为什么FF4需要2次点击才能触发resizeme?另外,当玩游戏时注意到,如果我在第二次单击单独图像时单击其抓取应该在第一次单击/图像上应用的调整大小设置。它在FF3,safari,chrome中很好,例如7和8。FF4要求点击jquery为什么?
$(document).ready(function(){
$("#slideShow a").click(function() {
var imgTitle = $(this).children('img').attr('title'); // Find the image title
$("#thecap").html(' ' + imgTitle + ' ');
$("#lgImage").attr('src', $(this).children('img').attr('rel'));
$(".resizeme1").aeImageResize({ height: 372 });
});
});
这是更好地接受'event'步入回调,并使用'event.preventDefault()'。 – 2011-04-07 23:09:14
不幸的是,这是行不通的 – user520300 2011-04-07 23:13:18
@Tomalak你能举个例子吗? – user520300 2011-04-07 23:13:52