日期:2014-05-16  浏览次数:20336 次

jquery的导航页面三(nodeDocPage.jsp)
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8"
pageEncoding="UTF-8"%>
<%@ taglib uri="/tags/struts-html" prefix="html"%>
<%@ taglib uri="/tags/struts-bean" prefix="bean"%>
<%@ taglib uri="/tags/struts-logic" prefix="logic"%>
<%@ page import="java.util.List"%>
<%@ page import="java.util.Map"%>
<head>
<title>目录导航</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="keywords" content="华为,华为技术,huawei,huawei technology">
<script language="javascript">
            var separator_arrow = "<img id='separatorArrow' align='absbottom' src='/support/images/NavigationBar/arrow.gif'>";
            var selected_doc_type = "ProductManual";
            //是否有记录
            var docRow = 0;
            <%String path = request.getContextPath();
            String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
            String colID = request.getParameter("colID");
            %>
            var root_url="<%=basePath%>";
            var navigation_bar_list = <%=request.getAttribute("navigation_bar_list_json")%>;
            var navigation_bar_classmates = <%=request.getAttribute("navigation_bar_classmates_json")%>;
$(function(){
    var initType = "<%=request.getAttribute("initType")%>";
    if (initType == "navigateFromAssociation") {
        initPageFromAssociation();
    } else {
        initPage();
    }
});