1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-15 11:04:02 +02:00

Reveal menu items only if mouse is over wide links

This commit is contained in:
Jakub Vrana
2012-08-20 22:20:22 -07:00
parent beafccb8c3
commit 5d337fe04c
4 changed files with 19 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ function tablesFilter(value) {
</script>
<p class="jsonly"><input onkeyup="tablesFilter(this.value);">
<?php
echo "<p id='tables' onmouseover='menuOver(this);' onmouseout='menuOut(this);'>\n";
echo "<p id='tables' onmouseover='menuOver(this, event);' onmouseout='menuOut(this);'>\n";
foreach ($tables as $table => $type) {
echo '<span><a href="' . h(ME) . 'select=' . urlencode($table) . '"' . bold($_GET["select"] == $table) . ">" . lang('select') . "</a> ";
echo '<a href="' . h(ME) . 'table=' . urlencode($table) . '"' . bold($_GET["table"] == $table) . ">" . h($table) . "</a><br></span>\n";