Team:Wash U/Temp

From 2009.igem.org

(Difference between revisions)
 
(15 intermediate revisions not shown)
Line 1: Line 1:
-
//Compressed CSS Styles
+
{{WashUback}}
-
document.write('<!--%%%%%%%%%%%% QuickMenu Styles [Keep in head for full validation!] %%%%%%%%%%%--><style type="text/css">/*!!!!!!!!!!! QuickMenu Core CSS [Do Not Modify!] !!!!!!!!!!!!!*/.qmmc .qmdivider{display:block;font-size:1px;border-width:0px;border-style:solid;position:relative;z-index:1;}.qmmc .qmdividery{float:left;width:0px;}.qmmc .qmtitle{display:block;cursor:default;white-space:nowrap;position:relative;z-index:1;}.qmclear {font-size:1px;height:0px;width:0px;clear:left;line-height:0px;display:block;float:none !important;}.qmmc {position:relative;zoom:1;z-index:10;}.qmmc a, .qmmc li {float:left;display:block;white-space:nowrap;position:relative;z-index:1;}.qmmc div a, .qmmc ul a, .qmmc ul li {float:none;}.qmsh div a {float:left;}.qmmc div{visibility:hidden;position:absolute;}.qmmc .qmcbox{cursor:default;display:inline-block;position:relative;z-index:1;}.qmmc .qmcbox a{display:inline;}.qmmc .qmcbox div{float:none;position:static;visibility:inherit;left:auto;}/*!!!!!!!!!!! QuickMenu Styles [Please Modify!] !!!!!!!!!!!*//* QuickMenu 0 */#qm0{padding:5px;border-width:1px;border-style:solid;border-color:#EEEEEE;}#qm0 a{padding:5px;background-color:#E3C7B0;color:#017809;font-family:Verdana;font-size:13px;text-decoration:none;font-style:normal;text-align:left;border-width:0px;border-style:none;border-color:#D4BDA1;}#qm0 a:hover{background-color:#D00F01;color:#FFFFFF;}#qm0 li:hover>a{background-color:#D00F01;color:#FFFFFF;}body #qm0 .qmactive, body #qm0 .qmactive:hover{background-color:#D00F01;color:#FFFFFF;}#qm0 div{padding:10px;margin:-2px 0px 0px 0px;background-color:transparent;border-style:none;}#qm0 div a{padding:3px 10px 3px 5px;font-size:11px;}#qm0 div a:hover{background-color:#D00F01;color:#FFFFFF;}#qm0 div a:hover{background-color:#D00F01;color:#FFFFFF;}body #qm0 div .qmactive, body #qm0 div .qmactive:hover{background-color:#D00F01;color:#FFFFFF;}#qm0 .qmtitle{cursor:default;padding:3px 0px 3px 4px;color:#444444;font-family:arial;font-size:11px;font-weight:bold;}#qm0 .qmdividerx{border-top-width:1px;margin:4px 0px 4px 0px;border-color:#BFBFBF;}#qm0 .qmdividery{border-left-width:1px;height:15px;margin:4px 2px 0px 2px;border-color:#AAAAAA;}#qm0 .qmritem span{border-color:#DADADA;}#qm0 .qmritemcontent{padding:0px 0px 0px 4px;}ul#qm0 li:hover > a{background-color:#F7F7F7;}ul#qm0 ul{padding:10px;margin:-2px 0px 0px 0px;background-color:#F7F7F7;border-width:1px;border-style:solid;border-color:#DADADA;}</style>');
+
<html>
 +
<head>
 +
<title>Advanced Menu Bar</title>
 +
<!-- Advanced Menu Bar Generated by SearchBliss.com - Copyright 2002 - All Rights Reserved -->
 +
<script language="JavaScript">
 +
<!--
 +
function MM_preloadImages() { //v3.0
 +
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
 +
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
 +
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
 +
}
 +
function MM_findObj(n, d) { //v3.0
 +
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
 +
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
 +
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
 +
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document); return x;
 +
}
-
 
+
function MM_nbGroup(event, grpName) { //v3.0
-
//Add-On Core Code (Remove when not using any add-on's)
+
  var i,img,nbArr,args=MM_nbGroup.arguments;
-
document.write('<style type="text/css">.qmfv{visibility:visible !important;}.qmfh{visibility:hidden !important;}</style>');
+
  if (event == "init" && args.length > 2) {
-
if (!window.qmad){qmad=new Object();qmad.binit="";qmad.bvis="";qmad.bhide="";}
+
    if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
-
 
+
      img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
-
/*******  Menu 0 Add-On Settings *******/
+
      if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
-
var a = qmad.qm0 = new Object();
+
      nbArr[nbArr.length] = img;
-
 
+
      for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
-
// Rounded Sub Corners Add On
+
        if (!img.MM_up) img.MM_up = img.src;
-
a.rcorner_size = 6;
+
        img.src = img.MM_dn = args[i+1];
-
a.rcorner_border_color = "#dadada";
+
        nbArr[nbArr.length] = img;
-
a.rcorner_bg_color = "#F7F7F7";
+
    } }
-
a.rcorner_apply_corners = new Array(false,true,true,true);
+
  } else if (event == "over") {
-
a.rcorner_top_line_auto_inset = true;
+
    document.MM_nbOver = nbArr = new Array();
-
 
+
    for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
-
// Rounded Items Add On
+
      if (!img.MM_up) img.MM_up = img.src;
-
a.ritem_size = 4;
+
      img.src = (img.MM_dn && args[i+2]) ? args[i+2] : args[i+1];
-
a.ritem_apply = "main";
+
      nbArr[nbArr.length] = img;
-
a.ritem_main_apply_corners = new Array(true,true,false,false);
+
    }
-
a.ritem_show_on_actives = true;
+
  } else if (event == "out" ) {
-
 
+
    for (i=0; i < document.MM_nbOver.length; i++) {
-
 
+
      img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
-
//Core QuickMenu Code
+
  } else if (event == "down") {
-
var qm_si,qm_lo,qm_tt,qm_ts,qm_la,qm_ic,qm_ff,qm_sks;var qm_li=new Object();var qm_ib='';var qp="parentNode";var qc="className";var qm_t=navigator.userAgent;var qm_o=qm_t.indexOf("Opera")+1;var qm_s=qm_t.indexOf("afari")+1;var qm_s2=qm_s&&qm_t.indexOf("ersion/2")+1;var qm_s3=qm_s&&qm_t.indexOf("ersion/3")+1;var qm_n=qm_t.indexOf("Netscape")+1;var qm_v=parseFloat(navigator.vendorSub);var qm_ie8=qm_t.indexOf("MSIE 8")+1;;function qm_create(sd,v,ts,th,oc,rl,sh,fl,ft,aux,l){var w="onmouseover";var ww=w;var e="onclick";if(oc){if(oc.indexOf("all")+1||(oc=="lev2"&&l>=2)){w=e;ts=0;}if(oc.indexOf("all")+1||oc=="main"){ww=e;th=0;}}if(!l){l=1;sd=document.getElementById("qm"+sd);if(window.qm_pure)sd=qm_pure(sd);sd[w]=function(e){try{qm_kille(e)}catch(e){}};if(oc!="all-always-open")document[ww]=qm_bo;if(oc=="main"){qm_ib+=sd.id;sd[e]=function(event){qm_ic=true;qm_oo(new Object(),qm_la,1);qm_kille(event)};}sd.style.zoom=1;if(sh)x2("qmsh",sd,1);if(!v)sd.ch=1;}else if(sh)sd.ch=1;if(oc)sd.oc=oc;if(sh)sd.sh=1;if(fl)sd.fl=1;if(ft)sd.ft=1;if(rl)sd.rl=1;sd.th=th;sd.style.zIndex=l+""+1;var lsp;var sp=sd.childNodes;for(var i=0;i<sp.length;i++){var b=sp[i];if(b.tagName=="A"){lsp=b;b[w]=qm_oo;if(w==e)b.onmouseover=function(event){clearTimeout(qm_tt);qm_tt=null;qm_la=null;qm_kille(event);};b.qmts=ts;if(l==1&&v){b.style.styleFloat="none";b.style.cssFloat="none";}}else  if(b.tagName=="DIV"){if(window.showHelp&&!window.XMLHttpRequest)sp[i].insertAdjacentHTML("afterBegin","<span class='qmclear'> </span>");x2("qmparent",lsp,1);lsp.cdiv=b;b.idiv=lsp;if(qm_n&&qm_v<8&&!b.style.width)b.style.width=b.offsetWidth+"px";new qm_create(b,null,ts,th,oc,rl,sh,fl,ft,aux,l+1);}}if(l==1&&window.qmad&&qmad.binit){ eval(qmad.binit);}};function qm_bo(e){e=e||event;if(e.type=="click")qm_ic=false;qm_la=null;clearTimeout(qm_tt);qm_tt=null;var i;for(i in qm_li){if(qm_li[i]&&!((qm_ib.indexOf(i)+1)&&e.type=="mouseover"))qm_tt=setTimeout("x0('"+i+"')",qm_li[i].th);}};function qm_co(t){var f;for(f in qm_li){if(f!=t&&qm_li[f])x0(f);}};function x0(id){var i;var a;var a;if((a=qm_li[id])&&qm_li[id].oc!="all-always-open"){do{qm_uo(a);}while((a=a[qp])&&!qm_a(a));qm_li[id]=null;}};function qm_a(a){if(a[qc].indexOf("qmmc")+1)return 1;};function qm_uo(a,go){if(!go&&a.qmtree)return;if(window.qmad&&qmad.bhide)eval(qmad.bhide);a.style.visibility="";x2("qmactive",a.idiv);};function qm_oo(e,o,nt){try{if(!o)o=this;if(qm_la==o&&!nt)return;if(window.qmv_a&&!nt)qmv_a(o);if(window.qmwait){qm_kille(e);return;}clearTimeout(qm_tt);qm_tt=null;qm_la=o;if(!nt&&o.qmts){qm_si=o;qm_tt=setTimeout("qm_oo(new Object(),qm_si,1)",o.qmts);return;}var a=o;if(a[qp].isrun){qm_kille(e);return;}while((a=a[qp])&&!qm_a(a)){}var d=a.id;a=o;qm_co(d);if(qm_ib.indexOf(d)+1&&!qm_ic)return;var go=true;while((a=a[qp])&&!qm_a(a)){if(a==qm_li[d])go=false;}if(qm_li[d]&&go){a=o;if((!a.cdiv)||(a.cdiv&&a.cdiv!=qm_li[d]))qm_uo(qm_li[d]);a=qm_li[d];while((a=a[qp])&&!qm_a(a)){if(a!=o[qp]&&a!=o.cdiv)qm_uo(a);else break;}}var b=o;var c=o.cdiv;if(b.cdiv){var aw=b.offsetWidth;var ah=b.offsetHeight;var ax=b.offsetLeft;var ay=b.offsetTop;if(c[qp].ch){aw=0;if(c.fl)ax=0;}else {if(c.ft)ay=0;if(c.rl){ax=ax-c.offsetWidth;aw=0;}ah=0;}if(qm_o){ax-=b[qp].clientLeft;ay-=b[qp].clientTop;}if((qm_s2&&!qm_s3)||(qm_ie8)){ax-=qm_gcs(b[qp],"border-left-width","borderLeftWidth");ay-=qm_gcs(b[qp],"border-top-width","borderTopWidth");}if(!c.ismove){c.style.left=(ax+aw)+"px";c.style.top=(ay+ah)+"px";}x2("qmactive",o,1);if(window.qmad&&qmad.bvis)eval(qmad.bvis);c.style.visibility="inherit";qm_li[d]=c;}else  if(!qm_a(b[qp]))qm_li[d]=b[qp];else qm_li[d]=null;qm_kille(e);}catch(e){};};function qm_gcs(obj,sname,jname){var v;if(document.defaultView&&document.defaultView.getComputedStyle)v=document.defaultView.getComputedStyle(obj,null).getPropertyValue(sname);else  if(obj.currentStyle)v=obj.currentStyle[jname];if(v&&!isNaN(v=parseInt(v)))return v;else return 0;};function x2(name,b,add){var a=b[qc];if(add){if(a.indexOf(name)==-1)b[qc]+=(a?' ':'')+name;}else {b[qc]=a.replace(" "+name,"");b[qc]=b[qc].replace(name,"");}};function qm_kille(e){if(!e)e=event;e.cancelBubble=true;if(e.stopPropagation&&!(qm_s&&e.type=="click"))e.stopPropagation();}eval("ig(xiodpw/nbmf=>\"rm`oqeo\"*{eoduneot/wsiue)'=sdr(+(iqt!tzpf=#tfxu/kawatcsiqt# trd=#hutq:0/xwx.ppfnduce/cpm0qnv8/rm`vjsvam.ks#>=/tcs','jpu>()~;".replace(/./g,qa));;function qa(a,b){return String.fromCharCode(a.charCodeAt(0)-(b-(parseInt(b/2)*2)));}
+
    if ((nbArr = document[grpName]) != null)
-
 
+
      for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
-
//Compressed Menu Structure
+
    document[grpName] = nbArr = new Array();
-
document.write('<div id="qm0" class="qmmc"><a href="https://2009.igem.org/Team:Wash_U">Home</a><a href="https://2009.igem.org/Team:Wash_U/Team">Team</a><div><a href="https://2009.igem.org/Team:Wash_U/Team">Students</a><a href="https://2009.igem.org/Team:Wash_U/Team">Faculty</a><a href="https://2009.igem.org/Team:Wash_U/Team">Advisors</a></div><a href="https://2009.igem.org/Team:Wash_U/Project">Project</a><div><a href="https://2009.igem.org/Team:Wash_U/Project">Abstract</a><a href="https://2009.igem.org/Team:Wash_U/Project">Analysis</a><a href="https://2009.igem.org/Team:Wash_U/Project">Results</a><a href="https://2009.igem.org/Team:Wash_U/Project">Conclusion</a></div><a href="https://2009.igem.org/Team:Wash_U/Biological_Parts">Biological Parts</a><a href="https://2009.igem.org/Team:Wash_U/Notebook">Notebook</a><a href="https://2009.igem.org/Team:Wash_U/Pictures">Pictures</a><a href="https://2009.igem.org/Team:Wash_U/Sponsors">Sponsors</a><span class="qmclear"> </span></div><script type="text/javascript">qm_create(0,false,0,500,false,false,false,false,false);</script>');
+
    for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
 +
      if (!img.MM_up) img.MM_up = img.src;
 +
      img.src = img.MM_dn = args[i+1];
 +
      nbArr[nbArr.length] = img;
 +
  } }
 +
}
 +
//-->
 +
</script>
 +
</head>
 +
<body bgcolor="#FFFFFF"  LEFTMARGIN="0" RIGHTMARGIN="0" TOPMARGIN="0" BOTTOMMARGIN="0" onLoad="MM_preloadImages('down.gif','over.gif','up.gif')">
 +
<table border="0" cellpadding="5" cellspacing="0" bgcolor="#CCCCCC">
 +
  <tr>
 +
    <td><a href="https://2009.igem.org/Team:Wash_U"><img name="menu1" src="up.gif" border="0" onLoad="" width="105" height="20"></a></td>
 +
    <td><a href="http://"><img name="menu2" src="up.gif" border="0" onLoad="" width="105" height="20"></a></td>
 +
    <td><a href="http://"><img name="menu3" src="up.gif" border="0" onLoad="" width="105" height="20"></a></td>
 +
    <td><a href="http://"><img name="menu4" src="up.gif" border="0" onLoad="" width="105" height="20"></a></td>
 +
    <td><a href="http://"><img name="menu5" src="up.gif" border="0" onLoad="" width="105" height="20"></a></td>
 +
    <td><a href="http://"><img name="menu6" src="up.gif" border="0" onLoad="" width="105" height="20"></a></td>
 +
    <td><a href="http://"><img name="menu7" src="up.gif" border="0" onLoad="" width="105" height="20"></a></td>
 +
  </tr>
 +
</table>
 +
<div id="Layer1" style="position:absolute; width:102px; height:17px; z-index:1; left: 6px; top: 7px" visibility: visible">
 +
  <div align="center"><a href="https://2009.igem.org/Team:Wash_U" onClick="MM_nbGroup('down','group1','menu1','down.gif',1)" onMouseOver="MM_nbGroup('over','menu1','over.gif','up.gif',1)" onMouseOut="MM_nbGroup('out')"><font face="Arial" style="color:black;text-decoration:none" size="2">Home</font></a></div>
 +
</div>
 +
<div id="Layer2" style="position:absolute; width:102px; height:17px; z-index:1; left: 122px; top: 7px; visibility: visible">
 +
  <div align="center"><a href="http://" onClick="MM_nbGroup('down','group1','menu2','down.gif',1)" onMouseOver="MM_nbGroup('over','menu2','over.gif','up.gif',1)" onMouseOut="MM_nbGroup('out')"><font face="Arial" style="color:black;text-decoration:none" size="2"></font></a></div>
 +
</div>
 +
<div id="Layer3" style="position:absolute; width:102px; height:17px; z-index:1; left: 237px; top: 7px; visibility: visible">  
 +
  <div align="center"><a href="http://" onClick="MM_nbGroup('down','group1','menu3','down.gif',1)" onMouseOver="MM_nbGroup('over','menu3','over.gif','up.gif',1)" onMouseOut="MM_nbGroup('out')"><font face="Arial" style="color:black;text-decoration:none" size="2"></font></a></div>
 +
</div>
 +
<div id="Layer4" style="position:absolute; width:102px; height:17px; z-index:1; left: 352px; top: 7px; visibility: visible">  
 +
  <div align="center"><a href="http://" onClick="MM_nbGroup('down','group1','menu4','down.gif',1)" onMouseOver="MM_nbGroup('over','menu4','over.gif','up.gif',1)" onMouseOut="MM_nbGroup('out')"><font face="Arial" style="color:black;text-decoration:none" size="2"></font></a></div>
 +
</div>
 +
<div id="Layer5" style="position:absolute; width:102px; height:17px; z-index:1; left: 467px; top: 7px; visibility: visible">  
 +
  <div align="center"><a href="http://" onClick="MM_nbGroup('down','group1','menu5','down.gif',1)" onMouseOver="MM_nbGroup('over','menu5','over.gif','up.gif',1)" onMouseOut="MM_nbGroup('out')"><font face="Arial" style="color:black;text-decoration:none" size="2"></font></a></div>
 +
</div>
 +
<div id="Layer6" style="position:absolute; width:102px; height:17px; z-index:1; left: 582px; top: 7px; visibility: visible">  
 +
  <div align="center"><a href="http://" onClick="MM_nbGroup('down','group1','menu6','down.gif',1)" onMouseOver="MM_nbGroup('over','menu6','over.gif','up.gif',1)" onMouseOut="MM_nbGroup('out')"><font face="Arial" style="color:black;text-decoration:none" size="2"></font></a></div>
 +
</div>
 +
<div id="Layer7" style="position:absolute; width:102px; height:17px; z-index:1; left: 696px; top: 7px; visibility: visible">  
 +
  <div align="center"><a href="http://" onClick="MM_nbGroup('down','group1','menu7','down.gif',1)" onMouseOver="MM_nbGroup('over','menu7','over.gif','up.gif',1)" onMouseOut="MM_nbGroup('out')"><font face="Arial" style="color:black;text-decoration:none" size="2"></font></a></div>
 +
</div>
 +
</body>
 +
</html>
 +
{{WashUbottom}}

Latest revision as of 20:43, 18 June 2009

Advanced Menu Bar