第542章 白绿色的风源(2/2)
作者:风十三郎A
/x?rnd=" + dom(), { tid: tid, sid: sid, stopic: st }, function (data) {
sitch (data) {
case "-1":
box("参数不合法,如有问题请和网站联系");
break;
case "0":
$("#addsj").text("加入书架")
();
break;
case "1":
$("#addsj").text("已加书架")
box("加入书架成功");
break;
case "2":
$("#addsj").text("已加书架")
box("您的书架中已有本书。");
break;
case "3":
box("书架中最多只能存放200本
请删除书架中不再阅读的");
break;
}
});
return false;
}
function addnotice() {
var tid = "53315";
$("#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=53315&sid=96644&stitle=%b5%da%ce%e5%b0%d9%cb%c4%ca%ae%b6%fe%d5%c2+%b0%d7%c2%c9%ab%b5%c4%b7%e7%d4%b4&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);