开发者

Safari Problem with jQuery live click

I use a live click event on it开发者_如何学Cems in a dropdown:

$('.list').live('click', function() {
var listClass = $(this).attr('title');
  $('.post').fadeOut('fast');
  $('.post.'+listClass).delay(300).fadeIn(1000);    
});

Seems not to work in all browsers instead of ff?

Any suggestions?


maybe problem in

$('.post .'+listClass).delay(300).fadeIn(1000);


in your css add:

.list{cursor:pointer}
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜