source: trunk/plugins/Forms/popups/fieldset.html @ 236

Last change on this file since 236 was 236, checked in by gocher, 14 years ago

new elements for plugin forms
file, fieldset, label

and for existing elements more attributes

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_legend").value = param["f_legend"];
15  document.getElementById("f_legend").focus();
16};
17
18function onOK() {
19        // pass data back to the calling window
20  var param = new Object();
21  param["f_legend"] = document.getElementById("f_legend").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 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="legend" id="f_legend" />
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.