$(function () { /*$("a[href^='#']").click(function(evt){ var anchortarget = $(this).attr("href"); $(anchortarget).attr("tabindex", -1).focus(); }); if (window.location.hash) { $(window.location.hash).attr("tabindex", -1).focus(); }*/ // Fxes anchor focus in Chrome/Safari/IE by setting the tabindex of the // target container to -1 on page load $("a[href^='#']").click(function (evt) { if (!$(this).closest('p').hasClass('pageControl')) { var anchortarget = $(this).attr("href"); $(anchortarget).attr("tabindex", -1).focus(); setTimeout(function () { $(anchortarget).removeAttr("tabindex"); }, 10) } }); //2013-12-10 ¼öÁ¤ if (window.location.hash) { $(window.location.hash).attr("tabindex", -1).focus(); } $("#skip a").bind("focus",function(){ $("#skip a").removeClass("on"); $(this).addClass("on"); }) $("#skip a").bind("blur",function(){ $("#skip a").removeClass("on"); })//2013-09-03 ¼öÁ¤ var $mainBox = $('div.mainBox') ; // ¸ÞÀÎ ¹Ú½º var $middleCont = $mainBox.find('> div.middleCont') ; // ¸ÞÀÎ ¹ÌµéÄÁÅÙÃ÷ ¹Ú½º var $footBox = $mainBox.find('> div.footBox') ; // ¸ÞÀΠǪÅÍÄÁÅÙÃ÷ ¹Ú½º var $slideBox = $middleCont.find('div.slideBox') ; // ¸ÞÀÎ À̹ÌÁö½½¶óÀÌµå ¹Ú½º var $browser = $(window) ; // ÇöÀç ºê¶ó¿ìÀú winHalfWidth = ($browser.width() - $mainBox.width()) / 2 ; // ºê¶óºÎ¾î ¿©¹é ±æÀÌÀÇ Áß°£ °ª // var $naviBox = $('ul.naviBox') ; // var $naviWrapBox = $('