|
樓主請把問題說清楚 方便大家?guī)湍惆?script>
jQuery(function(){
jQuery("a").each(function(i,e){
var str = jQuery(this).attr("onclick");
var y_str = str;
if(str){
var str = str.replace(/showWindow\('rate', 'forum\.php\?mod\=misc&action=rate&tid=5537&pid=61213'/, "showWindow('test', 'plugin.php?id=subar_system_tools:zanshang_view&tid=5537&pid=61213'");
var str = str.replace(/showWindow\('rate', 'forum\.php\?mod\=misc&action=rate&tid=5537&pid=61259'/, "showWindow('test', 'plugin.php?id=subar_system_tools:zanshang_view&tid=5537&pid=61259'");
}
jQuery(this).attr({
onclick: str,
});
});
})
|
|