日期:2014-05-18 浏览次数:20349 次
<script type="text/javascript"> function SetUrl(url) { document.all.pImg.src = url;//htmltbfileName input名字 document.all.Hidden1.value=url; //alert(url); } function OpenFileBrowser() { window.open("..//fckeditor/editor/filemanager/browser/default/browser.html?Type=Image&Connector=../../connectors/aspx/connector.aspx", "newwindow", "dialogHeight:750px; dialogWidth:1024px; toolbar:no; menubar:no; scrollbars:yes; resizable:no; location:no; status:no;left:100px;top:100px"); } </script> <img id='pImg' alt="点击选择图片" src="<%= pImgsrc %>" width="320" height="240" onclick="OpenFileBrowser()" onerror="this.src='../Image/AddImage.GIF'" style="cursor: pointer" />
------解决方案--------------------
向程序员致敬,好辛苦!