学习动态树形菜单时,树是出来了,但是还有一个问题,我想在鼠标点到最底层子节点时,鼠标点击出现一个小窗口。<a href="javascript:open();">登陆</a><div id="login" >
   <span><h1>请选择查询日期(年月日)</h1></span>
<div id="panel">
   <br />
报告日期:&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<lable>年 </lable><input type="text" style="width: 40px; height: 12px" />
<lable>月</lable><input type="yue" style="width: 24px; height: 12px">
<lable>日</lable><input type="yue" style="width: 24px; height: 12px"></div>
<div id="pane2">
    <br />
报告日期(选择F1帮助):&nbsp;<lable>年 </lable><input type="text" style="width: 40px; height: 12px" />
<lable>月</lable><input type="yue" style="width: 24px; height: 12px">
<lable>日</lable><input type="yue" style="width: 24px; height: 12px"></div>
    <br />
    <br />
<input  type="checkbox" /><lable>登陆</lable>
     
                           <input type="button" value="提交" />
&nbsp; &nbsp; &nbsp; &nbsp;<input type="button" value="取消" /><a href="javascript:close();">关闭</a>  
这是我的小窗口代码,但是我不知道怎么套到根节点去???