청소년보호정책(책임자 이상준)























최명희 소설문학상ㆍ가람 시문학상 선정







$(document).ready(function()

console.log("158 line hello")
//check view_titlebox(view page)
if($("div").is("#view_titlebox"))

// 요소의 top + height
var topbar_limit = $('#view_titlebox').offset().top;
var isDoing = false;
$(window).scroll(function()

var this_scrolltop = $(this).scrollTop();
var t = parseInt($('#topBarWrap').css('top').replace('px', ''));
if (isDoing == false)

if (this_scrolltop >= topbar_limit)

if (t = 0)

isDoing = true;
$('#topBarWrap').animate('top' : '-=76', function()

isDoing = false;
);



);

// 애드오피 1 번 광고 수정관련 시작
$(window).scroll(function()
if(($(document).scrollTop()+100) > 400)
var topPos = $(document).scrollTop() + 100 - 400;
$('#toplayer').css('top', -topPos);
else
$('#toplayer').css('top', 0);

)
// 애드오피 1 번 광고 수정관련 종료
);


jQuery(".btn_mb_close").on("click",function()

menu_box_abtn();
);

function menu_box_abtn()

var box_state = jQuery("#menu_box_state").val();
if (box_state == "0")

jQuery("#menuBox").stop().animate("left" : "0px",
"complete" : function()

jQuery(".open_menu > .bg_sub").css("position","fixed");

, 300);

jQuery("#menu_box_state").val("1");

else

jQuery("#menuBox").stop().animate(
"left" : "-430px"
, 300);
jQuery("#menu_box_state").val("0");
jQuery(".open_menu > .bg_sub").css("position","absolute");



jQuery(".open_menu > ul > li").on("mouseover",function()
menu_index==2 );

jQuery(".open_menu > ul > li").on("mouseout",function()

var menu_index = jQuery(this).index();
if (menu_index > 22)

jQuery(this).removeClass("on");
jQuery(this).removeClass("service");

else

jQuery(this).removeClass("on");


jQuery(".open_menu > ul > li > ul , #menu_box_sub").hide();
/*jQuery("#menuBox").css("width","200px");*/
jQuery("#menuBox").css("width","170px");
);

jQuery(".open_menu > ul > li > ul > li").on("mouseover",function()

jQuery(this).addClass("on");
);

jQuery(".open_menu > ul > li> ul > li").on("mouseout",function()

jQuery(this).removeClass("on");
);

#toplayer
width: 100%;
height: 100px;
background-color: white;
position: fixed;
top:0;
z-index: 999999999;
text-align: center;

#toplayerin
display : inline-block;



.header_rt_news top:3px;width:200px;height:0px;margin:0 auto;
.header_rt_news li height:25px;line-height:25px;











데일리안홈

로그인

회원가입

즐겨찾기





.header_rt_news top:3px;width:200px;height:0px;margin:0 auto;
.header_rt_news li height:25px;line-height:25px;


<!--
$.ajax(
/*url:'/ajax_rtnews/get',*/
url:'/etc/news/beta_ajax_rtnews.php',
data:'',
type:'post',
dataType:'json',
error:function(request,status,error)
console.log('code: '+request.status+"n"+'message: '+request.responseText+"n"+'error: '+error);
,
success:function(data)

var obj = $.parseJSON(data);

if(obj.info.isdisplay == 'on')
$('.info_rank').show();
$('.pyeongchang_top_con').css("background-image","url('/img/2018_main_sports_top_2.jpg')");
$('.info_sch').css("left","185px");
else
$('.info_rank').hide();
$('.pyeongchang_top_con').css("background-image","url('/img/2018_main_sports_top_1.jpg')");
$('.info_sch').css("left","254px");


for(var i=0;i<20;i++)

var rtn = "rtnews"+i;
//alert(obj[rtn].id);
var num = i + 1;

var tmp_type_a = "
  • " + obj[rtn].b_sbj + "";
    var tmp_type_b = "
  • " + obj[rtn].b_sbj + "";

    $("#newsticker9 ul").append(tmp_type_a);

    if(i=10 && i<20)
    $("#group2 ul").append(tmp_type_b);


    /*
    obj[rtn].id
    obj[rtn].b_sbj





  • <!--
    -->




    $(window).scroll(function()
    /* NA
    if (left_banner_on == true)
    setTimeout("_left_scrollbar()", 500);

    */
    );


    $(document).ready(function()

    $('.search_btn').click(function()
    //alert( $(this).parent().find(".search_txt").val() );

    var search_pos = $(this).parent().find(".search_pos").val();

    var sh_period = '';
    var sh_type = '';
    var sh_kind = '';
    var sh_code = '';
    var sh_word = '';

    sh_word = $(this).parent().find(".search_txt").val();
    sh_word = $.trim(sh_word);

    //검색위치::뉴스리스트::상세검색 = 2, 메뉴바 = 1
    if(search_pos == 2)
    sh_period = $("#sh_period").val();
    sh_type = $("#sh_type").val();

    if( $("#sh_code").val() != '' )
    sh_kind = $("#sh_code").val().substring(0, 2);
    sh_code = $("#sh_code").val().substring(2);


    if(sh_type == 2)

    if(sh_word.length 0 && sh_word.length < 2)
    alert("검색단어는 최소 두글자 이상 입력해주세요.");
    $(this).parent().find(".search_txt").focus();
    return;



    else if(search_pos == 1)

    if(sh_word.length 0 && sh_word.length < 2)
    alert("검색단어는 최소 두글자 이상 입력해주세요.");
    $(this).parent().find(".search_txt").focus();
    return;


    else if(search_pos == 1)

    if(sh_word.length < 2)
    alert("검색단어는 최소 두글자 이상 입력해주세요.");
    $("#sh_word").focus();
    return;



    var sh_url = "/newslist/?sh_period="+sh_period+"&sh_type="+sh_type+"&sh_kind="+sh_kind+"&sh_code="+sh_code+"&sh_word="+encodeURIComponent(sh_word);
    document.location.href = sh_url;

    );

    //add by khkim 20170817
    $('.mv_site').click(function()

    var mv_url = $(".mv_site").attr('title');
    document.cookie = "pcv=2; expires=0; path=/; domain=.dailian.co.kr";
    document.location.href = mv_url;
    );

    );



    Popular posts from this blog

    SQL error code 1064 with creating Laravel foreign keysForeign key constraints: When to use ON UPDATE and ON DELETEDropping column with foreign key Laravel error: General error: 1025 Error on renameLaravel SQL Can't create tableLaravel Migration foreign key errorLaravel php artisan migrate:refresh giving a syntax errorSQLSTATE[42S01]: Base table or view already exists or Base table or view already exists: 1050 Tableerror in migrating laravel file to xampp serverSyntax error or access violation: 1064:syntax to use near 'unsigned not null, modelName varchar(191) not null, title varchar(191) not nLaravel cannot create new table field in mysqlLaravel 5.7:Last migration creates table but is not registered in the migration table

    용인 삼성생명 블루밍스 목차 통계 역대 감독 선수단 응원단 경기장 같이 보기 외부 링크 둘러보기 메뉴samsungblueminx.comeh선수 명단용인 삼성생명 블루밍스용인 삼성생명 블루밍스ehsamsungblueminx.comeheheheh

    155 수학 과학 기타 둘러보기 메뉴eh추가해eh문서를 완성해