2024/01/17 웹접근성 수정
This commit is contained in:
parent
5d56d920d9
commit
0df65ac71f
@ -493,7 +493,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="popup_cont">
|
<div class="popup_cont">
|
||||||
<div class="cont_body">
|
<div class="cont_body">
|
||||||
<div class="pop_tb_type01" style="overflow:visible;">
|
<div class="pop_tb_type01 tb_input" style="overflow:visible;">
|
||||||
<table>
|
<table>
|
||||||
<caption>교육문의 - 문의내용 입력</caption>
|
<caption>교육문의 - 문의내용 입력</caption>
|
||||||
<thead>
|
<thead>
|
||||||
|
|||||||
@ -27,6 +27,7 @@
|
|||||||
btnLast.attr('data-focus','sub01_pop01_close');
|
btnLast.attr('data-focus','sub01_pop01_close');
|
||||||
},100)
|
},100)
|
||||||
|
|
||||||
|
popCaptionToggle02()
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@ -1118,10 +1118,11 @@ $(document).ready(function () {
|
|||||||
|
|
||||||
|
|
||||||
function boardCaptionToggle() {
|
function boardCaptionToggle() {
|
||||||
var thLength = $(".tb_type01 th").length;
|
//var thLength = $(".tb_type01 th").length;
|
||||||
$(".tb_type01").each(function (idx, itm) {
|
$(".tb_type01").each(function (idx, itm) {
|
||||||
var subTit = $(itm).prev(".tb_tit01").find(".tb_tit01_left p").text();
|
var subTit = $(itm).prev(".tb_tit01").find(".tb_tit01_left p").text();
|
||||||
var thText = "";
|
var thText = "";
|
||||||
|
var thLength = $(itm).find("th").length;
|
||||||
$(itm).find("th").each(function (index, item) {
|
$(itm).find("th").each(function (index, item) {
|
||||||
thText += $(item).text();
|
thText += $(item).text();
|
||||||
if (index === thLength - 1) {
|
if (index === thLength - 1) {
|
||||||
@ -1135,7 +1136,7 @@ function boardCaptionToggle() {
|
|||||||
if($(itm).is(".tb_input")){
|
if($(itm).is(".tb_input")){
|
||||||
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보입력 </caption>");
|
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보입력 </caption>");
|
||||||
}else{
|
}else{
|
||||||
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보제공 </caption>");
|
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보제공22 </caption>");
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -1143,11 +1144,12 @@ function boardCaptionToggle() {
|
|||||||
if($(itm).is(".tb_input")){
|
if($(itm).is(".tb_input")){
|
||||||
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보입력 </caption>");
|
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보입력 </caption>");
|
||||||
}else{
|
}else{
|
||||||
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보제공 </caption>");
|
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보제공22 </caption>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
function boardCaptionToggle02() {
|
function boardCaptionToggle02() {
|
||||||
var thLength = $(".tb_list01 th").length;
|
var thLength = $(".tb_list01 th").length;
|
||||||
$(".tb_list01").each(function (idx, itm) {
|
$(".tb_list01").each(function (idx, itm) {
|
||||||
@ -1231,7 +1233,7 @@ function popCaptionToggle() {
|
|||||||
if($(itm).is(".tb_input")){
|
if($(itm).is(".tb_input")){
|
||||||
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보입력 </caption>");
|
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보입력 </caption>");
|
||||||
}else{
|
}else{
|
||||||
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보제공 </caption>");
|
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보제공222 </caption>");
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -1239,7 +1241,7 @@ function popCaptionToggle() {
|
|||||||
if($(itm).is(".tb_input")){
|
if($(itm).is(".tb_input")){
|
||||||
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보입력 </caption>");
|
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보입력 </caption>");
|
||||||
}else{
|
}else{
|
||||||
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보제공 </caption>");
|
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보제공222 </caption>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
@ -1249,7 +1251,7 @@ function popCaptionToggle02() {
|
|||||||
$(".pop_tb_type02").each(function (idx, itm) {
|
$(".pop_tb_type02").each(function (idx, itm) {
|
||||||
var subTit = $(itm).parent(".cont_body").parent(".popup_cont").prev(".popup_tit").find("p").text();
|
var subTit = $(itm).parent(".cont_body").parent(".popup_cont").prev(".popup_tit").find("p").text();
|
||||||
var thText = "";
|
var thText = "";
|
||||||
var thLength = $(itm).find("th").length;
|
var thLength = $(itm).find("thead th").length;
|
||||||
$(itm).children("table").find("thead>tr>th").each(function (index, item) {
|
$(itm).children("table").find("thead>tr>th").each(function (index, item) {
|
||||||
|
|
||||||
console.log(index,item, thLength);
|
console.log(index,item, thLength);
|
||||||
@ -1266,7 +1268,7 @@ function popCaptionToggle02() {
|
|||||||
if($(itm).is(".tb_input")){
|
if($(itm).is(".tb_input")){
|
||||||
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보입력 </caption>");
|
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보입력 </caption>");
|
||||||
}else{
|
}else{
|
||||||
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보제공 </caption>");
|
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보제공33 </caption>");
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
@ -1274,7 +1276,7 @@ function popCaptionToggle02() {
|
|||||||
if($(itm).is(".tb_input")){
|
if($(itm).is(".tb_input")){
|
||||||
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보입력 </caption>");
|
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보입력 </caption>");
|
||||||
}else{
|
}else{
|
||||||
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보제공 </caption>");
|
$(itm).find("table").prepend("<caption>" + subTit + " : " + thText + "등의 정보제공33 </caption>");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user