fck_link.html 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  2. <!--
  3. * FCKeditor - The text editor for Internet - http://www.fckeditor.net
  4. * Copyright (C) 2003-2010 Frederico Caldeira Knabben
  5. *
  6. * == BEGIN LICENSE ==
  7. *
  8. * Licensed under the terms of any of the following licenses at your
  9. * choice:
  10. *
  11. * - GNU General Public License Version 2 or later (the "GPL")
  12. * http://www.gnu.org/licenses/gpl.html
  13. *
  14. * - GNU Lesser General Public License Version 2.1 or later (the "LGPL")
  15. * http://www.gnu.org/licenses/lgpl.html
  16. *
  17. * - Mozilla Public License Version 1.1 or later (the "MPL")
  18. * http://www.mozilla.org/MPL/MPL-1.1.html
  19. *
  20. * == END LICENSE ==
  21. *
  22. * Link dialog window.
  23. -->
  24. <html>
  25. <head>
  26. <title>Link Properties</title>
  27. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  28. <meta name="robots" content="noindex, nofollow" />
  29. <script src="common/fck_dialog_common.js" type="text/javascript"></script>
  30. <script src="fck_link/fck_link.js" type="text/javascript"></script>
  31. <style type="text/css">
  32. body, td, input, textarea, select, label { font-family: Arial, Verdana, Geneva, helvetica, sans-serif; font-size: 11px; }
  33. </style>
  34. </head>
  35. <body scroll="no" style="OVERFLOW: hidden">
  36. <div id="divInfo" style="DISPLAY: none">
  37. <span fckLang="DlgLnkType">Link Type</span><br />
  38. <select id="cmbLinkType" onchange="SetLinkType(this.value);">
  39. <option value="url" fckLang="DlgLnkTypeURL" selected="selected">URL</option>
  40. <option value="anchor" fckLang="DlgLnkTypeAnchor">Anchor in this page</option>
  41. <option value="email" fckLang="DlgLnkTypeEMail">E-Mail</option>
  42. </select>
  43. <br />
  44. <br />
  45. <div id="divLinkTypeUrl">
  46. <table cellspacing="0" cellpadding="0" width="100%" border="0" dir="ltr">
  47. <tr>
  48. <td nowrap="nowrap">
  49. <span fckLang="DlgLnkProto">Protocol</span><br />
  50. <select id="cmbLinkProtocol">
  51. <option value="http://" selected="selected">http://</option>
  52. <option value="https://">https://</option>
  53. <option value="ftp://">ftp://</option>
  54. <option value="news://">news://</option>
  55. <option value="" fckLang="DlgLnkProtoOther">&lt;other&gt;</option>
  56. </select>
  57. </td>
  58. <td nowrap="nowrap">&nbsp;</td>
  59. <td nowrap="nowrap" width="100%">
  60. <span fckLang="DlgLnkURL">URL</span><br />
  61. <input id="txtUrl" style="WIDTH: 100%" type="text" onkeyup="OnUrlChange();" onchange="OnUrlChange();" />
  62. </td>
  63. </tr>
  64. </table>
  65. <br />
  66. <div id="divBrowseServer">
  67. <input type="button" value="Browse Server" fckLang="DlgBtnBrowseServer" onclick="BrowseServer();" />
  68. </div>
  69. </div>
  70. <div id="divLinkTypeAnchor" style="DISPLAY: none" align="center">
  71. <div id="divSelAnchor" style="DISPLAY: none">
  72. <table cellspacing="0" cellpadding="0" border="0" width="70%">
  73. <tr>
  74. <td colspan="3">
  75. <span fckLang="DlgLnkAnchorSel">Select an Anchor</span>
  76. </td>
  77. </tr>
  78. <tr>
  79. <td width="50%">
  80. <span fckLang="DlgLnkAnchorByName">By Anchor Name</span><br />
  81. <select id="cmbAnchorName" onchange="GetE('cmbAnchorId').value='';" style="WIDTH: 100%">
  82. <option value="" selected="selected"></option>
  83. </select>
  84. </td>
  85. <td>&nbsp;&nbsp;&nbsp;</td>
  86. <td width="50%">
  87. <span fckLang="DlgLnkAnchorById">By Element Id</span><br />
  88. <select id="cmbAnchorId" onchange="GetE('cmbAnchorName').value='';" style="WIDTH: 100%">
  89. <option value="" selected="selected"></option>
  90. </select>
  91. </td>
  92. </tr>
  93. </table>
  94. </div>
  95. <div id="divNoAnchor" style="DISPLAY: none">
  96. <span fckLang="DlgLnkNoAnchors">&lt;No anchors available in the document&gt;</span>
  97. </div>
  98. </div>
  99. <div id="divLinkTypeEMail" style="DISPLAY: none">
  100. <span fckLang="DlgLnkEMail">E-Mail Address</span><br />
  101. <input id="txtEMailAddress" style="WIDTH: 100%" type="text" /><br />
  102. <span fckLang="DlgLnkEMailSubject">Message Subject</span><br />
  103. <input id="txtEMailSubject" style="WIDTH: 100%" type="text" /><br />
  104. <span fckLang="DlgLnkEMailBody">Message Body</span><br />
  105. <textarea id="txtEMailBody" style="WIDTH: 100%" rows="3" cols="20"></textarea>
  106. </div>
  107. </div>
  108. <div id="divUpload" style="DISPLAY: none">
  109. <form id="frmUpload" method="post" target="UploadWindow" enctype="multipart/form-data" action="" onsubmit="return CheckUpload();">
  110. <span fckLang="DlgLnkUpload">Upload</span><br />
  111. <input id="txtUploadFile" style="WIDTH: 100%" type="file" size="40" name="NewFile" /><br />
  112. <br />
  113. <input id="btnUpload" type="submit" value="Send it to the Server" fckLang="DlgLnkBtnUpload" />
  114. <script type="text/javascript">
  115. document.write( '<iframe name="UploadWindow" style="display: none" src="' + FCKTools.GetVoidUrl() + '"><\/iframe>' ) ;
  116. </script>
  117. </form>
  118. </div>
  119. <div id="divTarget" style="DISPLAY: none">
  120. <table cellspacing="0" cellpadding="0" width="100%" border="0">
  121. <tr>
  122. <td nowrap="nowrap">
  123. <span fckLang="DlgLnkTarget">Target</span><br />
  124. <select id="cmbTarget" onchange="SetTarget(this.value);">
  125. <option value="" fckLang="DlgGenNotSet" selected="selected">&lt;not set&gt;</option>
  126. <option value="frame" fckLang="DlgLnkTargetFrame">&lt;frame&gt;</option>
  127. <option value="popup" fckLang="DlgLnkTargetPopup">&lt;popup window&gt;</option>
  128. <option value="_blank" fckLang="DlgLnkTargetBlank">New Window (_blank)</option>
  129. <option value="_top" fckLang="DlgLnkTargetTop">Topmost Window (_top)</option>
  130. <option value="_self" fckLang="DlgLnkTargetSelf">Same Window (_self)</option>
  131. <option value="_parent" fckLang="DlgLnkTargetParent">Parent Window (_parent)</option>
  132. </select>
  133. </td>
  134. <td>&nbsp;</td>
  135. <td id="tdTargetFrame" nowrap="nowrap" width="100%">
  136. <span fckLang="DlgLnkTargetFrameName">Target Frame Name</span><br />
  137. <input id="txtTargetFrame" style="WIDTH: 100%" type="text" onkeyup="OnTargetNameChange();"
  138. onchange="OnTargetNameChange();" />
  139. </td>
  140. <td id="tdPopupName" style="DISPLAY: none" nowrap="nowrap" width="100%">
  141. <span fckLang="DlgLnkPopWinName">Popup Window Name</span><br />
  142. <input id="txtPopupName" style="WIDTH: 100%" type="text" />
  143. </td>
  144. </tr>
  145. </table>
  146. <br />
  147. <table id="tablePopupFeatures" style="DISPLAY: none" cellspacing="0" cellpadding="0" align="center"
  148. border="0">
  149. <tr>
  150. <td>
  151. <span fckLang="DlgLnkPopWinFeat">Popup Window Features</span><br />
  152. <table cellspacing="0" cellpadding="0" border="0">
  153. <tr>
  154. <td valign="top" nowrap="nowrap" width="50%">
  155. <input id="chkPopupResizable" name="chkFeature" value="resizable" type="checkbox" /><label for="chkPopupResizable" fckLang="DlgLnkPopResize">Resizable</label><br />
  156. <input id="chkPopupLocationBar" name="chkFeature" value="location" type="checkbox" /><label for="chkPopupLocationBar" fckLang="DlgLnkPopLocation">Location
  157. Bar</label><br />
  158. <input id="chkPopupManuBar" name="chkFeature" value="menubar" type="checkbox" /><label for="chkPopupManuBar" fckLang="DlgLnkPopMenu">Menu
  159. Bar</label><br />
  160. <input id="chkPopupScrollBars" name="chkFeature" value="scrollbars" type="checkbox" /><label for="chkPopupScrollBars" fckLang="DlgLnkPopScroll">Scroll
  161. Bars</label>
  162. </td>
  163. <td></td>
  164. <td valign="top" nowrap="nowrap" width="50%">
  165. <input id="chkPopupStatusBar" name="chkFeature" value="status" type="checkbox" /><label for="chkPopupStatusBar" fckLang="DlgLnkPopStatus">Status
  166. Bar</label><br />
  167. <input id="chkPopupToolbar" name="chkFeature" value="toolbar" type="checkbox" /><label for="chkPopupToolbar" fckLang="DlgLnkPopToolbar">Toolbar</label><br />
  168. <input id="chkPopupFullScreen" name="chkFeature" value="fullscreen" type="checkbox" /><label for="chkPopupFullScreen" fckLang="DlgLnkPopFullScrn">Full
  169. Screen (IE)</label><br />
  170. <input id="chkPopupDependent" name="chkFeature" value="dependent" type="checkbox" /><label for="chkPopupDependent" fckLang="DlgLnkPopDependent">Dependent
  171. (Netscape)</label>
  172. </td>
  173. </tr>
  174. <tr>
  175. <td valign="top" nowrap="nowrap" width="50%">&nbsp;</td>
  176. <td></td>
  177. <td valign="top" nowrap="nowrap" width="50%"></td>
  178. </tr>
  179. <tr>
  180. <td valign="top">
  181. <table cellspacing="0" cellpadding="0" border="0">
  182. <tr>
  183. <td nowrap="nowrap"><span fckLang="DlgLnkPopWidth">Width</span></td>
  184. <td>&nbsp;<input id="txtPopupWidth" type="text" maxlength="4" size="4" /></td>
  185. </tr>
  186. <tr>
  187. <td nowrap="nowrap"><span fckLang="DlgLnkPopHeight">Height</span></td>
  188. <td>&nbsp;<input id="txtPopupHeight" type="text" maxlength="4" size="4" /></td>
  189. </tr>
  190. </table>
  191. </td>
  192. <td>&nbsp;&nbsp;</td>
  193. <td valign="top">
  194. <table cellspacing="0" cellpadding="0" border="0">
  195. <tr>
  196. <td nowrap="nowrap"><span fckLang="DlgLnkPopLeft">Left Position</span></td>
  197. <td>&nbsp;<input id="txtPopupLeft" type="text" maxlength="4" size="4" /></td>
  198. </tr>
  199. <tr>
  200. <td nowrap="nowrap"><span fckLang="DlgLnkPopTop">Top Position</span></td>
  201. <td>&nbsp;<input id="txtPopupTop" type="text" maxlength="4" size="4" /></td>
  202. </tr>
  203. </table>
  204. </td>
  205. </tr>
  206. </table>
  207. </td>
  208. </tr>
  209. </table>
  210. </div>
  211. <div id="divAttribs" style="DISPLAY: none">
  212. <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
  213. <tr>
  214. <td valign="top" width="50%">
  215. <span fckLang="DlgGenId">Id</span><br />
  216. <input id="txtAttId" style="WIDTH: 100%" type="text" />
  217. </td>
  218. <td width="1"></td>
  219. <td valign="top">
  220. <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
  221. <tr>
  222. <td width="60%">
  223. <span fckLang="DlgGenLangDir">Language Direction</span><br />
  224. <select id="cmbAttLangDir" style="WIDTH: 100%">
  225. <option value="" fckLang="DlgGenNotSet" selected>&lt;not set&gt;</option>
  226. <option value="ltr" fckLang="DlgGenLangDirLtr">Left to Right (LTR)</option>
  227. <option value="rtl" fckLang="DlgGenLangDirRtl">Right to Left (RTL)</option>
  228. </select>
  229. </td>
  230. <td width="1%">&nbsp;&nbsp;&nbsp;</td>
  231. <td nowrap="nowrap"><span fckLang="DlgGenAccessKey">Access Key</span><br />
  232. <input id="txtAttAccessKey" style="WIDTH: 100%" type="text" maxlength="1" size="1" />
  233. </td>
  234. </tr>
  235. </table>
  236. </td>
  237. </tr>
  238. <tr>
  239. <td valign="top" width="50%">
  240. <span fckLang="DlgGenName">Name</span><br />
  241. <input id="txtAttName" style="WIDTH: 100%" type="text" />
  242. </td>
  243. <td width="1"></td>
  244. <td valign="top">
  245. <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
  246. <tr>
  247. <td width="60%">
  248. <span fckLang="DlgGenLangCode">Language Code</span><br />
  249. <input id="txtAttLangCode" style="WIDTH: 100%" type="text" />
  250. </td>
  251. <td width="1%">&nbsp;&nbsp;&nbsp;</td>
  252. <td nowrap="nowrap">
  253. <span fckLang="DlgGenTabIndex">Tab Index</span><br />
  254. <input id="txtAttTabIndex" style="WIDTH: 100%" type="text" maxlength="5" size="5" />
  255. </td>
  256. </tr>
  257. </table>
  258. </td>
  259. </tr>
  260. <tr>
  261. <td valign="top" width="50%">&nbsp;</td>
  262. <td width="1"></td>
  263. <td valign="top"></td>
  264. </tr>
  265. <tr>
  266. <td valign="top" width="50%">
  267. <span fckLang="DlgGenTitle">Advisory Title</span><br />
  268. <input id="txtAttTitle" style="WIDTH: 100%" type="text" />
  269. </td>
  270. <td width="1">&nbsp;&nbsp;&nbsp;</td>
  271. <td valign="top">
  272. <span fckLang="DlgGenContType">Advisory Content Type</span><br />
  273. <input id="txtAttContentType" style="WIDTH: 100%" type="text" />
  274. </td>
  275. </tr>
  276. <tr>
  277. <td valign="top">
  278. <span fckLang="DlgGenClass">Stylesheet Classes</span><br />
  279. <input id="txtAttClasses" style="WIDTH: 100%" type="text" />
  280. </td>
  281. <td></td>
  282. <td valign="top">
  283. <span fckLang="DlgGenLinkCharset">Linked Resource Charset</span><br />
  284. <input id="txtAttCharSet" style="WIDTH: 100%" type="text" />
  285. </td>
  286. </tr>
  287. </table>
  288. <table cellspacing="0" cellpadding="0" width="100%" align="center" border="0">
  289. <tr>
  290. <td>
  291. <span fckLang="DlgGenStyle">Style</span><br />
  292. <input id="txtAttStyle" style="WIDTH: 100%" type="text" />
  293. </td>
  294. </tr>
  295. </table>
  296. </div>
  297. </body>
  298. </html>