第四二三话 重生(大结局)

    第四二三话 重生(大结局) (第2/3页)

    $('#fullDiv').html('取消全屏') ;

    $('#fullDiv').removeClass('b6') ;

    $('#fullDiv').addClass('b7') ;

    $('#ad_bottom_banner_full').sho() ;

    $('#ad_bottom_banner').hide() ;

    };

    //全屏 end

    var date = ne Date();

    var timestamp = (ne Date());

    (() + (30 * 24 * 60 * 60 * 1000));

    $(function(){

    //avg

    $.ajax({

    url: '',

    type: "GET",

    dataType: 'json',

    data: 'book_id=28942',

    success: function (d)

    {

    if(.de == 0) {

    var ds = .data;

    $('#avg_link').html(''+_sho+'

    ');

    }

    }

    });

    //头部更多显示

    $('#gengduo').mouseover(function (){

    $("#gengduo").attr('class', 'sp_more m2');

    $("#nav_s1").sho();

    });

    $('#gengduo').mouseout(function (){

    $("#gengduo").attr('class', 'sp_more');

    $("#nav_s1").hide();

    });

    //头部更多显示end

    //头部我的书架

    $('#jilu').mouseover(function (){

    $("#jilu").attr('class', 'sp_more m2');

    $("#nav_s4").sho();

    });

    $('#jilu').mouseout(function (){

    $("#jilu").attr('class', 'sp_more');

    $("#nav_s4").hide();

    });

    //头部我的书架end

    //头部用户名

    $('#name').mouseover(function (){

    $("#name").attr('class', 'sp_more m2');

    $("#nav_s3").sho();

    });

    $('#name').mouseout(function (){

    $("#name").attr('class', 'sp_more');

    $("#nav_s3").hide();

    });

    //头部用户名end

    //头部消息

    $('#xiaoxi').mouseover(function (){

    $("#xiaoxi").attr('class', 'sp_more m2');

    $("#nav_s2").sho();

    });

    $('#xiaoxi').mouseout(function (){

    $("#xiaoxi").attr('class', 'sp_more');

    $("#nav_s2").hide();

    });

    //头部消息end

    //滚屏

    $('#screen').click(function (){

    var selected = $('#screen').parent().parent().children(".select") ;

    () ;

    });

    $('#screen1').click(function (){

    var selected = $('#screen').parent().parent().children(".select") ;

    () ;

    });

    $('#screen').parent().parent().children('.select').children('p').each(function(){

    $(this).click(function(){

    $('#screen').val($(this).html()) ;

    $('#screen').parent().parent().children('.select').hide() ;

    var val = $('#screen').val() ;

    if(0 == val){

    ();

    return;

    }

    () ;

    });

    });

    //滚屏 end

    /*颜色*/

    //背景色改变

    $('#background').click(function (){

    var selected = $('#background').parent().parent().children(".select") ;

    () ;

    });

    $('#background1').click(function (){

    var selected = $('#background1').parent().parent().children(".select") ;

    () ;

    });

    $('.select').parent().each(function (){

    $(this).mouseover(function (){

    $(this).children(".select").sho() ;

    }) ;

    });

    $('.select').parent().each(function (){

    $(this).mouseout(function (){

    $(this).children(".select").hide() ;

    }) ;

    });

    $('#background').parent().parent().children('.select').children('p').each(function(){

    $(this).click(function(){

    $('#background').val($(this).html()) ;

    $('#background').parent().parent().children('.select').hide() ;

    $(".ydleft").removeClass($('#background2').val());

    $("body").removeClass($('#background2').val());

    $("body").attr('style' , '') ;

    $(".ydleft").attr('style' , '') ;

    $('#background2').val($(this).attr('class')) ;

    $(".ydleft").addClass($(this).attr('class'));

    $("body").addClass($(this).attr('class'));

    });

    });

    //背景色改变 end

    //文字大小

    $('#fontSize').click(function (){

    var selected = $('#fontSize').parent().parent().children(".select") ;

    () ;

    });

    $('#fontSize1').click(function (){

    var selected = $('#fontSize1').parent().parent().children(".select") ;

    () ;

    });

    $('#fontSize').parent().parent().children('.select').children('p').each(function(){

    $(this).click(function(){

    $('#fontSize').val($(this).html()) ;

    $('#fontSize').parent().parent().children('.select').hide() ;

    $(".yd_text2").removeClass($('#fontSize2').val());

    $('#fontSize2').val($(this).attr('class')) ;

    $(".yd_text2").addClass($(this).attr('class'));

    });

    });

    //文字大小 end

    //字体

    $('#fontFamily').click(function (){

    var selected = $('#fontFamily').parent().parent().children(".select") ;

    () ;

    });

    $('#fontFamily1').click(function (){

    var selected = $('#fontFamily1').parent().parent().children(".select") ;

    () ;

    });

    $('#fontFamily').parent().parent().children('.select').children('p').each(function(){

    $(this).click(function(){

    $('#fontFamily').val($(this).html()) ;

    $('#fontFamily').parent().parent().children('.select').hide() ;

    $(".yd_text2").removeClass($('#fontFamily2').val());

    $('#fontFamily2').val($(this).attr('class')) ;

    $(".yd_text2").addClass($(this).attr('class'));

    });

    });

    //字体 end

    //文字颜色改变

    $('#fontColor').click(function (){

    var selected = $('#fontColor').parent().parent().children(".select") ;

    () ;

    });

    $('#fontColor1').click(function (){

    var selected = $('#fontColor1').parent().parent().children(".select") ;

    () ;

    });

    $('#fontColor').parent().parent().children('.select').children('p').each(function(){

    $(this).click(function(){

    $('#fontColor').val($(this).html()) ;

    $('#fontColor').parent().parent().children('.select').hide() ;

    $(".yd_text2").removeClass($('#fontColor2').val());

    $('#fontColor2').val($(this).attr('class')) ;

    $(".yd_text2").addClass($(this).attr('class'));

    });

    });

    //文字颜色改变 end

    //保存按钮 , 恢复按钮

    $("#saveButton").click(function (){

    $.cookie('screen', $('#screen').val(), { path: '/',expires: date});

    $.cookie('background', $('#background2').val() , { path: '/',expires: date});

    $.cookie('fontSize', $('#fontSize2').val() , { path: '/',expires: date});

    $.cookie('fontColor', $('#fontColor2').val() , { path: '/',expires: date});

    $.cookie('fontFamily', $('#fontFamily2').val() , { path: '/',expires: date});

    alert('保存成功') ;

    }) ;

    $("#recoveryButton").click(function (){

    $('body').removeClass($.cookie('backg

    (本章未完,请点击下一页继续阅读)