--- generate-overview.pl 2003/05/26 16:56:11 1.13 +++ generate-overview.pl 2003/08/09 21:31:19 1.15 @@ -36,7 +36,7 @@ # $gBaseURL = "http://localhost/~cricket/grapher.cgi"; my $hostname = `hostname -f`; chomp($hostname); - $gBaseURL = "http://$hostname/cgi-bin/cricket/grapher.cgi"; + $gBaseURL = "/cgi-bin/cricket/grapher.cgi"; # change this to destination directory $path = "/data/mon/"; @@ -242,14 +242,16 @@ if (elmref0) elmref0.bgColor = '#e0e0e0'; } } else if(elmref) { + // default: show all + new_cookie |= 1 << links[i].name; if (elmref.style.display=='none') { elmref.style.display=''; - new_cookie |= 1 << links[i].name; if (elmref0) elmref0.bgColor = '#eeeeee'; } else { - elmref.style.display = 'none'; - //new_cookie &= !( 1 << links[i].name ); - if (elmref0) elmref0.bgColor = '#e0e0e0'; + // hide? no... + //elmref.style.display = 'none'; + //if (elmref0) elmref0.bgColor = '#e0e0e0'; + if (elmref0) elmref0.bgColor = '#eeeeee'; } } } @@ -277,7 +279,7 @@ if ($dynamic_js) { my $html =<<'HTMLEND'; -##desc## +##desc##