Beautified the way database list is displayed with NS4
This commit is contained in:
18
left.js
18
left.js
@@ -113,6 +113,20 @@ function nsArrangeList() {
|
||||
} // 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
|
||||
*
|
||||
@@ -238,8 +252,8 @@ if (capable) {
|
||||
write('DIV { color:black; }');
|
||||
}
|
||||
else {
|
||||
write('.parent {font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000; text-decoration:none; position:absolute; visibility:show; color: black;}');
|
||||
write('.child {font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt;color: #000000; position:absolute; visibility:show}');
|
||||
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:hidden}');
|
||||
write('.item { color: darkblue; text-decoration:none;}');
|
||||
write('.regular {font-family: Arial,Helvetica,sans-serif; position:absolute; visibility:hidden}');
|
||||
write('DIV { color:black; }');
|
||||
|
Reference in New Issue
Block a user