접근성수정
This commit is contained in:
parent
b4594c991d
commit
a47f1ab061
@ -87,6 +87,20 @@ function fn_listPops(typeDivCd) {
|
|||||||
$("#listPops_" + typeDivCd).show();
|
$("#listPops_" + typeDivCd).show();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 접근성
|
||||||
|
$("#searchHeaderButton").focus(function(){
|
||||||
|
$('.skip-nav').show();
|
||||||
|
$('.skip-nav a:nth-of-type(1)').focus();
|
||||||
|
});
|
||||||
|
$('.skip-nav a:nth-of-type(4)').focusout(function(){
|
||||||
|
$('.skip-nav').hide();
|
||||||
|
});
|
||||||
|
$(".skip-nav a").keydown(function (e) {
|
||||||
|
if (e.keyCode == 13) {
|
||||||
|
$('.skip-nav').hide();
|
||||||
|
}
|
||||||
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<!-- 섹션1 -->
|
<!-- 섹션1 -->
|
||||||
|
|||||||
@ -24,21 +24,6 @@ $(document).ready(function(){
|
|||||||
$('.location .inner .row-top .arr img').attr('alt','');
|
$('.location .inner .row-top .arr img').attr('alt','');
|
||||||
$('.map .inner .info-box .info-sec .text-box > div span:nth-of-type(1) em.next').append('<span class="ir">다음</span>');
|
$('.map .inner .info-box .info-sec .text-box > div span:nth-of-type(1) em.next').append('<span class="ir">다음</span>');
|
||||||
|
|
||||||
$("#searchHeaderButton").focus(function(){
|
|
||||||
$('.skip-nav').show();
|
|
||||||
$('.skip-nav a:nth-of-type(1)').focus();
|
|
||||||
});
|
|
||||||
|
|
||||||
$('.skip-nav a:nth-of-type(4)').focusout(function(){
|
|
||||||
$('.skip-nav').hide();
|
|
||||||
});
|
|
||||||
$(".skip-nav a").keydown(function (e) {
|
|
||||||
if (e.keyCode == 13) {
|
|
||||||
$('.skip-nav').hide();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
|
|
||||||
/* 인기자료 탭메뉴 */
|
/* 인기자료 탭메뉴 */
|
||||||
(function ($) {
|
(function ($) {
|
||||||
$(".tab ul.tabs").addClass("active").find("> li:eq(0)").addClass("current");
|
$(".tab ul.tabs").addClass("active").find("> li:eq(0)").addClass("current");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user