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

jquery的导航页面一(viewKBNaviPage.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"
    import = "com.huawei.it.support.common.base.SupportConstants,
              com.huawei.pattern.xml.XMLParser"
%>
<%@ page import="com.huawei.it.portal.common.base.XmlConfig"%>
<%@ page import="java.util.*"%>
<%@ taglib uri="/tags/struts-logic" prefix="logic" %>
<%@ taglib uri="/tags/struts-html" prefix="html" %>
<%@ taglib uri="/tags/struts-bean" prefix="bean" %>
<html>
<head>
<title><bean:message key="support.homepage.catalog.navigate" /></title>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="keywords" content="华为,华为技术,huawei,huawei technology">

<%
String nls_lang = (String)session.getAttribute(com.huawei.it.support.common.base.SupportConstants.CFG_NLS);
  if(null==nls_lang|| nls_lang.equals(""))
       nls_lang="zh";   
       String wwwPath="";
if(nls_lang.equals("zh")){
wwwPath= XmlConfig.config.getValue("www_path","zh");
}else{
wwwPath=XmlConfig.config.getValue("www_path","en");
}
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";   
%>
<!-- <LINK href="<%=wwwPath %>/css/vicss/public.css" rel="stylesheet" type="text/css"> -->
<link href="<%=request.getContextPath()%>/css/vicss/<%=(String)session.getAttribute(com.huawei.it.support.common.base.SupportConstants.CFG_NLS)%>/public.css" rel="stylesheet" type="text/css">
<link href="<%=request.getContextPath()%>/css/vicss/<%=(String)session.getAttribute(com.huawei.it.support.common.base.SupportConstants.CFG_NLS)%>/support_home.css" rel="stylesheet" type="text/css">
<LINK href="<%=request.getContextPath()%>/css/sup_navi.css" rel="stylesheet" type="text/css">
<LINK href="<%=request.getContextPath()%>/css/easyui.css" rel="stylesheet" type="text/css">
<LINK href="<%=request.getContextPath()%>/css/icon.css" rel="stylesheet" type="text/css">
<script language="javascript" src="<%=request.getContextPath()%>/js/jquery-1.4.2.min.js"></script>
<script language="javascript" src="<%=request.getContextPath()%>/js/jquery.easyui.min.js"></script>
<script language="javascript">
$(function(){
var select_pline;
var initType = "<%=request.getAttribute("initType")%>";
if (initType == "navigateFromAssociation") {
select_pline = "<%=request.getParameter("proline_id")%>";
} else {
    select_pline = "<%=request.getParameter("select_pline")%>";
    }

var div = $("a[id='"+select_pline+"']").parent();
div.addClass("m_lv3_sel_red");

/**$("div[id=navigate_tree_div]").each(
function() {
$(this).hover(function(){
        $(this).addClass("navi_left_tree_over");
        }, function() {
            $(this).removeClass("navi_left_tree_over");
        });
}
);*/
}); 
function leftMenuTreeClick(node) {
$("div[id=navigate_tree_div]").each(
        functio