Revert "converting CRLF to LF"
[geo.git] / edit_wp5_web_folder / geo / formularis / manipulation_form.html
diff --git a/edit_wp5_web_folder/geo/formularis/manipulation_form.html b/edit_wp5_web_folder/geo/formularis/manipulation_form.html
new file mode 100644 (file)
index 0000000..3636bc9
--- /dev/null
@@ -0,0 +1,106 @@
+<html xmlns="http://www.w3.org/1999/xhtml" >\r
+  <head>       \r
+        <style type="text/css" media="screen">\r
+           <!--\r
+      BODY { margin: 5px; padding: 0; font: 1em "Trebuchet MS", verdana, arial, sans-serif; }\r
+      BODY { font-size: 70%; }\r
+      H1 { margin-bottom: 2px; font-family: Garamond, "Times New Roman", Times, Serif;font-size: 100%; }\r
+      H2{ margin-bottom: 2px; font-family: Garamond, "Times New Roman", Times, Serif;}\r
+      DIV.genus_div{ float: left; border: 2px solid #ccc; margin: 5px; padding: 3px;}\r
+      TEXTAREA { width: 50%;}\r
+      FIELDSET { border: 1px solid #ccc; padding: 1em; margin: 0; }\r
+      LEGEND { color: #ccc; font-size: 70%; }\r
+      INPUT, TEXTAREA { font-family: Arial, verdana; font-size: 125%; padding: 7px; border: 1px solid #999; }\r
+      LABEL { display: block; margin-top: 10px; } \r
+      IMG { margin: 5px; }\r
+      SELECT { margin: 10px; width: 120px; }\r
+    -->\r
+    </style>\r
+    <script type="text/javascript" src="jquery.js"></script>\r
+    <script  type="text/javascript" src="symbology_form.js" charset="utf-8"></script>\r
+    <script type="text/javascript">\r
+\r
+ $(document).ready(function() {\r
+\r
+$("input[type='submit']").click(function(event)\r
+{\r
+\r
+return false;\r
+})\r
+$("#remove_mark").hide();\r
+cadena=document.location.search;\r
+ c=cadena.split('?');\r
+ llargada=c[1].length;\r
+userid=c[1].substring(7,c[1].length);\r
+\r
+        var cat = $('#genusSelect');\r
+        var el = $('#specieSelect');\r
+        var attr = $('#attributeSelect');\r
+       /*\r
+       $(cat).click(function () { \r
+\r
+       cat.selects({\r
+            target: el,\r
+            url: 'http://taxonomicindex.africamuseum.be/edit_wp5/geo/selects/select-chain_2sld_s.php?userid='+userid,\r
+                       type: 'post',\r
+            data: { ajax:true, anotherval2: "anotherAction" }    \r
+       }).trigger('change');\r
+           }); \r
+           }); \r
+       */\r
+       $(function () { \r
+\r
+        // note that we're assigning in reverse order\r
+        // to allow the chaining change trigger to work\r
+               var cat = $('#genusSelect');\r
+\r
+        var el = $('#specieSelect');\r
+        var attr = $('#attributeSelect');\r
+        cat.selectChain({\r
+            target: cat,                       \r
+            url: 'http://edit.africamuseum.be/edit_wp5/geo/selects/select-chain_3sld_s.php?userid='+userid,\r
+                       type: 'post',\r
+            data: { ajax:true}\r
+           }).trigger('change');\r
+    });\r
+})\r
+       </script>\r
+        </head>\r
+        <body>\r
+               <div id="doc">\r
+        <div id="genus_div" style="height: 220px;">\r
+            <h2>Select desired information (third field)</h2>\r
+                       <form id="g_form">\r
+            <select multiple id="genusSelect" value="genus" name="genus" size="10">\r
+                <option></option>\r
+            </select>\r
+               \r
+                               <li style="position:relative;left: 100px;top:-180;list-style-type:none;">\r
+                       <ul><input id="submit_show" type="submit" value="Show selected info"/>   </ul>\r
+                       <ul><input id="submit_hide" type="submit" value="Hide selected info"/>   </ul>\r
+                       <ul><input id="submit_add" type="submit" value="Add selected info"/>    </ul>\r
+                       <ul><input id="submit_remove" type="submit" value="Remove selected info"/>      </ul>\r
+                       </li>\r
+                                                                 \r
+                       </form>                 \r
+        </div> \r
+       <!--     <div id="species_div">\r
+            <h2>Select desired information (fourth field)</h2>\r
+                       <form id="sp_form">\r
+            <select multiple id="specieSelect" name="species" size="5">\r
+                <option></option>\r
+            </select>  \r
+                       <li style="position:relative;left: 100px;top:0">\r
+                               <ul><input id="submit_show" type="submit" value="Show selected info"/>   </ul>\r
+                               <ul><input id="submit_hide" type="submit" value="Hide selected info"/>   </ul>\r
+                               <ul><input id="submit_add" type="submit" value="Add selected info"/>    </ul>\r
+                               <ul><input id="submit_remove" type="submit" value="Remove selected info"/>      </ul>\r
+                       </li>\r
+                       </form>\r
+        </div>\r
+-->\r
+\r
+    </div>\r
+       </div>\r
+       </body>\r
+       </html>\r