jablonka.czprosek.czf

weathermap

Subversion Repositories:
[/] [patches/] [hautovauto-0.91.patch] - Rev 48 Go to most recent revision

Compare with Previous - Blame - Download


--- weathermap/Weathermap.class.php     2007-05-13 17:09:12.000000000 +0200
+++ wm/Weathermap.class.php     2007-05-25 13:35:07.000000000 +0200
@@ -4523,7 +4523,7 @@ function PreloadMapHTML()
                {
                        if ( ($link->overliburl != '') || ($link->notestext != '') )
                        {
-                               # $overlibhtml = "onmouseover=\"return overlib('<img src=".$link->overliburl.">',DELAY,250,CAPTION,'".$link->name."');\"  onmouseout=\"return nd();\"";
+                               # $overlibhtml = "onmouseover=\"return overlib('<img src=".$link->overliburl.">',HAUTO,VAUTO,DELAY,250,CAPTION,'".$link->name."');\"  onmouseout=\"return nd();\"";
                                $a_x=$link->a->x;
                                $b_x=$link->b->x;
                                $mid_x=($a_x + $b_x) / 2;
@@ -4570,7 +4570,7 @@ function PreloadMapHTML()
                                        $note=str_replace('"', """, $note);
                                        $overlibhtml .= $note;
                                }
-                               $overlibhtml .= "',DELAY,250,${left}${above}CAPTION,'" . $caption
+                               $overlibhtml .= "',HAUTO,VAUTO,DELAY,250,${left}${above}CAPTION,'" . $caption
                                . "');\"  onmouseout=\"return nd();\"";
 
                                $this->imap->setProp("extrahtml", $overlibhtml, "LINK:" . $link->name);
@@ -4581,7 +4581,7 @@ function PreloadMapHTML()
                {
                        if ( ($node->overliburl != '') || ($node->notestext != '') )
                        {
-                               # $overlibhtml = "onmouseover=\"return overlib('<img src=".$node->overliburl.">',DELAY,250,CAPTION,'".$node->name."');\"  onmouseout=\"return nd();\"";
+                               # $overlibhtml = "onmouseover=\"return overlib('<img src=".$node->overliburl.">',HAUTO,VAUTO,DELAY,250,CAPTION,'".$node->name."');\"  onmouseout=\"return nd();\"";
 
                                debug ($node->overlibwidth . "---" . $node->overlibheight . "---\n");
 
@@ -4622,7 +4622,7 @@ function PreloadMapHTML()
                                        $note=str_replace('"', """, $note);
                                        $overlibhtml .= $note;
                                }
-                               $overlibhtml .= "',DELAY,250,${left}${above}CAPTION,'" . $caption
+                               $overlibhtml .= "',HAUTO,VAUTO,DELAY,250,${left}${above}CAPTION,'" . $caption
                                . "');\"  onmouseout=\"return nd();\"";
 
                                # $overlibhtml .= " onclick=\"return overlib('Some Test or other',CAPTION,'MENU',)\"";

Powered by WebSVN 2.2.1