File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html>
<html lang="ko">
<head>
<title>한국공예·디자인문화진흥원</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="description" content="한국공예·디자인문화진흥원에 대한 정보를 제공합니다.">
<meta name="keywords" content="한국공예·디자인문화진흥원">
<meta name="viewport" content="width=device-width, initial-scale=1">
<script type="text/javascript" src="/js/tab.js"></script>
<%-- <link href="${site_path}/css/style.css" rel="stylesheet"> --%>
<link href="${site_path}/css/style2.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="/css/style.min.css">
<link href="${site_path}/js/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<link href="${site_path}/css/page.css" rel="stylesheet">
<link rel="stylesheet" href="/css/flexslider.css" type="text/css" media="screen" /><!-- 이미지슬라이드 -->
<script defer src="${site_path}/js/jquery.flexslider.js"></script>
<link href="${site_path}/css/index.css" rel="stylesheet">
<script type="text/javascript">
$(document).ready(function(){
if($(window).width() < 701){
$('.main_magazine').attr("onclick", "javascript:location.href='${popupzoneList_05[0].mlink}'");
}
// 실서버
if($(location).attr('host').indexOf("kcdf.or.kr") != -1){
if($(location).attr('host').indexOf("www") == -1){
var strurl = $(location).attr('href');
strurl = strurl.replace("kcdf.or.kr", "www.kcdf.or.kr");
window.location.replace(strurl);
}
}
//레이어 팝업 띄우기
<c:forEach var="popupListData" items="${popupList}" varStatus="status" end="10">
<c:if test="${popupListData.popupType eq 'L'}">
if(fnGetCookie('layer_${popupListData.popupId}') == null){
$("#layer_pop_${popupListData.popupId}").fadeIn();
}
</c:if>
</c:forEach>
//윈도우 팝업 띄우기
<c:forEach var="popupListData" items="${popupList}" varStatus="status" end="10">
<c:if test="${popupListData.popupType eq 'W'}">
if(fnGetCookie('${popupListData.popupId}') == null ){
fn_openPopup('${popupListData.popupId}', '${popupListData.sortNum}','${popupListData.popupWidthSize}','${popupListData.popupVrticlSize}','${popupListData.popupWidthLc}','${popupListData.popupVrticlLc}');
}
</c:if>
</c:forEach>
});
function fn_layerClose(popupId){
$("#layer_pop_"+popupId).fadeOut();
}
function fn_egov_inqire_notice(bbsId, nttId) {
document.frm.bbsId.value = bbsId;
document.frm.nttId.value = nttId;
document.frm.method = "get";
if("EXTBBSM_000000000002" == bbsId){ //입찰
document.frm.action = "/${siteId}/web/cop/bbs/viewExtBoard.do";
}else{
document.frm.action = "/${siteId}/web/cop/bbsWeb/selectBoardArticle.do";
}
//document.frm.action = "/web/cop/bbsWeb/selectBoardArticle.do";
document.frm.submit();
}
function fn_egov_inqire_notice_secd(bbsId, nttId, seCd) {
document.frmSecd.bbsId.value = bbsId;
document.frmSecd.nttId.value = nttId;
document.frmSecd.seCd.value = seCd;
document.frmSecd.method = "get";
if("EXTBBSM_000000000002" == bbsId){ //입찰
document.frmSecd.action = "/${siteId}/web/cop/bbs/selectExtBbsList.do";
document.frmSecd.submit();
}else{
document.frmSecd.action = "/${siteId}/web/cop/bbsWeb/selectBoardArticle.do";
document.frmSecd.submit();
}
}
function checkMobileDevice() {
var mobileKeyWords = new Array('Android', 'iPhone', 'iPod', 'BlackBerry', 'Windows CE', 'SAMSUNG', 'LG', 'MOT', 'SonyEricsson');
for (var info in mobileKeyWords) {
if (navigator.userAgent.match(mobileKeyWords[info]) != null) {
return true;
}
}
return false;
}
function fn_egov_addNotice() {
document.frm.method = "get";
document.frm.bbsId.value = "BBSMSTR_000000000153";
document.frm.action = "/${siteId}/web/cop/bbs/addBoardArticle.do";
document.frm.submit();
}
/* ********************************************************
* 팝업창 오픈 쿠키 정보 OPEN
******************************************************** */
function fnGetCookie(name) {
var prefix = name + "=";
var cookieStartIndex = document.cookie.indexOf(prefix);
if (cookieStartIndex == -1) return null;
var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length);
if (cookieEndIndex == -1) cookieEndIndex = document.cookie.length;
return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex));
}
/* ********************************************************
* 쿠키설정
******************************************************** */
function fnSetCookiePopup( name, value, expiredays ) {
var todayDate = new Date();
todayDate.setDate( todayDate.getDate() + expiredays );
document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"
}
/* ********************************************************
* 체크버튼 클릭시
******************************************************** */
function fnPopupCheck(popupId , typeFlag) {
fnSetCookiePopup( typeFlag+"_"+popupId , "done" , 1);
fn_layerClose(popupId);
}
function fn_openPopup(popupId,seq,width,height,x,y){
if(width < 200){
width = 200;
}
if(height < 200){
height = 200;
}
var openPopup = window.open('<c:url value='/web/main/EgovPopup.do'/>'+'?popupId='+popupId,
'pop_'+popupId,'width='+width+',height='+height+',top='+y+',left='+x);
if(openPopup != null){
if (window.focus) {openPopup.focus()}
}
}
</script>
<style>
.btn{ background: none;}
.btn:hover {background:none;}
</style>
</head>
<body>
<section class="main">
<div id="slides" class="visual" style="cursor:pointer;">
<c:forEach var="result" items="${mainzoneList}" varStatus="status">
<img alt="${result.mazNm}" onerror="this.src='${site_path}/images/no_img.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.mainzoneImageFile}"/>'
<c:if test="${not empty result.mlink}" >
onclick="window.open('${result.mlink}', '_blank');"
</c:if>
/>
</c:forEach>
</div>
<script src="${site_path}/js/jquery.slides.min.js"></script>
<script type="text/javascript">
$('#slides').slidesjs({
play: {
active: true,
auto: false,
interval: 9000,
navigation:false,
swap: true,
effect : "slide"
},
navigation: {
active: true
},
});
</script>
<!-- 메인 conts -->
<div id="#main_cont">
<img alt="회사연혁" src="${site_path}/img/index/main_cont.jpg" style="width: 100%;" />
</div>
<div id="#main_contmid">
<img alt="회사연혁" src="${site_path}/img/index/main_contmid.jpg" style="width: 100%;" />
</div>
<div id="#main_contlow">
<img alt="회사연혁" src="${site_path}/img/index/main_contlow.jpg" style="width: 100%;" />
</div>
<!-- 배너 -->
<div id="link_wrap">
<div class="link_wrap_1300">
<div class="flexslider03 banner_img">
<!--190207 수정 s-->
<ul class="slides">
<c:forEach var="banner" items="${bannerList}" varStatus="status">
<li>
<div alt="${banner.bannerNm}" style="background:url(<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${banner.bannerImageFile}"/>) no-repeat center; background-size:contain ;cursor: pointer;";
<c:if test="${banner.istarget ne 'C'}" >
onclick="window.open('${banner.linkUrl}', '_blank');"
</c:if>
<c:if test="${banner.istarget eq 'C'}" >
onclick="window.open('${banner.linkUrl}', '_self');"
</c:if>
></div>
</li>
</c:forEach>
</ul>
<!--190207 수정 e-->
</div>
<!-- FlexSlider -->
<script type="text/javascript">
(function() {
// store the slider in a local variable
var $window = $(window),
flexslider = { vars:{} };
// tiny helper function to add breakpoints
function getGridSize() {
return (window.innerWidth < 500) ? 3 :
(window.innerWidth < 900) ? 5 : 8;
}
$window.load(function() {
$('.flexslider03').flexslider({
slideshow: false,
animation: "slide",
animationSpeed: 400,
animationLoop: false,
itemWidth: 140,
itemMargin: 30, // 190207 수정
minItems: getGridSize(), // use function to pull in initial value
maxItems: getGridSize(), // use function to pull in initial value
start: function(slider){
$('body').removeClass('loading');
flexslider = slider;
}
});
});
// check grid size on resize event
$window.resize(function() {
var gridSize = getGridSize();
flexslider.vars.minItems = gridSize;
flexslider.vars.maxItems = gridSize;
});
}());
</script>
</div>
</div>
</section>
</body>
</html>