source: branches/ray/plugins/Forms/popups/fieldset.html @ 761

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

updated branch

  • Property svn:keywords set to LastChangedDate LastChangedRevision LastChangedBy HeadURL Id
File size: 1.2 KB
Line 
1<html>
2
3<head>
4  <title>Insert/Edit Form Element FIELDSET</title>
5  <link rel="stylesheet" type="text/css" href="../../../popups/popup.css" />
6  <script type="text/javascript" src="../../../popups/popup.js"></script>
7
8<script type="text/javascript">
9function Init() {
10        window.resizeTo(350,320);
11  __dlg_translate("Forms");
12        __dlg_init();
13        var param = window.dialogArguments;
14  document.getElementById("f_text").value = param["f_text"];
15  document.getElementById("f_text").focus();
16}
17
18function onOK() {
19        // pass data back to the calling window
20  var param = new Object();
21  param["f_text"] = document.getElementById("f_text").value;
22        __dlg_close(param);
23  return false;
24}
25
26function onCancel() {
27        __dlg_close(null);
28        return false;
29}
30
31</script>
32</head>
33
34<body class="dialog" onload="Init()">
35  <div id="f_type" class="title">Form Element: FIELDSET</div>
36  <form action="" method="get">
37    <div class="fr">Legend:</div>
38    <input type="text" name="text" id="f_text" />
39    <p />
40    <div id="buttons">
41      <button type="button" name="ok" onclick="return onOK();">OK</button>
42      <button type="button" name="cancel" onclick="return onCancel();">Cancel</button>
43    </div>     
44  </form>
45</body>
46</html>
Note: See TracBrowser for help on using the repository browser.