Update of /cvsroot/firebug/firebug/web
In directory sc8-pr-cvs1:/tmp/cvs-serv486
Modified Files:
firebug.css
Added Files:
main.js menu.html
Log Message:
More files for new web pages.
--- NEW FILE: main.js ---
function navBar( tableCellRef, hoverFlag, navStyle ) {
if ( hoverFlag ) {
switch ( navStyle ) {
case 1:
tableCellRef.style.backgroundColor = '#5A6B94';
break;
default:
if ( document.getElementsByTagName ) {
tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#c00';
}
}
} else {
switch ( navStyle ) {
case 1:
tableCellRef.style.backgroundColor = '#384C72';
break;
default:
if ( document.getElementsByTagName ) {
tableCellRef.getElementsByTagName( 'a' )[0].style.color = '#000';
}
}
}
}
function navBarClick( tableCellRef, navStyle, url ) {
navBar( tableCellRef, 0, navStyle );
goTo( url );
}
function goTo( url ) {
window.location.href = url;
}
function validateSearch() {
if (document.searchform.search.value=='Search for...' || document.searchform.search.value=='') {
alert('Wait, you need to enter what you\'re looking for in the "Search for..." box.'); return false;
} else {
document.searchform.submit();}
}
--- NEW FILE: menu.html ---
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
<head>
<link type="text/css" rel="stylesheet" href="main.css" />
<link type="text/css" rel="stylesheet" href="firebug.css" />
<script language="JavaScript1.2" src="/main.js" type="text/javascript"></script>
<link rel="SHORTCUT ICON" href="./images/favicon.ico" />
<title>FireBug navigation menu</title>
</head>
<body>
<h2>Destinations</h2>
<table width="160" height="100%" bgcolor="#EDE7DB">
<tr>
<td>
<table width="155" bgcolor="#EEEEEE" border="0" cellpadding="0" cellspacing="0">
<tr bgcolor="#CCCCCC" class="NavHiliteRow"><td class="NavHilite" onClick="goTo('./introduction.html')"><div class="NavText"><a href="./introduction.html">Introduction</a></div></td></tr>
<tr class="NavRow"><td class="Nav" onMouseOver="navBar(this,1,1)" onMouseOut="navBar(this,0,1)" onClick="navBarClick(this,1,'./overview.html')"><div class="NavText"><a href="./overview.html">Overview</a></div></td></tr>
<tr class="NavRow"><td class="Nav" onMouseOver="navBar(this,1,1)" onMouseOut="navBar(this,0,1)" onClick="navBarClick(this,1,'./architecture.html')"><div class="NavText"><a href="/about_us/budget.html">Network architecture</a></div></td></tr>
<tr class="NavRow"><td class="Nav" onMouseOver="navBar(this,1,1)" onMouseOut="navBar(this,0,1)" onClick="navBarClick(this,1,'./people.html')"><div class="NavText"><a href="./people.html">People</a></div></td></tr>
<tr class="NavRow"><td class="Nav" onMouseOver="navBar(this,1,1)" onMouseOut="navBar(this,0,1)" onClick="navBarClick(this,1,'./contact.html')"><div class="NavText"><a href="./contact.html">Contact</a></div></td></tr>
</table>
</td>
</tr>
<tr>
<td align="center"> <br> <br>
<a href="http://www-laep.ced.berkeley.edu/~itr/"><img src="./images/laep-fire.jpg" border="0" alt="Click to visit Cal Fire"></a>
<p>
<a href="http://www.nsf.gov/"><img src="./images/nsf01.gif" border="0" alt="Click to visit NSF"></a>
<p>
</td>
</tr>
</table>
</body>
</html>
Index: firebug.css
===================================================================
RCS file: /cvsroot/firebug/firebug/web/firebug.css,v
retrieving revision 1.10
retrieving revision 1.11
diff -C2 -d -r1.10 -r1.11
*** firebug.css 22 May 2003 04:40:32 -0000 1.10
--- firebug.css 11 Jun 2003 17:02:19 -0000 1.11
***************
*** 21,24 ****
--- 21,29 ----
}
+ table.new {
+ width:50%;
+ }
+
+
tr.code {
/*background-color:#ffff66; */
***************
*** 109,110 ****
--- 114,172 ----
*/
+
+ /************************************************/
+
+ body {
+ margin:9px 9px 0 9px;
+ padding:0;
+ background-color:#ffffff;
+ }
+
+ #level0{
+ background-color:#ffcc00;
+ }
+
+ #level1 {
+ margin-left:143px;
+ padding-left:9px;
+ background-color:#FFFFFF;
+ }
+ #level2 {
+ background:#FFF3AC;
+ position:relative;
+ }
+
+ #level3 {
+ margin-right:143px;
+ padding-right:9px;
+ background:#FFFFFF;
+ }
+ #main {
+ background:#fff3ac;
+ }
+ #topBar {
+ background:#ffffff;
+ }
+ #advBar {
+ background:#fff3ac;
+ }
+
+ #tipDay {
+ float:right;
+ width:175px;
+ background:#FFF3AC;
+ }
+
+ #lftBar {
+ position:absolute;
+ width:143px;
+ top:9px;
+ left:9px;
+ }
+
+ #rgtBar {
+ position:absolute;
+ width:143px;
+ top:0;
+ right:0;
+ }
\ No newline at end of file
|