/*加入收藏夹JS*/
$("#addfavorite").click(function () {
addfavorites();
});
function addfavorites() {
var sURL = document.URL;
var sTitle = document.title;
try {
window.external.addFavorite(sURL, sTitle);
}
catch (e) {
try {
window.sidebar.addPanel(sTitle, sURL, "");
}
catch (e) {
alert("加入收藏失败,请使用Ctrl+D进行添加");
}
}
}
//更改透明度
$("#OneImg").css('opacity', '0.6');