$('#playlist ul li > a').click(function(){
if(href.indexOf("tudou.com") !== -1){
window.open(this.href, "","top=100,left=355,width=640,height=500");
}else{
window.open(this.href, "","top=284,left=370,width=610,height=290");
}
return false;
});
这样写无法实现。。求助
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
我给个不同的答案,在@foomorrow的基础上改进的。
});