Well basically, I hate those layers popups that-aren't-quite-menus.
They've got to go. The information that was on them is only one click away anyhow. git-svn-id: svn://10.0.0.236/trunk@3880 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
96528ae3cd
commit
dc20ae98f4
@ -1,5 +1,5 @@
|
||||
#!/usr/bonsaitools/bin/perl
|
||||
# $Id: source,v 1.4 1998-06-16 00:51:20 jwz Exp $
|
||||
# $Id: source,v 1.5 1998-06-16 09:03:38 jwz Exp $
|
||||
|
||||
# source -- Present sourcecode as html, complete with references
|
||||
#
|
||||
@ -78,10 +78,7 @@ sub dirname {
|
||||
if ($filename eq '..') {
|
||||
return(&fileref("Parent directory", $parentdir));
|
||||
} else {
|
||||
return("<a href=\"".$Conf->{'virtroot'}."/source".$Path->{'virt'}.$filename.
|
||||
"\" onMouseOver=\"return js_dir_menu(\'".
|
||||
$Path->{'virt'}.$filename."\', event)\">".$filename."</a>"
|
||||
);
|
||||
return(&fileref($filename, $Path->{'virt'}.$filename));
|
||||
}
|
||||
}
|
||||
|
||||
@ -107,11 +104,7 @@ sub fileicon {
|
||||
|
||||
|
||||
sub filename {
|
||||
return("<a href=\"".$Conf->{'virtroot'}."/source".$Path->{'virt'}.$filename.
|
||||
"\" onMouseOver=\"return js_file_menu(\'". $Path->{'virt'}.
|
||||
$filename."\', event)\">".$filename."</a>"
|
||||
);
|
||||
|
||||
return(&fileref($filename, $Path->{'virt'}.$filename));
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -3,60 +3,6 @@
|
||||
<head>
|
||||
<META NAME="GENERATOR" CONTENT="lxr-1998-06-10: http://lxr.linux.no">
|
||||
<title>$title</title>
|
||||
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
<!--
|
||||
var event = 0
|
||||
function js_dir_menu() {}
|
||||
function js_file_menu() {}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<SCRIPT LANGUAGE="JavaScript1.2">
|
||||
<!--
|
||||
function js_dir_menu(dir,d) {
|
||||
if( parseInt(navigator.appVersion) < 4 ){
|
||||
return true;
|
||||
}
|
||||
l = document.layers['popup'];
|
||||
urlmonth="/webtools/bonsai/cvsquery.cgi?module=MozillaSource&branch=HEAD&dir=mozilla"+dir+"&file=&who=&sortby=Date&hours=2&date=month&mindate=&maxdate=&cvsroot=%2Fcvsroot";
|
||||
urlweek="/webtools/bonsai/cvsquery.cgi?module=MozillaSource&branch=HEAD&dir=mozilla"+dir+"&file=&who=&sortby=Date&hours=2&date=week&mindate=&maxdate=&cvsroot=%2Fcvsroot";
|
||||
text="<table border><tr><td><a href=\"mozilla/source"+dir+"\"><a href=\""+urlweek+"\">Checkins to mozilla"+dir+" in the last week</a> <br><a href=\""+urlmonth+"\">Checkins to mozilla"+dir+" in the last month</a> </td></tr> </table>"
|
||||
l.document.write(text);
|
||||
l.top = d.target.y;
|
||||
l.left = d.target.x + 110;
|
||||
if( (l.left + l.clipWidth) > window.width ){
|
||||
l.left = window.width - l.clipWidth;
|
||||
}
|
||||
l.visibility="show";
|
||||
l.document.close();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
function js_file_menu(file,d) {
|
||||
if( parseInt(navigator.appVersion) < 4 ){
|
||||
return true;
|
||||
}
|
||||
l = document.layers['popup'];
|
||||
|
||||
text="<table border><tr><td><a href=\"/webtools/bonsai/cvslog.cgi?file=/mozilla"+file+"&root=/cvsroot\">mozilla"+file+" change log</a><br><a href=\"http://cvs1.mozilla.org/webtools/bonsai/cvsblame.cgi?&file=mozilla"+file+"&root=/cvsroot\">mozilla"+file+" with change log annotations</a></td></tr></table>"
|
||||
l.document.write(text);
|
||||
l.top = d.target.y;
|
||||
l.left = d.target.x + 110;
|
||||
if( (l.left + l.clipWidth) > window.width ){
|
||||
l.left = window.width - l.clipWidth;
|
||||
}
|
||||
l.visibility="show";
|
||||
l.document.close();
|
||||
return false;
|
||||
}
|
||||
// end script -->
|
||||
</script>
|
||||
|
||||
|
||||
<layer name="popup" onMouseOut="this.visibility='hide';" left=0 top=0 bgcolor="#dddddd" visibility="hide">
|
||||
</layer>
|
||||
|
||||
</head>
|
||||
|
||||
<BODY BGCOLOR="#FFFFFF" TEXT="#000000"
|
||||
|
||||
@ -3,60 +3,6 @@
|
||||
<head>
|
||||
<META NAME="GENERATOR" CONTENT="lxr-1998-06-10: http://lxr.linux.no">
|
||||
<title>$title</title>
|
||||
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
<!--
|
||||
var event = 0
|
||||
function js_dir_menu() {}
|
||||
function js_file_menu() {}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<SCRIPT LANGUAGE="JavaScript1.2">
|
||||
<!--
|
||||
function js_dir_menu(dir,d) {
|
||||
if( parseInt(navigator.appVersion) < 4 ){
|
||||
return true;
|
||||
}
|
||||
l = document.layers['popup'];
|
||||
urlmonth="/webtools/bonsai/cvsquery.cgi?module=MozillaSource&branch=HEAD&dir=mozilla"+dir+"&file=&who=&sortby=Date&hours=2&date=month&mindate=&maxdate=&cvsroot=%2Fcvsroot";
|
||||
urlweek="/webtools/bonsai/cvsquery.cgi?module=MozillaSource&branch=HEAD&dir=mozilla"+dir+"&file=&who=&sortby=Date&hours=2&date=week&mindate=&maxdate=&cvsroot=%2Fcvsroot";
|
||||
text="<table border><tr><td><a href=\"mozilla/source"+dir+"\"><a href=\""+urlweek+"\">Checkins to mozilla"+dir+" in the last week</a> <br><a href=\""+urlmonth+"\">Checkins to mozilla"+dir+" in the last month</a> </td></tr> </table>"
|
||||
l.document.write(text);
|
||||
l.top = d.target.y;
|
||||
l.left = d.target.x + 110;
|
||||
if( (l.left + l.clipWidth) > window.width ){
|
||||
l.left = window.width - l.clipWidth;
|
||||
}
|
||||
l.visibility="show";
|
||||
l.document.close();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
function js_file_menu(file,d) {
|
||||
if( parseInt(navigator.appVersion) < 4 ){
|
||||
return true;
|
||||
}
|
||||
l = document.layers['popup'];
|
||||
|
||||
text="<table border><tr><td><a href=\"/webtools/bonsai/cvslog.cgi?file=/mozilla"+file+"&root=/cvsroot\">mozilla"+file+" change log</a><br><a href=\"http://cvs1.mozilla.org/webtools/bonsai/cvsblame.cgi?&file=mozilla"+file+"&root=/cvsroot\">mozilla"+file+" with change log annotations</a></td></tr></table>"
|
||||
l.document.write(text);
|
||||
l.top = d.target.y;
|
||||
l.left = d.target.x + 110;
|
||||
if( (l.left + l.clipWidth) > window.width ){
|
||||
l.left = window.width - l.clipWidth;
|
||||
}
|
||||
l.visibility="show";
|
||||
l.document.close();
|
||||
return false;
|
||||
}
|
||||
// end script -->
|
||||
</script>
|
||||
|
||||
|
||||
<layer name="popup" onMouseOut="this.visibility='hide';" left=0 top=0 bgcolor="#dddddd" visibility="hide">
|
||||
</layer>
|
||||
|
||||
</head>
|
||||
|
||||
<BODY BGCOLOR="#FFFFFF" TEXT="#000000"
|
||||
|
||||
@ -3,60 +3,6 @@
|
||||
<head>
|
||||
<META NAME="GENERATOR" CONTENT="lxr-1998-06-10: http://lxr.linux.no">
|
||||
<title>$title</title>
|
||||
|
||||
<SCRIPT LANGUAGE="JavaScript">
|
||||
<!--
|
||||
var event = 0
|
||||
function js_dir_menu() {}
|
||||
function js_file_menu() {}
|
||||
//-->
|
||||
</SCRIPT>
|
||||
<SCRIPT LANGUAGE="JavaScript1.2">
|
||||
<!--
|
||||
function js_dir_menu(dir,d) {
|
||||
if( parseInt(navigator.appVersion) < 4 ){
|
||||
return true;
|
||||
}
|
||||
l = document.layers['popup'];
|
||||
urlmonth="/webtools/bonsai/cvsquery.cgi?module=MozillaSource&branch=HEAD&dir=mozilla"+dir+"&file=&who=&sortby=Date&hours=2&date=month&mindate=&maxdate=&cvsroot=%2Fcvsroot";
|
||||
urlweek="/webtools/bonsai/cvsquery.cgi?module=MozillaSource&branch=HEAD&dir=mozilla"+dir+"&file=&who=&sortby=Date&hours=2&date=week&mindate=&maxdate=&cvsroot=%2Fcvsroot";
|
||||
text="<table border><tr><td><a href=\"mozilla/source"+dir+"\"><a href=\""+urlweek+"\">Checkins to mozilla"+dir+" in the last week</a> <br><a href=\""+urlmonth+"\">Checkins to mozilla"+dir+" in the last month</a> </td></tr> </table>"
|
||||
l.document.write(text);
|
||||
l.top = d.target.y;
|
||||
l.left = d.target.x + 110;
|
||||
if( (l.left + l.clipWidth) > window.width ){
|
||||
l.left = window.width - l.clipWidth;
|
||||
}
|
||||
l.visibility="show";
|
||||
l.document.close();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
function js_file_menu(file,d) {
|
||||
if( parseInt(navigator.appVersion) < 4 ){
|
||||
return true;
|
||||
}
|
||||
l = document.layers['popup'];
|
||||
|
||||
text="<table border><tr><td><a href=\"/webtools/bonsai/cvslog.cgi?file=/mozilla"+file+"&root=/cvsroot\">mozilla"+file+" change log</a><br><a href=\"http://cvs1.mozilla.org/webtools/bonsai/cvsblame.cgi?&file=mozilla"+file+"&root=/cvsroot\">mozilla"+file+" with change log annotations</a></td></tr></table>"
|
||||
l.document.write(text);
|
||||
l.top = d.target.y;
|
||||
l.left = d.target.x + 110;
|
||||
if( (l.left + l.clipWidth) > window.width ){
|
||||
l.left = window.width - l.clipWidth;
|
||||
}
|
||||
l.visibility="show";
|
||||
l.document.close();
|
||||
return false;
|
||||
}
|
||||
// end script -->
|
||||
</script>
|
||||
|
||||
|
||||
<layer name="popup" onMouseOut="this.visibility='hide';" left=0 top=0 bgcolor="#dddddd" visibility="hide">
|
||||
</layer>
|
||||
|
||||
</head>
|
||||
|
||||
<BODY BGCOLOR="#FFFFFF" TEXT="#000000"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user