本来
<IMG height=375 alt=090516173052000-00891.png src="http://localhost:9002/Upload/FreeBox/090516173052000-00891.png" width=500 border=0>
-------------------------------------------------------------------
提交后保存到数据库为
"><IMG height=375 alt=090516173052000-00891.png src="/Upload/FreeBox/090516173052000-00891.png" width=500 border=0>
--------------------------
这里看到了少了http://localhost:9002我的主机头
那哪里设置不让他去掉这个呢谢谢
<IMG height=375 alt=090516173052000-00891.png src="http://localhost:9002/Upload/FreeBox/090516173052000-00891.png" width=500 border=0>
-------------------------------------------------------------------
提交后保存到数据库为
"><IMG height=375 alt=090516173052000-00891.png src="/Upload/FreeBox/090516173052000-00891.png" width=500 border=0>
--------------------------
这里看到了少了http://localhost:9002我的主机头
那哪里设置不让他去掉这个呢谢谢
<input id="Button1" type="button" value="..." onclick="pickThumbnail('<%= oThumbnail.ClientID %>');" />
<script type="text/javascript">
<!--
function pickThumbnail(src_id) {
var o = document.getElementById(src_id);
if (o.InsertHtml === undefined) {
o.InsertHtml = function(img) {
//this.value = img;
var div = document.createElement("DIV");
div.innerHTML = img;
//div.firstChild.src 取得图片的绝对网址。这里处理为绝对根路径。
this.value = div.firstChild.src.substr((location.protocol+"//"+location.host).length);
}
FTB_API[o.id] = o;
}
// rif 代表图片文件夹的根目录,cif 代表当前目录
var gallery = window.open("ftb.imagegallery.aspx?rif=~/images&cif=~/images&ftb="+o.id,'gallery','width=700,height=600,toolbars=0,resizable=1');
gallery.focus();
}
// -->
</script>