goba            Fri Nov 21 06:30:17 2003 EDT

  Modified files:              
    /phpdoc/scripts/quickref    originalafter.js processafter.php 
  Log:
  putting a small timeout on the onblur hide action, so click actions on links will 
still be handled, before the dropdown disappears
  
Index: phpdoc/scripts/quickref/originalafter.js
diff -u phpdoc/scripts/quickref/originalafter.js:1.2 
phpdoc/scripts/quickref/originalafter.js:1.3
--- phpdoc/scripts/quickref/originalafter.js:1.2        Fri Nov 21 06:07:42 2003
+++ phpdoc/scripts/quickref/originalafter.js    Fri Nov 21 06:30:16 2003
@@ -192,11 +192,8 @@
     }
 }
 
-function fh_EBlur()
-{
-    f_p.autocomplete="on";
-    fh_HideAll();
-}
+function fh_EBlur() { setTimeout("fh_EBlurT()", 200); }
+function fh_EBlurT() { f_p.autocomplete="on"; fh_HideAll(); }
 
 function fh_EKeyPress(ev)
 {
Index: phpdoc/scripts/quickref/processafter.php
diff -u phpdoc/scripts/quickref/processafter.php:1.2 
phpdoc/scripts/quickref/processafter.php:1.3
--- phpdoc/scripts/quickref/processafter.php:1.2        Fri Nov 21 06:07:42 2003
+++ phpdoc/scripts/quickref/processafter.php    Fri Nov 21 06:30:17 2003
@@ -16,7 +16,7 @@
 # | Authors:    Mitja Slenc <[EMAIL PROTECTED]>                              |
 # +----------------------------------------------------------------------+
 # 
-# $Id: processafter.php,v 1.2 2003/11/21 11:07:42 goba Exp $
+# $Id: processafter.php,v 1.3 2003/11/21 11:30:17 goba Exp $
 */
 
 $lines=file("originalafter.js");
@@ -24,7 +24,7 @@
        $lines[$key]=array_shift(explode("//", trim($line)));
 }
 
-$leave=array("cpd", "dcp", "for", "document", "forms", "break", "if", "continue", 
"var", "style", "innerHTML", "value", "getElementById", "autocomplete", "onblur", 
"onfocus", "onkeyup", "onkeydown", "onkeypress", "display", "pattern", "show", "left", 
"top", "event", "evt", "ev", "which", "length", "all", "navigator", "userAgent", 
"toLowerCase", "indexOf", "width", "else", "write", "split", "join", "charAt", 
"substring", "function", "return", "new", "Array", "switch", "case", "push", "pop", 
"default", "true", "false", "offsetLeft", "offsetParent", "while", "null", "tagName", 
"clientLeft", "parseInt", "border", "isNaN", "getAttribute", "charCode", "keyCode", 
"cc", "test", "u57385", "u57386");
+$leave=array("cpd", "dcp", "for", "document", "forms", "break", "if", "continue", 
"var", "style", "innerHTML", "value", "getElementById", "autocomplete", "onblur", 
"onfocus", "onkeyup", "onkeydown", "onkeypress", "display", "pattern", "show", "left", 
"top", "event", "evt", "ev", "which", "length", "all", "navigator", "userAgent", 
"toLowerCase", "indexOf", "width", "else", "write", "split", "join", "charAt", 
"substring", "function", "return", "new", "Array", "switch", "case", "push", "pop", 
"default", "true", "false", "offsetLeft", "offsetParent", "while", "null", "tagName", 
"clientLeft", "parseInt", "border", "isNaN", "getAttribute", "charCode", "keyCode", 
"cc", "setTimeout", "fh_EBlurT");
 
 $text=implode(" ", $lines);
 

Reply via email to