renaming folder edit_wp5_web_folder to map-service
[geo.git] / map-service / geo / formularis / select_by_fourth.html
diff --git a/map-service/geo/formularis/select_by_fourth.html b/map-service/geo/formularis/select_by_fourth.html
new file mode 100644 (file)
index 0000000..4497d39
--- /dev/null
@@ -0,0 +1,70 @@
+<html xmlns="http://www.w3.org/1999/xhtml" >
+  <head>       
+        <style type="text/css" media="screen">
+           <!--
+      BODY { margin: 5px; padding: 0; font: 1em "Trebuchet MS", verdana, arial, sans-serif; }
+      BODY { font-size: 70%; }
+      H1 { margin-bottom: 2px; font-family: Garamond, "Times New Roman", Times, Serif;font-size: 100%; }
+      H2{ margin-bottom: 2px; font-family: Garamond, "Times New Roman", Times, Serif;}
+      DIV.selHolder { float: left; border: 2px solid #ccc; margin: 5px; padding: 3px;}
+      TEXTAREA { width: 50%;}
+      FIELDSET { border: 1px solid #ccc; padding: 1em; margin: 0; }
+      LEGEND { color: #ccc; font-size: 70%; }
+      INPUT, TEXTAREA { font-family: Arial, verdana; font-size: 125%; padding: 7px; border: 1px solid #999; }
+      LABEL { display: block; margin-top: 10px; } 
+      IMG { margin: 5px; }
+      SELECT { margin: 10px; width: 100px; }
+    -->
+    </style>
+    <script type="text/javascript" src="jquery.js"></script>
+    <script  type="text/javascript" src="symbology_form.js" charset="utf-8"></script>
+    <script type="text/javascript">
+
+ $(document).ready(function() {
+cadena=document.location.search;
+c=cadena.split('?');
+c2=c[1].split('&');
+
+userid=c2[0].substring(7,c2[0].length);
+
+p=c2[1].split('_');
+p1=p[0].substring(2,c2[1].length);
+p2=p[1];
+$("#third h2").text(p2);
+//$("#fourth h2").text(p2);
+
+       $(function () { 
+        // note that we're assigning in reverse order
+        // to allow the chaining change trigger to work
+               var cat = $('#genusSelect');
+
+        var el = $('#elementSelect');
+        var attr = $('#attributeSelect');
+        cat.selectChain({
+            target: cat,
+                       
+            url: 'http://edit.africamuseum.be/edit_wp5/geo/selects/select-chain_3_fourth.php?userid='+userid,
+                       type: 'post',
+            data: { ajax:true}
+           }).trigger('change');
+       })
+    });
+       </script>
+        </head>
+        <body>
+               <div id="doc">
+         <div id="third" style="height: 220px;">
+            <h2></h2>
+                       <form id="contactForm">
+            <select multiple id="genusSelect" value="genus" name="genus" size="10">
+                <option></option>
+            </select>
+                       <input id="submit" type="submit" value="Symbolize it" />
+                       </form>                 
+        </div>                  
+    </div>
+       </div>
+       </body>
+       </html>
+