Beautified the way database list is displayed with NS4
This commit is contained in:
@@ -5,6 +5,9 @@ phpMyAdmin - Changelog
|
|||||||
$Id$
|
$Id$
|
||||||
$Source$
|
$Source$
|
||||||
|
|
||||||
|
2001-05-30 Lo<4C>c Chapeaux <lolo@phpheaven.net>
|
||||||
|
* left.js, left.php3 : beautify the way database list is displayed with NS4
|
||||||
|
|
||||||
2001-05-30 Pete Kelly <webmaster@trafficg.com>
|
2001-05-30 Pete Kelly <webmaster@trafficg.com>
|
||||||
* db_readdump.php3, line 57: fixed the bug #427796
|
* db_readdump.php3, line 57: fixed the bug #427796
|
||||||
|
|
||||||
|
18
left.js
18
left.js
@@ -113,6 +113,20 @@ function nsArrangeList() {
|
|||||||
} // end of the 'nsArrangeList()' function
|
} // end of the 'nsArrangeList()' function
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Expand databases at startup
|
||||||
|
*
|
||||||
|
* @access public
|
||||||
|
*/
|
||||||
|
function nsShowAll() {
|
||||||
|
var layersCnt = document.layers.length;
|
||||||
|
for (i = firstInd; i < layersCnt; i++) {
|
||||||
|
whichEl = document.layers[i];
|
||||||
|
whichEl.visibility = 'show';
|
||||||
|
}
|
||||||
|
} // end of the 'nsShowAll()' function
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Collapses databases at startup
|
* Collapses databases at startup
|
||||||
*
|
*
|
||||||
@@ -238,8 +252,8 @@ if (capable) {
|
|||||||
write('DIV { color:black; }');
|
write('DIV { color:black; }');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
write('.parent {font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000; text-decoration:none; position:absolute; visibility:show; color: black;}');
|
write('.parent {font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000; text-decoration:none; position:absolute; visibility:hidden; color: black;}');
|
||||||
write('.child {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt;color: #000000; position:absolute; visibility:show}');
|
write('.child {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt;color: #000000; position:absolute; visibility:hidden}');
|
||||||
write('.item { color: darkblue; text-decoration:none;}');
|
write('.item { color: darkblue; text-decoration:none;}');
|
||||||
write('.regular {font-family: Arial,Helvetica,sans-serif; position:absolute; visibility:hidden}');
|
write('.regular {font-family: Arial,Helvetica,sans-serif; position:absolute; visibility:hidden}');
|
||||||
write('DIV { color:black; }');
|
write('DIV { color:black; }');
|
||||||
|
Reference in New Issue
Block a user