第56章 谁都保不住你
第56章 谁都保不住你 (第3/3页)
ntColor', '' , { path: '/',expires: date});
$.cookie('fontFamily', '' , { path: '/',expires: date});
$('#screen').val('滚屏') ;
$('#background').val('阅读底色') ;
$('#background2').attr('value','#CCCCCC') ;
$('#fontColor').val('字体色彩') ;
$('#fontColor2').val('#FFFFFF') ;
$('#fontFamily').val('字体') ;
$('#fontFamily2').val('fa_song') ;
$('#fontSize').val('字体大小') ;
$('#fontSize2').val('12px') ;
}) ;
//保存按钮 , 恢复按钮 end
//alert($('.yd_text2').height()) ;
var date = ne Date();
var timestamp = (ne Date());
(() + (30 * 24 * 60 * 60 * 1000));
$.cookie('aid_' + 28192 , '28192|少年魔神|904742|第56章 谁都保不住你|' + timestamp, {path: '/',expires: date});
articleArr = $.cookie('article');
if (articleArr == null) {
$.cookie('article', '28192|少年魔神|904742|第56章 谁都保不住你|0|' + timestamp + '@', {path: '/',expires: date})
} else {
start = dexOf('28192');
if (start == -1) {
$.cookie('article', '28192|少年魔神|904742|第56章 谁都保不住你|0|' + timestamp + '@' + articleArr, { path: '/',expires: date});
} else {
end = dexOf('@', start);
end = end + 1;
articleSubstr = bstr(start, end);
articleArr = (articleSubstr, '');
$.cookie('article', '28192|少年魔神|904742|第56章 谁都保不住你|0|' + timestamp + '@' + articleArr, {path: '/', expires: date });
}
}
scroeFuceng();
updateSrc();
isBookrackJs(28192,'少年魔神');
/**搜索相关*/
$("#searchText").jSuggest({ ///aaa对应需要提示的文本框的id
minchar: 1, //最少字符开始提示
opacity: 1.0, //提示框的透明度
delay: 1, //加载提示的延迟时间
loadingImg: "",
loadingText: 'checking...',
url: "/searchList/getSearchInfo?type=1&table=article_article&order=find_order", ///提示的内容
type: "GET",
data: "keys",?searchquery=文本框中的值
autoChange: true
});
/**搜索相关--end*/
var scroolTopNum=0;
var scroolHeightNum=0;
var added=0;
var opened=0;
$.getScript("?v1.0",function(){
$(articleList).each(function () {
var chapterid=parseInt(d);
var chaptername=;
var isvip=parseInt();
var size=parseInt(ze);
var lastupdate=parseInt(date);
var chaptertype=parseInt(ype);
var subChapter=b1;
var classname="";
if(chaptertype==1){
scroolHeightNum+=1;
$("#scroolHeightNum").val(scroolHeightNum);
if(chapterid==904742){
added=1;
$("#added").val("1");
}
if(added==0){
scroolTopNum+=1;
$("#scroolTopNum").val(scroolTopNum);
}
classname="class=\"t\"";
var createli=""+chaptername+"";
$("#AdLayer").find("ul").append(createli);
if(typeof(subChapter)!='undefined'){
for(var ji in subChapter){
scroolHeightNum+=1;
$("#scroolHeightNum").val(scroolHeightNum);
var chapterid=parseInt(subChapter[ji].chapterid);
var chaptername=subChapter[ji].chaptername;
var isvip=parseInt(subChapter[ji].isvip);
var size=parseInt(subChapter[ji].size);
var lastupdate=parseInt(subChapter[ji].lastupdate);
var chaptertype=parseInt(subChapter[ji].chaptertype);
var aclass="";
if(chapterid==904742){
added=1;
$("#added").val("1");
aclass=" class=\"hover\"";
}
if(added==0){
scroolTopNum+=1;
$("#scroolTopNum").val(scroolTopNum);
}
if(isvip==1){
var createli=""+chaptername+"";
}else{
var createli=""+chaptername+"";
}
$("#AdLayer").find("ul").append(createli);
}
}
}else{
scroolHeightNum+=1;
$("#scroolHeightNum").val(scroolHeightNum);
var aclass="";
if(chapterid==904742){
added=1;
$("#added").val("1");
aclass=" class=\"hover\"";
}
if(added==0){
scroolTopNum+=1;
$("#scroolTopNum").val(scroolTopNum);
}
if(isvip==1){
var createli=""+chaptername+"";
}else{
var createli=""+chaptername+"";
}
$("#AdLayer").find("ul").append(createli);
}
//alert(d+":::"+dinal);
});
});
$(".mulu_box_fc").children("ul").height(parseFloat($(indo).height()));
$(indo).resize(function() {
$(".mulu_box_fc").children("ul").height(parseFloat($(indo).height()));
});
var rid = -1 ;
document.domain = "" ;
function updateSrc(){
var pro = .search;
arg = ('&') ;
var url = '' ;
if(pro==''){
url = "/artinfo/updateInfo?aid=28192&cid=904742" ;
}else{
url = "/artinfo/updateInfo"+pro+"&aid=28192&cid=904742" ;
}
$.getScript(url) ;
}
var autoScroll = (function() {
var top;
var timer;
var actualTop;
var speed;
function startTimer() {
timer = setInterval(scroll, 40);
try {
if () {
.empty();
} else {
var selection = ();
();
}
} catch(e) {}
}
function scroll() {
top = document. || document.;
speed = parseInt($('#screen').val()) || 1;
if(speed!=null){
top = top + speed;
}
(0, top);
actualTop = document. || document.;
if (top != actualTop) {
stopTimer();
}
}
function stopTimer() {
clearInterval(timer);
}
return {
start: startTimer,
stop: stopTimer
};
})();
jQuery(document).dblclick();
jQuery(document).mousedon();
});