《毒麦》第329章


msg+= "订阅成功";
msg+= "";
msg+= "";
msg+= "";
msg+= "您已成功订阅毒麦 ";
msg+= "";
msg+= "";
msg+= "
查看订阅作品
";
msg+= " 3秒后自动跳转。。。。。。";
msg+= "";
msg+= "";
msg+= "";
firminfo({btn:"";icocls:"";msgcls:"firm";message:msg;titlebar:false;useslide:true;autoclose:false;idth:300;height:130});
settimeout("loadread" ; 3000) ;
}else{
if(request=="20106"){
。href = 〃/ne/login/shologin#?bookid=43873&chapterid=2514314〃;
return;

alert(error);


fun loadread{

。href = url

ydon = fun (event){
event = ? : event;
try{
if (ycode == 13){
if(("#login")。length》0){
ycode = 0;
golocallogin;

if(("#zcbutton")。length》0){
ycode = 0;
moblielister;


}catch(e){


(fun{
gevalid(("#captchaimglogin")) ;//加验证码
//gevalid(("#captchaimgreg")) ;
//头部更多显示
("#gengduo")。mouseover(fun {
(〃#gengduo〃)。attr("class"; "spmore m2");
(〃#navs1〃)。sho;
});
("#gengduo")。mouseout(fun {
(〃#gengduo〃)。attr("class"; "spmore");
(〃#navs1〃)。hide;
});
//头部更多显示end
//头部我的书架
("#jilu")。mouseover(fun {
(〃#jilu〃)。attr("class"; "spmore m2");
(〃#navs4〃)。sho;
});
("#jilu")。mouseout(fun {
(〃#jilu〃)。attr("class"; "spmore");
(〃#navs4〃)。hide;
});
//头部我的书架end
//头部账号(邮箱)
("#name")。mouseover(fun {
(〃#name〃)。attr("class"; "spmore m2");
(〃#navs3〃)。sho;
});
("#name")。mouseout(fun {
(〃#name〃)。attr("class"; "spmore");
(〃#navs3〃)。hide;
});
//头部账号(邮箱)end
//头部消息
("#xiaoxi")。mouseover(fun {
(〃#xiaoxi〃)。attr("class"; "spmore m2");
(〃#navs2〃)。sho;
});
("#xiaoxi")。mouseout(fun {
(〃#xiaoxi〃)。attr("class"; "spmore");
(〃#navs2〃)。hide;
});
//头部消息end
var options = {
beforesubmit:shorequest;
success:shoresponse // post…submit
};
("#form1")。ajaxform(options);
//返回顶部
("#spantop")。mouseover(fun {
(〃#spantop〃)。attr("class"; "spantop2");
});
("#spantop")。mouseout(fun {
(〃#spantop〃)。attr("class"; "spantop");
});
("#spanbottom")。mouseover(fun {
(〃#spanbottom〃)。attr("class"; "spanbottom2");
});
("#spanbottom")。mouseout(fun {
(〃#spanbottom〃)。attr("class"; "spanbottom");
});
("#spantop")。click(fun {
(〃html; body〃)。animate({ scrolltop: 0 }; 120);
});
("#spanbottom")。click(fun {
broser = (dot)。height ;
(〃html; body〃)。animate({ scrolltop: broser }; 120);
});
//返回顶部 end
});
fun settablogin(m;n){
var tli=byid(〃menu〃+m)。getelementsbytagname(〃li〃); /*获取选项卡的li对象*/
var mli=byid(〃main〃+m)。getelementsbytagname(〃dl〃); /*获取主显示区域对象*/
for(i=0;i" ;
if(subscription!=1){
html +=" " ;
goldsum = goldsum+parseint(price);
chaptert++ ;
}else{
html +=" ";

html +=" "+n。bookname+"" ;
subhtml ="" ;
if(!=""){
subhtml= "第"++"章 ";

html +=" "+subhtml+name+"" ;
html +=" "+ze+"" ;
html +=""+price+"" ;
subhtml ="" ;
if(subscription==1){
subhtml= "已订阅";
}else{
subhtml= "未订阅";

html +=""+subhtml+"" ;
html +="" ;
(〃#chaptermoretable tr:last〃)。after(html);

});
if(tparseint(("#noegold"))){
shorequest;



});
(〃bslist〃)。css({height:〃auto〃}) ;
});
(〃#subsexpandall〃)。live(〃click〃;fun{
loading;
(〃#subsexpandall〃)。die(〃click〃);
bookid = (this)。attr("data…bookid");
uid = (this)。attr("data…uid");
。ajax({
type: 〃get〃;
url: "/ne/ksuser/subscriptiochapterlistall";
data: "bookid="+bookid;
datatype: 〃json〃;
success: funsg){
chaptert = 0;
goldsum = 0;

if(。de != 0)

alert(。);
return false;
}else{
var html = "";
datalen = 。;
// 。each(; fun(i;item){
(〃#chaptermoretable tr:gt(0)〃)。remove;
。each(。data ;fun(i; n){
//(〃#chaptermoretable〃)(" 选择书名章节名字数需要看书币订阅状态") ;
html = " " ;
if(subscription!=1){
html +=" " ;
goldsum = goldsum+parseint(price);
chaptert++ ;
}else{
html +=" ";

html +=" "+n。bookname+"" ;
subhtml ="" ;
if(!=""){
subhtml= "第"++"章 ";

html +=" "+subhtml+name+"" ;
html +=" "+ze+"" ;
html +=""+price+"" ;
subhtml ="" ;
if(subscription==1){
subhtml= "已订阅";
}else{
subhtml= "未订阅";

html +=""+subhtml+"" ;
html +="" ;
(〃#chaptermoretable tr:last〃)。after(html);
});
("#chaptersum")(chaptert) ;
("#goldsum")(goldsum) ;
("#sumegold")(goldsum) ;
if(parseint(("#goldsum"))》parseint(("#noegold"))){
shorequest;

("#subsexpandall")("收起章节列表") ;
//("bsexpand")。css("color";"#ccc");
("bsexpand")。css("color";"#ccc");
(〃bsexpand〃)。die(〃click〃);
(〃#subsexpandall〃)。die(〃click〃);
("#subsexpandall")。live("click";fun{
hiddenchapterall ;
}) ;
//("#subsexpandall")。css("color";"#ccc");
//去掉展开更多章节的提示
page=9999;


});
(〃bslist〃)。css({height:〃auto〃}) ;
});
})
//隐藏章节
fun hiddenchapterall{
loading;
settimeout("hiddenchapteralltimeout" ; 1000) ;
//hiddenchapteralltimeout ;

fun hiddenchapteralltimeout{
(〃#chaptermoretable tr:gt(4)〃)。hide ;
(〃#chaptermoretable tr:gt(4) :checkbox〃)。attr("checked";false) ;
/*
(〃#chapter
小说推荐
返回首页返回目录