$("#addsj").text("已加书架")
Box("您的书架中已有本书。");
break;
case "3":
Box("书架中最多只能存放200本
请删除书架中不再阅读的");
break;
}
});
return false;
}
function addNotice() {
var tid = "42164";
$("#addNotice").text("加入中...")
$.get("/x?rnd=" + dom(), { tid: tid }, function (data) {
sitch () {
case -1:
Box("参数不合法,如有问题请和网站联系");
break;
case 0:
$("#addNotice").text("更新提醒")
();
break;
case 3:
$("#addNotice").text("更新提醒")
Box("加入更新提醒成功。
更新后会发送邮件到您的邮箱:" + + "
邮箱不正确?点击修改");
break;
case 2:
$("#addNotice").text("更新提醒")
Box("已加入更新提醒。
更新后会发送邮件到您的邮箱:" + + "
邮箱不正确?点击修改");
break;
case 1:
$("#addNotice").text("更新提醒")
Box("最多只能添加30本书到更新提醒。
有不需要提醒的书?点击删除");
break;
}
}, "json")
return false;
}
$(function () {
$("body").keydon(function (event) {
if (yCode == 37) {
var prev = $("#prev").attr("href");
if (prev != undefined)
.href = prev;
}
if (yCode == 39) {
var next = $("#next").attr("href");
if (next != undefined)
.href = next;
}
});
})
$(function () {
$.get("/x?id=42164&sid=139957&stitle=%b6%e0%d3%e0%b5%c4%bb%b0%a3%ba%d4%d9%bc%fb%c1%cb%a3%ac%ce%d2%b5%c4%be%fd%cb%a7%a3%a1&rnd=" + dom());
})
function htmlScroll() {
var a = document. || document.;
if (elFix.data_top < a+62) {
= 'fixed';
= "62px";
ft = elFix.data_left
} else {
= 'static'
}
}
function htmlPosition(a) {
var o = a;
var t = ffsetTop;
var l = ffsetLeft;
hile (o = ffsetParent) {
t += ffsetTop;
l += ffsetLeft
}
a.data_top = t;
a.data_left = l
}
var oldHtmlidth = document.ffsetidth;
ze = function() {
var a = document.ffsetidth;
if (oldHtmlidth == a) {
return
}
oldHtmlidth = a;
= 'static';
htmlPosition(elFix);
htmlScroll()
}
function scrollFun(){
if(!XObject){
htmlScroll();}
}
= scrollFun;
var elFix = ById('adsrc');
htmlPosition(elFix);