tag_image.ascx
上传用户:simon2hong
上传日期:2021-11-18
资源大小:16746k
文件大小:6k
源码类别:

OA系统

开发平台:

C#

  1. <%@ Control Inherits="CuteEditor.EditorUtilityCtrl" Language="c#" AutoEventWireup="false" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
  2. <fieldset><legend>[[Insert]]</legend>
  3. <table class="normal">
  4. <tr>
  5. <td style="width:80">[[Url]]:</td>
  6. <td colspan="3"><input type="text" id="inp_src" size="45" /></td>
  7. <td>
  8.     <input type="button" id="btnbrowse" value="[[Browse]]"/>
  9.  </td>
  10. </tr>
  11. <tr>
  12. <td valign="middle" style="white-space:nowrap" >[[Alternate]]:</td>
  13. <td><input type="text" id="AlternateText" size="24" name="AlternateText" /></td>
  14. <td valign="middle" style="white-space:nowrap" >[[ID]]:</td>
  15. <td><input type="text" id="inp_id" size="12" /></td>
  16. <td></td>
  17. </tr>
  18. <tr>
  19. <td valign="middle" style="white-space:nowrap" >[[longDesc]]:</td>
  20. <td colspan="3"><input type="text" id="longDesc" size="45" name="longDesc" />
  21. </td>
  22. <td><img alt="" src="Load.ashx?type=image&file=Accessibility.gif" /></td>
  23. </tr>
  24. </table>
  25. </fieldset>
  26. <table class="normal" cellpadding="0" cellspacing="0">
  27. <tr>
  28. <td valign="top">
  29. <fieldset>
  30. <legend>
  31. [[Layout]]</legend>
  32. <table border="0" cellpadding="4" cellspacing="0" class="normal" width="100%">
  33. <tr>
  34. <td>
  35. <table border="0" cellpadding="2" cellspacing="0" class="normal" width="100%">
  36. <tr>
  37. <td style="width:60">[[Alignment]]:</td>
  38. <td>
  39. <select name="ImgAlign" style="WIDTH : 80px" id="Align">
  40. <option id="optNotSet" value="">[[Notset]]</option>
  41. <option id="optLeft" value="left">[[Left]]</option>
  42. <option id="optRight" value="right">[[Right]]</option>
  43. <option id="optTexttop" value="textTop">[[Texttop]]</option>
  44. <option id="optAbsMiddle" value="absMiddle">[[Absmiddle]]</option>
  45. <option id="optBaseline" value="baseline" selected="selected">[[Baseline]]</option>
  46. <option id="optAbsBottom" value="absBottom">[[Absbottom]]</option>
  47. <option id="optBottom" value="bottom">[[Bottom]]</option>
  48. <option id="optMiddle" value="middle">[[Middle]]</option>
  49. <option id="optTop" value="top">[[Top]]</option>
  50. </select>
  51. </td>
  52. <td></td>
  53. </tr>
  54. <tr>
  55. <td>[[Bordersize]]:</td>
  56. <td>
  57. <input type="text" size="2" name="Border" onkeypress="return CancelEventIfNotDigit()" style="WIDTH : 80px"
  58. id="Border" />
  59. </td>
  60. <td></td>
  61. </tr>
  62. <tr>
  63. <td>[[Bordercolor]]:</td>
  64. <td style="white-space:nowrap;">
  65. <input autocomplete="off" type="text" id="bordercolor" name="bordercolor" size="7" style='behavior:url(Load.ashx?type=htc&file=ColorPicker.htc)'
  66. oncolorchange="bordercolor.value=this.selectedColor; bordercolor.style.backgroundColor=this.selectedColor; bordercolor_Preview.style.backgroundColor=this.selectedColor" />
  67. <img alt="" src="Load.ashx?type=image&file=colorpicker.gif" id="bordercolor_Preview"
  68. style='vertical-align:inherit;behavior:url(Load.ashx?type=htc&file=ColorPicker.htc)' oncolorchange="bordercolor.value=this.selectedColor; bordercolor.style.backgroundColor=this.selectedColor; bordercolor_Preview.style.backgroundColor=this.selectedColor" />
  69. </td>
  70. <td></td>
  71. </tr>
  72. <tr>
  73. <td style="white-space:nowrap; width:60">[[Width]]:</td>
  74. <td>
  75. <input type="text" size="2" id="inp_width" onkeyup="checkConstrains('width');" rem-skipautofirechanged="1"
  76. onkeypress="return CancelEventIfNotDigit()" style="WIDTH : 80px" />
  77. </td>
  78. <td rowspan="2" align="right" valign="middle"><img src="Load.ashx?type=image&file=locked.gif" id="imgLock" width="25" height="32" alt="[[ConstrainProportions]]" /></td>
  79. </tr>
  80. <tr>
  81. <td>[[Height]]:</td>
  82. <td>
  83. <input type="text" size="2" id="inp_height" onkeyup="checkConstrains('width');" rem-skipautofirechanged="1"
  84. onkeypress="return CancelEventIfNotDigit()" style="WIDTH : 80px" />
  85. </td>
  86. </tr>
  87. <tr>
  88. <td colspan="2">
  89. <input type="checkbox" id="constrain_prop" checked="checked" onclick="javascript:toggleConstrains();" />
  90. [[ConstrainProportions]]</td>
  91. </tr>
  92. </table>
  93. </td>
  94. </tr>
  95. </table>
  96. </fieldset>
  97. <fieldset>
  98. <legend>
  99. [[Spacing]]</legend>
  100. <table border="0" cellpadding="4" cellspacing="0" class="normal">
  101. <tr>
  102. <td>
  103. <table border="0" cellpadding="2" cellspacing="0" class="normal">
  104. <tr>
  105. <td valign="middle" style="width:60">[[Horizontal]]:</td>
  106. <td>
  107.     <input type="text" size="2" value="5" onkeypress="return CancelEventIfNotDigit()" style="WIDTH:80px" id="HSpace" />
  108.     </td>
  109. </tr>
  110. <tr>
  111. <td valign="middle">[[Vertical]]:</td>
  112. <td>
  113.     <input type="text" size="2" name="VSpace" onkeypress="return CancelEventIfNotDigit()" style="WIDTH:80px" id="VSpace" />
  114. </td>
  115. </tr>
  116. </table>
  117. </td>
  118. </tr>
  119. </table>
  120. </fieldset>
  121. </td>
  122. <td style="white-space:nowrap; width:5" ></td>
  123. <td valign="top" style="width:100%">
  124. <div id="outer" style="width:230px; height:235px">
  125.     <img alt="" src="Load.ashx?type=image&file=1x1.gif" id="img_demo" />
  126. </div>
  127. </td>
  128. </tr>
  129. </table>
  130. <script type="text/javascript" src="Load.ashx?type=dialogscript&file=Dialog_Tag_Image.js"></script>