127 lines
5.5 KiB
Plaintext
127 lines
5.5 KiB
Plaintext
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
|
<div class="sub_menu">
|
|
<img src="${site_path}/img/s_h_icon.jpg" alt="home">
|
|
<div class="menu_navi_wrap">
|
|
<ul>
|
|
<li>
|
|
<c:forEach var="menuLeftResultList" items="${menuLeftResultList}" varStatus="status">
|
|
<c:if test="${menuLeftResultList.depth eq '1' }">
|
|
<c:forEach var="resultCurrentList" items="${menuCurrentResultList}" varStatus="status">
|
|
<c:if test="${menuLeftResultList.menuNo eq resultCurrentList.menuNo }">
|
|
<a href="#">${menuLeftResultList.menuNm}<div class="arrow" title="${menuLeftResultList.menuNm} 하위매뉴"></div></a>
|
|
</c:if>
|
|
</c:forEach>
|
|
</c:if>
|
|
</c:forEach>
|
|
<c:if test="${!empty showOneDepthMenu }">
|
|
<ul>
|
|
<c:forEach var="showDepthMenu" items="${showOneDepthMenu}" varStatus="status">
|
|
<c:if test="${empty showDepthMenu.url }">
|
|
<li><a href="#" onclick="loadNaviWrap('${showDepthMenu.menuNo}', '${siteId}' ); return false;" >${showDepthMenu.menuNm}</a></li>
|
|
</c:if>
|
|
<c:if test="${!empty showDepthMenu.url }">
|
|
<li><a href="${showDepthMenu.url}">${showDepthMenu.menuNm}</a></li>
|
|
</c:if>
|
|
</c:forEach>
|
|
</ul>
|
|
</c:if>
|
|
</li>
|
|
<li>
|
|
<c:forEach var="menuLeftResultList" items="${menuLeftResultList}" varStatus="status">
|
|
<c:if test="${menuLeftResultList.depth eq '2' }">
|
|
<c:forEach var="resultCurrentList" items="${menuCurrentResultList}" varStatus="status">
|
|
<c:if test="${menuLeftResultList.menuNo eq resultCurrentList.menuNo }">
|
|
<a href="#">${menuLeftResultList.menuNm}<div class="arrow"></div></a>
|
|
</c:if>
|
|
</c:forEach>
|
|
</c:if>
|
|
</c:forEach>
|
|
<c:if test="${!empty showTwoDepthMenu }">
|
|
<ul>
|
|
<c:forEach var="showDepthMenu" items="${showTwoDepthMenu}" varStatus="status">
|
|
<c:if test="${empty showDepthMenu.url }">
|
|
<li><a href="#" onclick="loadNaviWrap('${showDepthMenu.menuNo}', '${siteId}' ); return false;" >${showDepthMenu.menuNm}</a></li>
|
|
</c:if>
|
|
<c:if test="${!empty showDepthMenu.url }">
|
|
<li><a href="${showDepthMenu.url}">${showDepthMenu.menuNm}</a></li>
|
|
</c:if>
|
|
</c:forEach>
|
|
</ul>
|
|
</c:if>
|
|
</li>
|
|
<li>
|
|
<c:forEach var="menuLeftResultList" items="${menuLeftResultList}" varStatus="status">
|
|
<c:if test="${menuLeftResultList.depth eq '3' }">
|
|
<c:forEach var="resultCurrentList" items="${menuCurrentResultList}" varStatus="status">
|
|
<c:if test="${menuLeftResultList.menuNo eq resultCurrentList.menuNo }">
|
|
<a href="#">${menuLeftResultList.menuNm}<div class="arrow"></div></a>
|
|
</c:if>
|
|
</c:forEach>
|
|
</c:if>
|
|
</c:forEach>
|
|
<c:if test="${!empty showThreeDepthMenu }">
|
|
<ul>
|
|
<c:forEach var="showDepthMenu" items="${showThreeDepthMenu}" varStatus="status">
|
|
<c:if test="${empty showDepthMenu.url }">
|
|
<li><a href="#" onclick="loadNaviWrap('${showDepthMenu.menuNo}', '${siteId}' ); return false;" >${showDepthMenu.menuNm}</a></li>
|
|
</c:if>
|
|
<c:if test="${!empty showDepthMenu.url }">
|
|
<li><a href="${showDepthMenu.url}">${showDepthMenu.menuNm}</a></li>
|
|
</c:if>
|
|
</c:forEach>
|
|
</ul>
|
|
</c:if>
|
|
</li>
|
|
<li>
|
|
<c:forEach var="menuLeftResultList" items="${menuLeftResultList}" varStatus="status">
|
|
<c:if test="${menuLeftResultList.depth eq '4' }">
|
|
<c:forEach var="resultCurrentList" items="${menuCurrentResultList}" varStatus="status">
|
|
<c:if test="${menuLeftResultList.menuNo eq resultCurrentList.menuNo }">
|
|
<a href="#">${menuLeftResultList.menuNm}<div class="arrow"></div></a>
|
|
</c:if>
|
|
</c:forEach>
|
|
</c:if>
|
|
</c:forEach>
|
|
<c:if test="${!empty showFourDepthMenu }">
|
|
<ul>
|
|
<c:forEach var="showDepthMenu" items="${showFourDepthMenu}" varStatus="status">
|
|
<c:if test="${empty showDepthMenu.url }">
|
|
<li><a href="#" onclick="loadNaviWrap('${showDepthMenu.menuNo}', '${siteId}' ); return false;" >${showDepthMenu.menuNm}</a></li>
|
|
</c:if>
|
|
<c:if test="${!empty showDepthMenu.url }">
|
|
<li><a href="${showDepthMenu.url}">${showDepthMenu.menuNm}</a></li>
|
|
</c:if>
|
|
</c:forEach>
|
|
</ul>
|
|
</c:if>
|
|
</li>
|
|
|
|
|
|
<li>
|
|
<c:if test="${!empty menuUnderResultList }">
|
|
<a href="#">${menuUnderResultList[0].menuNm}<div class="arrow"></div></a>
|
|
<ul>
|
|
<c:forEach var="showDepthMenu" items="${menuUnderResultList}" varStatus="status">
|
|
<c:if test="${empty showDepthMenu.url }">
|
|
<li><a href="#" onclick="loadNaviWrap('${showDepthMenu.menuNo}', '${siteId}' ); return false;" >${showDepthMenu.menuNm}</a></li>
|
|
</c:if>
|
|
<c:if test="${!empty showDepthMenu.url }">
|
|
<li><a href="${showDepthMenu.url}">${showDepthMenu.menuNm}</a></li>
|
|
</c:if>
|
|
</c:forEach>
|
|
</ul>
|
|
</c:if>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<script type="text/javascript" src="/js/jquery.fixedMenu.js"></script>
|
|
<script>
|
|
$('document').ready(function(){
|
|
$('.menu_navi_wrap').fixedMenu();
|
|
});
|
|
</script>
|
|
</div>
|
|
|
|
|