Team:Tokyo Tech/Policy and Practice

From 2014.igem.org

(Difference between revisions)
Line 7: Line 7:
<link rel="stylesheet" href="https://2014.igem.org/Team:Tokyo_Tech/style.css?action=raw&ctype=text/css" type="text/css" media="screen"/>
<link rel="stylesheet" href="https://2014.igem.org/Team:Tokyo_Tech/style.css?action=raw&ctype=text/css" type="text/css" media="screen"/>
-
<script language="Javascript">
+
<script type="text/JavaScript">
<!--
<!--
-
function ShowPicture(id,Source) {
+
function MM_findObj(n, d) { //v4.01
-
if (Source=="1"){
+
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
-
if (document.layers) document.layers[''+id+''].visibility = "show"
+
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
-
else if (document.all) document.all[''+id+''].style.visibility = "visible"
+
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
-
else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "visible"
+
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
-
}
+
  if(!x && d.getElementById) x=d.getElementById(n); return x;
-
else
+
-
if (Source=="0"){
+
-
if (document.layers) document.layers[''+id+''].visibility = "hide"
+
-
else if (document.all) document.all[''+id+''].style.visibility = "hidden"
+
-
else if (document.getElementById) document.getElementById(''+id+'').style.visibility = "hidden"
+
}
}
 +
 +
function MM_showHideLayers() { //v6.0
 +
  var i,p,v,obj,args=MM_showHideLayers.arguments;
 +
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
 +
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
 +
    obj.visibility=v; }
}
}
//-->
//-->
Line 76: Line 77:
       
       
              <p align="center" class="title-small">Content</p>
              <p align="center" class="title-small">Content</p>
-
              <p align="left" class="info-24"><a href="#" onMouseOver="ShowPicture('style',1)" onMouseOut="ShowPicture('style',0)">1. Introduction</a></p>
+
              <p align="left" class="info-24"><a href="#" onmouseover="MM_showHideLayers('Style1','','show')" onmouseout="MM_showHideLayers('Style1','','hide')">1. Introduction</a></p>
-
              <p align="left" class="info-24"><a href="#">2. Poster Session at Tokyo University</a></p>
+
              <p align="left" class="info-24"><a href="#" onmouseover="MM_showHideLayers('Style2','','show')" onmouseout="MM_showHideLayers('Style2','','hide')">2. Poster Session at Tokyo University</a></p>
              <p align="left" class="info-24"><a href="#">3. Interview on Science Magazine &quot;Newton&quot;</a></p>
              <p align="left" class="info-24"><a href="#">3. Interview on Science Magazine &quot;Newton&quot;</a></p>
              <p align="left" class="info-24"><a href="#">4. Muse Talk </a></p>
              <p align="left" class="info-24"><a href="#">4. Muse Talk </a></p>

Revision as of 10:37, 11 September 2014

Tokyo_Tech