⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 imageprops.htm

📁 动感系统XP Access版,服务器需要安装Jmail 组件 配置SendMessages.asp 最后部分的参数
💻 HTM
字号:
<html>

<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>图片属性                                      </title>
<SCRIPT LANGUAGE="JScript.Encode">
var loadthisimage="";
function setattributes(){
	var x=window.dialogArguments;
	x.imageiscancel="no";
	x.imageisinsert="yes";
	x.image_status=0;
	x.imagedialogopen=0;
	if(window.document.moondownerform.specifysize.checked==true){x.imagespecifysize="yes";}else{x.imagespecifysize="no";}
	x.imageheight=window.document.moondownerform.imageheight.value;
	x.imagewidth=window.document.moondownerform.imagewidth.value;
	x.imagebordersize=window.document.moondownerform.bordersize.value;
	var tindex=window.document.moondownerform.alignment.selectedIndex;
	x.imagealignment=window.document.moondownerform.alignment.options[tindex].value;
	x.imagehspacing=window.document.moondownerform.hspacing.value;
	x.imagevspacing=window.document.moondownerform.vspacing.value;
	window.close();
}

function bye(){
	var x=window.dialogArguments;
	x.imageiscancel="yes";
	x.imageisinsert="no";
	x.image_status=0;
	window.close();
}

function clearme(){
	var x=window.dialogArguments;
	x.image_status=0;
}

function initmoondowner(){
	var x=window.dialogArguments;
	if(x.imagespecifysize=="yes"){window.document.moondownerform.specifysize.checked=true;}else{window.document.moondownerform.specifysize.checked=false;}
	if(x.imageheight!=""&&x.imageheight!=null){window.document.moondownerform.imageheight.value=x.imageheight;}else{window.document.moondownerform.imageheight.value="";}
	if(x.imagewidth!=""&&x.imagewidth!=null){window.document.moondownerform.imagewidth.value=x.imagewidth;}else{window.document.moondownerform.imagewidth.value="";}
	if(x.imagebordersize!=""&&x.imagebordersize!=null){window.document.moondownerform.bordersize.value=x.imagebordersize;}else{window.document.moondownerform.bordersize.value="";}
	if(x.imagehspacing!=""&&x.imagehspacing!=null){window.document.moondownerform.hspacing.value=x.imagehspacing;}else{window.document.moondownerform.hspacing.value="";}
	if(x.imagevspacing!=""&&x.imagevspacing!=null){window.document.moondownerform.vspacing.value=x.imagevspacing;}else{window.document.moondownerform.vspacing.value="";}
	var y=""+x.imagealignment;
	y=y.toUpperCase();
	if(y=="LEFT"){
		window.document.moondownerform.alignment.options[1].selected=true;
	}else if(y=="RIGHT"){
		window.document.moondownerform.alignment.options[2].selected=true;
	}else if(y=="TOP"){
		window.document.moondownerform.alignment.options[3].selected=true;
	}else if(y=="BOTTOM"){
		window.document.moondownerform.alignment.options[4].selected=true;
	}else if(y=="ABSMIDDLE"){
		window.document.moondownerform.alignment.options[5].selected=true;
	}else if(y=="ABSBOTTOM"){
		window.document.moondownerform.alignment.options[6].selected=true;
	}else if(y=="BASELINE"){
		window.document.moondownerform.alignment.options[7].selected=true;
	}else if(y=="TEXTTOP"){
		window.document.moondownerform.alignment.options[8].selected=true;
	}else{
		window.document.moondownerform.alignment.options[0].selected=true;
	}
}

</SCRIPT>
<link rel="stylesheet" href="news_pup.css" type="text/css">
</head>
<body onLoad="initmoondowner();" onunload="clearme();">
  <table border="0" width="96%" cellspacing="0" cellpadding="3" align="center">
  <form method="POST" name="moondownerform">
    <tr>
    <td >
        <fieldset style="padding-bottom:5px"><legend>图片属性: </legend>
        <table border="0" width="100%" cellpadding="0" cellspacing="0">
          <tr>
            <td width="80" valign="middle" align="right">指定大小:</td>
            <td width="60%"> 
              <input type="checkbox" name="specifysize" value="ON">
            </td>
        </tr>
        <tr>
            <td width="80" valign="middle" align="right">高度:</td>
            <td> 
              <input type="text" name="imageheight" size="7"></td>
        </tr>
        <tr>
            <td width="80" valign="middle" align="right">宽度:</td>
            <td> 
              <input type="text" name="imagewidth" size="7"></td>
        </tr>
        <tr>
            <td valign="middle" align="center" colspan="2"><img vspace = "2" id="line2" border="0" src="line_divider.gif" width="100%" height="2"></td>
        </tr>
        <tr>
            <td width="80" valign="middle" align="right">图片边框:</td>
            <td> 
              <input type="text" name="bordersize" size="7" value="0"></td>
        </tr>
        <tr>
            <td width="80" valign="middle" align="right">对齐方式:</td>
            <td> 
              <select  size="1" name="alignment">
              <option value="Default">默认</option>
              <option value="Left">居左</option>
              <option value="Right">居右</option>
              <option value="Top">顶部</option>
              <option value="Bottom">底线</option>
              <option value="Absmiddle">绝对居中</option>
              <option value="Absbottom">绝对底线</option>
              <option value="Baseline">基于底线</option>
              <option value="Texttop">文本顶端</option>
            </select></td>
        </tr>
        <tr>
            <td width="80" valign="middle" align="right">水平间距:</td>
            <td> 
              <input type="text" name="hspacing" size="7" value="0"></td>
        </tr>
        <tr>
            <td width="80" valign="middle" align="right">垂直间距:</td>
            <td> 
              <input type="text" name="vspacing" size="7" value="0">
            </td>
        </tr>
        <tr>
            <td valign="middle" align="center" colspan="2"><img vspace = "2" id="line2" border="0" src="line_divider.gif" width="100%" height="2"></td>
        </tr>
        <tr>
            <td valign="middle" align="center" colspan="2">
              <input type="button" value="确 定" name="btn_insert" onClick="setattributes();" style="width:80px;">
              <input type="button" value="取 消" name="btn_cancel" onClick="bye();" style="width:80px;">
            </td>
        </tr>        
      </table>
	   </fieldset>
    </td>
  </tr>
 </form>
</table>

</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -