典型的标签dialog

<!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//dialog">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>显示图片的标签</title>
<script language="JavaScript">

function objectTag() {
var channleCode="";
var imgNum="";
var imgTitleCheck="";
var imgTitleWordCount="";
var mwidth="";
var mheight="";

if (document.form1.channleCode.value != ""){
channleCode=document.form1.channleCode.value;
}
else {channleCode=''; }

if (document.form1.imgNum.value != ""){
imgNum=document.form1.imgNum.value;
}
else {imgNum=''; }

if (document.form1.imgTitleCheck.value != ""){
imgTitleCheck=document.form1.imgTitleCheck.options[document.form1.imgTitleCheck.selectedIndex].value;
}
else {imgTitleCheck=''; }

if (document.form1.imgTitleWordCount.value != ""){
imgTitleWordCount=document.form1.imgTitleWordCount.value;
}
else {imgTitleWordCount=''; }

if (document.form1.mwidth.value != ""){
mwidth=document.form1.mwidth.value;
}
else {mwidth=''; }

if (document.form1.mheight.value != ""){
mheight=document.form1.mheight.value;
}
else {mheight=''; }

return ('<IndexImage:IndexImage channleCode=/"'+channleCode+'/" imgNum="/"'+imgNum+'/" imgTitleCheck=/"'+imgTitleCheck+'/" imgTitleWordCount=/"'+imgTitleWordCount+'/" imgWidth=/"'+mwidth+'/" imgHeight=/"'+mheight+'/" />');

}

function displayHelp(){
    dreamweaver.browseDocument("http://www.dw8.cn/");
}
</script>
</head>

<body>
<center>
  <h4>显示图片的标签</h4>
</center>
<form action="" method="post" name="form1">
  <table width="436" border="0" cellspacing="3" cellpadding="2">
    <tr>
      <td width="89"> 栏目标识符</td>
      <td width="330"><input name="channleCode" type="text" value="" id="channleCode"></td>
    </tr>
     <tr>
      <td> 第几条记录</td>
      <td><input name="imgNum" type="text" value="0" width="40" id="imgNum">
       </td>
    </tr>
 
 
 <tr>
      <td>是否显示标题</td>
      <td><select name="imgTitleCheck" size="2" id="imgTitleCheck">
          <option value="true" selected>显示</option>
          <option value="false">不显示</option>
        </select></td>
    </tr>
   <tr>
      <td> 显示的标题的长度</td>
      <td><input name="imgTitleWordCount" type="text" id="imgTitleWordCount" >
        </td>
    </tr>
    <tr>
      <td>宽度</td>
      <td><input name="mwidth" type="text" id="mwidth" ></td>
    </tr>
     <tr>
      <td> 高度 </td>
      <td><input name="mheight" type="text" id="mheight"></td>
    </tr>
 
  </table>
  <hr>

</form>
<center>感谢使用lucky制作的标签!</center>

</body>
</html>
 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值