gecko-dev/webtools/tinderbox/tinderboxen.html

73 строки
1.5 KiB
HTML
Исходник Обычный вид История

2000-09-27 12:06:35 +04:00
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<html>
<head>
<title>Tinderboxen Big Picture</title>
</head>
<body>
<center>
<h1>Tinderboxen Big Picture</h1>
</center>
<script>
2000-09-28 00:44:55 +04:00
// Use JavaScript to refresh the page every 15 minutes
setTimeout('location.reload()',900000);
2000-09-27 12:06:35 +04:00
// For 3.0?
var noDHTML = false;
if (parseInt(navigator.appVersion) < 4) {
window.event = 0;
noDHTML = true;
} else if (navigator.userAgent.indexOf("MSIE") > 0 ) {
noDHTML = true;
}
// Add trees here.
var $tree1 = "http://tinderbox.mozilla.org/showbuilds.cgi?tree=SeaMonkey&express=1";
2001-02-17 05:00:47 +03:00
var $tree2 = "http://tinderbox.mozilla.org/showbuilds.cgi?tree=Mozilla-0.8-Branch&express=1";
2000-09-27 12:06:35 +04:00
// Print out using layers for 4.x
function printLayer(tree) {
document.write("<ilayer src=\"");
document.write(tree);
document.write("\"></ilayer>");
}
// Print out using iframes for mozilla, ie.
function printIFrame(tree) {
document.write("<iframe frameborder=0 height=100 width=100% src=\"");
document.write(tree);
document.write("\"></iframe>");
}
if(document.layers) {
// 4.x
document.write("<h2>Trunk</h2>");
printLayer($tree1);
document.write("<hr>");
2001-02-17 05:00:47 +03:00
document.write("<h2>Mozilla 0.8 Branch</h2>");
2000-09-27 12:06:35 +04:00
printLayer($tree2);
} else {
// Mozilla or IE
document.write("<h2>Trunk</h2>");
printIFrame($tree1);
document.write("<hr>");
2001-02-17 05:03:23 +03:00
document.write("<h2>Mozilla 0.8 Branch</h2>");
2000-09-27 12:06:35 +04:00
printIFrame($tree2);
}
</script>
</body>
</html>