035

    });

    //背景色改变 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() ;

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