diff --git a/apidb.css b/apidb.css index 67ca444..485cfb3 100644 --- a/apidb.css +++ b/apidb.css @@ -63,8 +63,9 @@ p.indent { padding-left: 1em; padding-right: 1em;} .menuTitle { font-size: 12px; color: #ffffff; font-weight: bold; text-decoration: none; } .menuTitle:visited { font-size: 12px; color: #ffffff; font-weight: bold; text-decoration: none; } .menuTitle:hover { font-size: 12px; color: #ffffff; font-weight: bold; text-decoration: none; } -.menuLink { font-size: 11px; color: #ffffff; font-weight: bold; } -.menuItem { font-size: 11px; color: #000000; } +.menuLink { padding-left: 4px; padding-top: 5px; padding-bottom: 5px; background-color: #ffffff; font-size: 11px; width: 140px; display: block; } +.menulink:hover { background-color: #e0e6ff; } +.menuItem { padding-left: 4px; padding-top: 5px; padding-bottom: 5px; background-color: #ffffff; font-size: 11px; width: 140px; display: block; } .menuItem:visited { font-size: 11px; color: #000000; } .menuItem:hover { font-size: 11px; color: #A50D0D; } diff --git a/include/menu.php b/include/menu.php index 66d8403..4f5b30a 100644 --- a/include/menu.php +++ b/include/menu.php @@ -31,7 +31,7 @@ class htmlmenu {
- +
"); + echo "
$sName
"; } - $oTableCell->SetAlign($sAlign); - $oTableCell->SetWidth("100%"); - - $oTableRow->SetClass("sidemenu"); - $oTableRow->AddCell($oTableCell); - - echo $oTableRow->GetString(); } function addmisc($sStuff, $sAlign = "left") { - echo " \n"; + echo "
$sStuff
\n"; } function done($form = null) { echo ' + +
'; } @@ -43,38 +43,23 @@ class htmlmenu { if($shUrl) { - $oTableCell = new TableCell(" ". - "$sName"); - - $oHighlightColor = new Color(0xe0, 0xe6, 0xff); - $oInactiveColor = new Color(0xff, 0xff, 0xff); - $oTableRowHighlight = new TableRowHighlight($oHighlightColor, $oInactiveColor); - - $oTableRowClick = new TableRowClick($shUrl); - $oTableRowClick->SetHighlight($oTableRowHighlight); - - $oTableRow->SetRowClick($oTableRowClick); + echo "$sName"; } else { - $oTableCell = new TableCell(" $sName
 $sStuff