mirror of
https://github.com/Deutscher-Tischfussballbund/com_sportsmanager.git
synced 2026-06-10 14:37:52 +00:00
Merge pull request #215 from Deutscher-Tischfussballbund/sportsmanager2-issue214
Add background color on hover for tournament trees
This commit is contained in:
@@ -1311,8 +1311,11 @@ static function turnierbaumAnzeigen($veranstaltung,$begegnungen): void
|
||||
$oben = $hoehe * pow(2, $runde) * $spiel + $offset;
|
||||
$links = ($breite + $abstand) * $runde;
|
||||
echo "\n<div ";
|
||||
if ($begegnungen[$runde + 1][$spiel + 1]['link'])
|
||||
if ($begegnungen[$runde + 1][$spiel + 1]['link']){
|
||||
echo "onclick=\"window.location.href='" . $begegnungen[$runde + 1][$spiel + 1]['link'] . "';\" ";
|
||||
echo "onmouseover=\"this.style.backgroundColor='lightblue';\" ";
|
||||
echo "onmouseout=\"this.style.backgroundColor='white';\" ";
|
||||
}
|
||||
echo "class='matchbox' style='top: " . $oben . "px; left: " . $links . "px;'
|
||||
title='" . $begegnungen[$runde + 1][$spiel + 1]['tooltiptext'] . "'>";
|
||||
echo "<span class='" . $class['heim'] . "'>";
|
||||
|
||||
Reference in New Issue
Block a user