在你们的帮助下,我现在有了一个像魅力一样的脚本。我现在唯一需要的是在新标签页/窗口中打开URL的脚本。jQuery click _blank
$(document).ready(function() {
$("#onskeliste li").click(
function()
{
window.location = $(this).attr("url");
return false;
});
$('#onskeliste li a').click(function(e) {
e.stopPropagation();
});
})(jQuery);
你能帮我吗? :-)
我尝试使用: 了window.location = $(本).attr( “URL”); this.target =“_blank”; 但它没有工作...:/ – 2010-04-13 12:33:21