1 | 3 | simandl | --- weathermap/Weathermap.class.php 2007-05-13 17:09:12.000000000 +0200 |
2 | | | +++ wm/Weathermap.class.php 2007-05-25 13:35:07.000000000 +0200 |
3 | | | @@ -4523,7 +4523,7 @@ function PreloadMapHTML() |
4 | | | { |
5 | | | if ( ($link->overliburl != '') || ($link->notestext != '') ) |
6 | | | { |
7 | | | - # $overlibhtml = "onmouseover=\"return overlib('<img src=".$link->overliburl.">',DELAY,250,CAPTION,'".$link->name."');\" onmouseout=\"return nd();\""; |
8 | | | + # $overlibhtml = "onmouseover=\"return overlib('<img src=".$link->overliburl.">',HAUTO,VAUTO,DELAY,250,CAPTION,'".$link->name."');\" onmouseout=\"return nd();\""; |
9 | | | $a_x=$link->a->x; |
10 | | | $b_x=$link->b->x; |
11 | | | $mid_x=($a_x + $b_x) / 2; |
12 | | | @@ -4570,7 +4570,7 @@ function PreloadMapHTML() |
13 | | | $note=str_replace('"', """, $note); |
14 | | | $overlibhtml .= $note; |
15 | | | } |
16 | | | - $overlibhtml .= "',DELAY,250,${left}${above}CAPTION,'" . $caption |
17 | | | + $overlibhtml .= "',HAUTO,VAUTO,DELAY,250,${left}${above}CAPTION,'" . $caption |
18 | | | . "');\" onmouseout=\"return nd();\""; |
19 | | | |
20 | | | $this->imap->setProp("extrahtml", $overlibhtml, "LINK:" . $link->name); |
21 | | | @@ -4581,7 +4581,7 @@ function PreloadMapHTML() |
22 | | | { |
23 | | | if ( ($node->overliburl != '') || ($node->notestext != '') ) |
24 | | | { |
25 | | | - # $overlibhtml = "onmouseover=\"return overlib('<img src=".$node->overliburl.">',DELAY,250,CAPTION,'".$node->name."');\" onmouseout=\"return nd();\""; |
26 | | | + # $overlibhtml = "onmouseover=\"return overlib('<img src=".$node->overliburl.">',HAUTO,VAUTO,DELAY,250,CAPTION,'".$node->name."');\" onmouseout=\"return nd();\""; |
27 | | | |
28 | | | debug ($node->overlibwidth . "---" . $node->overlibheight . "---\n"); |
29 | | | |
30 | | | @@ -4622,7 +4622,7 @@ function PreloadMapHTML() |
31 | | | $note=str_replace('"', """, $note); |
32 | | | $overlibhtml .= $note; |
33 | | | } |
34 | | | - $overlibhtml .= "',DELAY,250,${left}${above}CAPTION,'" . $caption |
35 | | | + $overlibhtml .= "',HAUTO,VAUTO,DELAY,250,${left}${above}CAPTION,'" . $caption |
36 | | | . "');\" onmouseout=\"return nd();\""; |
37 | | | |
38 | | | # $overlibhtml .= " onclick=\"return overlib('Some Test or other',CAPTION,'MENU',)\""; |