谁帮我详细解析一下下面代码,谢谢:
LabFileLoad.Text="<a href=# onclick=\"window.open('../UploadFile.aspx?Action=new&strEmlUrl="+TxtstrEmlUrl.Text+"&strFoldUrl="+strFoldUrl+"','win2','width=400,height=200,toolbar=no,location=no,resizable=yes,scrollbars=yes');\">附&nbsp;&nbsp;&nbsp;&nbsp;件</a>";

LabDownload.Text="<a href=# onclick=\"window.open('DownloadMode.aspx','win2','width=800,height=600,toolbar=no,location=no,resizable=yes,scrollbars=yes');\"><font color=blue>合同模板下载</font></a>";

解决方案 »

  1.   

    LabFileLoad.Text=" <a href=# onclick=\"window.open('../UploadFile.aspx?Action=new&strEmlUrl="+TxtstrEmlUrl.Text+"&strFoldUrl="+strFoldUrl+"','win2','width=400,height=200,toolbar=no,location=no,resizable=yes,scrollbars=yes');\">附&nbsp;&nbsp;&nbsp;&nbsp;件 </a>"; 
    这个是你点击fileload,弹出UploadFile.aspx页面LabDownload.Text=" <a href=# onclick=\"window.open('DownloadMode.aspx','win2','width=800,height=600,toolbar=no,location=no,resizable=yes,scrollbars=yes');\"> <font color=blue>合同模板下载 </font> </
    这个是弹出'DownloadMode.aspx'这个页面
    window.open,顾名思义,就是定位到一个页面,,,