source: trunk/plugins/InsertAnchor/popups/insert_anchor.html @ 677

Last change on this file since 677 was 677, checked in by ray, 13 years ago

set svn:keywords property for the new files & all plugins

  • Property svn:keywords set to LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
File size: 1.4 KB
Line 
1<html>
2<head>
3  <title>Insert Anchor</title>
4  <link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
5  <script type="text/javascript" src="../../../popups/popup.js"></script>
6  <script type="text/javascript">
7
8function Init() {
9  __dlg_translate("InsertAnchor");
10  __dlg_init();
11  window.resizeTo(400, 150);
12  var param = window.dialogArguments;
13  if (param) {
14    document.getElementById("name").value = param["name"];
15  }
16  document.getElementById("name").focus();
17}
18
19function onOK() {
20  // pass data back to the calling window
21  var param = new Object();
22  param["name"] = document.getElementById("name").value;
23  __dlg_close(param);
24  return false;
25}
26
27function onDelete() {
28  // pass data back to the calling window
29  var param = new Object();
30  param["name"] = "";
31  __dlg_close(param);
32  return false;
33}
34
35function onCancel() {
36  __dlg_close(null);
37  return false;
38}
39</script>
40</head>
41
42<body class="dialog" onload="Init()">
43<div class="title">Insert Anchor</div>
44<form>
45<table border="0" style="width: 100%;">
46  <tr>
47    <td class="label">Anchor name</td>
48    <td><input type="text" id="name" style="width: 100%" /></td>
49  </tr>
50</table>
51
52<div id="buttons">
53  <button type="submit" name="ok" onclick="return onOK();">OK</button>
54  <button type="button" name="delete" onclick="return onDelete();">Delete</button>
55  <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
56</div>
57</form>
58</body>
59</html>
Note: See TracBrowser for help on using the repository browser.