fhiiqm/gefahr_massn_flist.php
changeset 29 72f79dab938e
parent 28 8d8bce56918f
--- a/fhiiqm/gefahr_massn_flist.php	Thu Jul 12 13:29:11 2012 +0200
+++ b/fhiiqm/gefahr_massn_flist.php	Thu Aug 23 10:17:50 2012 +0200
@@ -47,16 +47,21 @@
        $(".dialogl").dialog({
             	bgiframe: true,
             	autoOpen: false,
-                position: [500,100],
-            	height: 300,
+//                position: [180,500],
+                position: ['bottom'],
+            	height: 200,
                 width: 400,
                 resizable: true,
-            	modal: true
+            	modal: true,
+                show: "fold"
+//                show: "slide"
+//                show: { effect: 'drop', direction: "up", speed: "5000" }
                 });
         $('a[id!=open_]').click(function() {
                 var dialog_ID = $(this).attr('id');
                 var dialogPrefix = 'open_';
                 var dialogNum = dialog_ID.substring(dialogPrefix.length);
+                $('#dialog_' + dialogNum).focus();
                 $('#dialog_' + dialogNum).dialog("open");
                 });
 
@@ -150,7 +155,7 @@
             echo "<table width=\"50%\" border=\"0\">\n";
             echo "<tr><td>filtern nach $text: </td>";
             echo "<td><input id='filter' name='filter' type=\"text\" size=\"30\" maxlength=\"30\" value=\"$filter\"/></td>";
-            echo "<td>Prozesse/Seite?   <select name='z'>\n";
+            echo "<td>Ma&szlig;nahmen/Seite?   <select name='z'>\n";
             foreach ($azeil as $key=>$val)
             {
                 if ($key == $zeil) $select = "selected"; else $select = "";
@@ -187,7 +192,7 @@
             if (strlen($row->asm_bem) > 80)
             { 
                 $plus = "<a href='#' id='open_".$row->asm_ID."' title='vollst&auml;ndiger Text'> ... </a>";
-                echo "<div id='dialog_".$row->asm_ID."' class='dialogl' title='gesamter Text - Ma&szlig;nahme' style='display:none'>";
+                echo "<div id='dialog_".$row->asm_ID."' class='dialogl' title='gesamter Text - ".$row->asm_bez."' style='display:none'>";
                 echo nl2br($row->asm_bem);
                 echo "</div>";
             }