jquery的导航页面15(nodeDocPage.jsp续)
function hideDocType(node) {
$("#navi_select_doctype_div").css("visibility", "visible");
// 数通产品线时,文档类型列表不显示
if(node.id =="29-44" || $("#itemId0").val() == "29-44"){
$("#navi_select_doctype_div").css("visibility", "hidden");
} else if ($("#itemId0").val() != "29-44" && $("#level_id").val() <= 1) {
// 非数通产品线,产品线和产品族结果时,文档类型列表不显示
$("#navi_select_doctype_div").css("visibility", "hidden");
}
}
</script>
</head>
<%-- 隐藏区,用于存放各级导航条的itemId --%>
<form id="selectDictForm">
<input type="hidden" id="itemId" name="itemId" />
<input type="hidden" id="level_id" name="level_id" />
<input type="hidden" id="itemId0" name="itemId0" />
<input type="hidden" id="itemId1" name="itemId1" />
<input type="hidden" id="itemId2" name="itemId2" />
<input type="hidden" id="itemId3" name="itemId3" />
<input type="hidden" id="itemId4" name="itemId4" />
<input type="hidden" id="itemId5" name="itemId5" />
<input type="hidden" id="itemId6" name="itemId6" />
<input type="hidden" id="itemId7" name="itemId7" />
<input type="hidden" id="itemId8" name="itemId8" />
<input type="hidden" id="itemId9" name="itemId9" />
<input type="hidden" id="materialType" name="materialType" />
</form>
<!-- 分页bar中的每页显示记录数 -->
<DIV>
<input type="hidden" id="pageSize" name="pageSize" />
</DIV>
<!-- 联想功能 -->
<DIV class="docment_search"><jsp:include page="autoThink.jsp" /></DIV>
<table style="table-layout: fixed;" cellspacing="0" cellpadding="0" width="700px">
<tr><td style="padding: 0px;">
<div class="navi_toolbar_list" id="navi_toolbar_div">
</div>
</td></tr>
<tr><td style="padding: 0px;">
<div class="navi_subnode_list" id="navi_subnode_div">
</div>
</td></tr>
</table>
<div id="popup" class="hidden"></div>