window.onload=function(){ $('.content p img').each(function(){ if($(this).attr('width')>500 && !$(this).parent().attr('href')) { $(this).css('cursor','pointer'); $(this).click(function() { window.open($(this).attr('src')); }); } }); }
1
顶一下
网友评论