' + subject[i] + '
' + $.trim(content[i]) + '
');
}
// ±âÁ¸¿¡ º¸¿©Áö´Â º°µµ td ÀÇ Á¦¸ñ, ³»¿ëÀº ¼û±è
$(".gallery_subject").css('display','none');
}
});
// ÆĶó¸ÞÅÍ °ª °¡Á®¿À±â
var getUrlParameter = function getUrlParameter(sParam) {
var sPageURL = decodeURIComponent(window.location.search.substring(1)),
sURLVariables = sPageURL.split('&'),
sParameterName,
i;
for (i = 0; i < sURLVariables.length; i++) {
sParameterName = sURLVariables[i].split('=');
if (sParameterName[0] === sParam) {
return sParameterName[1] === undefined ? true : sParameterName[1];
}
}
};
// °Ô½ÃÆÇ Ä«Å×°í¸® ÀÚµ¿ »ý¼º
$(document).ready(function() {
var cate_link = [],
cate_title = [],
currentURL = $(location).attr('pathname'),
param = "?&com_board_category_code=",
currentParam = "",
insertHTML = "",
idx = 0;
if ($("select[name='com_board_category_code']").length > 0) {
currentParam = getUrlParameter('com_board_category_code');
$("select[name='com_board_category_code'] > option").each(function() {
cate_link[idx] = $(this).val();
cate_title[idx] = $(this).text();
idx++;
});
insertHTML = '