日期:2014-05-19  浏览次数:20608 次

再问梅花树的页的链接或导航的使用?
我的网页上面只有一个DIV(用于显示树)与一个IFRAME(用来显示树结点链接的页),请大侠们指点我,让点击节点打开的页显示在IFRAME1的区域中,或者点击节点时能执行某个函数也行如test()

以下是HTML代码
<!DOCTYPE   HTML   PUBLIC   "-//W3C//DTD   HTML   4.0   Transitional//EN "   >
<HTML>
<HEAD>
<title> 梅花雪中文网   -   WEB版块管理界面 </title>
<meta   content= "Microsoft   Visual   Studio   .NET   7.1 "   name= "GENERATOR ">
<meta   content= "C# "   name= "CODE_LANGUAGE ">
<meta   content= "JavaScript "   name= "vs_defaultClientScript ">
<meta   content= "http://schemas.microsoft.com/intellisense/ie5 "   name= "vs_targetSchema ">
<meta   http-equiv= "Content-Type "   content= "text/html;   charset=gb2312 ">
<script   language= "JavaScript "   src= "MzTreeView10/MzTreeView10.js "> </script>
<style   type= "text/css ">   BODY   {   FONT-SIZE:   12px;   FONT-FAMILY:   宋体   }
TD   {   FONT-SIZE:   12px;   FONT-FAMILY:   宋体   }
A:link   {   PADDING-LEFT:   3px;   FONT-SIZE:   13px;   COLOR:   #800080;   TEXT-DECORATION:   none   }
A:visited   {   PADDING-LEFT:   3px;   FONT-SIZE:   13px;   COLOR:   #800080;   TEXT-DECORATION:   none   }
A:active   {   PADDING-LEFT:   3px;   FONT-SIZE:   13px;   COLOR:   #800080;   TEXT-DECORATION:   none   }
A:hover   {   PADDING-LEFT:   3px;   FONT-SIZE:   13px;   COLOR:   #800080;   TEXT-DECORATION:   none   }
</style>
<SCRIPT   LANGUAGE= "JavaScript ">
        function   getQuery(name)
        {
            var   reg   =   new   RegExp( "(^|&) "+   name   + "=([^&]*)(&|$) ");
            var   r   =   window.location.search.substr(1).match(reg);
            if   (r!=null)   return   unescape(r[2]);   return   null;
        }
        function   getObjectById(id)
        {
            if   (typeof(id)   !=   "string "   ||   id   ==   " ")   return   null;
            if   (document.all)   return   document.all(id);
            if   (document.getElementById)   return   document.getElementById(id);
            try   {return   eval(id);}   catch(e){   return   null;}
        }
</SCRIPT>
</HEAD>
<body   MS_POSITIONING= "GridLayout ">
<form   id= "Form1 "   method= "post "   runat= "server ">
<div   id= "treeviewarea "   style= "LEFT:   2px;   WIDTH:   178px;   POSITION:   absolute;   TOP:   48px;   HEIGHT:   528px;   BACKGROUND-COLOR: