Team:Osaka
From 2009.igem.org
(Difference between revisions)
KazutoIKEDA (Talk | contribs) |
KazutoIKEDA (Talk | contribs) |
||
Line 30: | Line 30: | ||
//--> | //--> | ||
</script> | </script> | ||
+ | |||
+ | <script language="JavaScript"> | ||
+ | <!-- | ||
+ | function openMenu(n) { //リストを開く | ||
+ | closeMenu() //表示中のリストを閉じる | ||
+ | if(n == 1) { //リスト1を開く | ||
+ | exp1.style.display = "block"; | ||
+ | } | ||
+ | else if(n == 2) { //リスト2を開く | ||
+ | exp2.style.display = "block"; | ||
+ | } | ||
+ | else if(n == 3) { //リスト3を開く | ||
+ | exp3.style.display = "block"; | ||
+ | } | ||
+ | } | ||
+ | function closeMenu() { //リストを閉じる | ||
+ | exp1.style.display = "none"; | ||
+ | exp2.style.display = "none"; | ||
+ | exp3.style.display = "none"; | ||
+ | } | ||
+ | //--> | ||
+ | </script> | ||
+ | <style type="text/css"> | ||
+ | <!-- | ||
+ | #exp1 { | ||
+ | top: 200; /* 表示位置 */ | ||
+ | left: 100; | ||
+ | } | ||
+ | #exp2 { | ||
+ | top: 200; /* 表示位置 */ | ||
+ | left: 200; | ||
+ | } | ||
+ | #exp3 { | ||
+ | top: 0; /* 表示位置 */ | ||
+ | left: 500; | ||
+ | } | ||
+ | #exp1, #exp2, #exp3 { | ||
+ | height: 100px; | ||
+ | width: 100px; | ||
+ | margin-left: auto; | ||
+ | margin-right: auto; | ||
+ | background-color: #fff; | ||
+ | display: none; | ||
+ | } | ||
+ | //--> | ||
+ | </style> | ||
<!--[if lte IE 6]> | <!--[if lte IE 6]> | ||
Line 52: | Line 98: | ||
<tr> | <tr> | ||
<td valign="top" align="center" style="margin: 0; padding: 0;"> | <td valign="top" align="center" style="margin: 0; padding: 0;"> | ||
- | <a href="/Team:Osaka/COLOR" onMouseover="document.ia.src='https://static.igem.org/mediawiki/2009/a/ae/Bcicon_l10.png'" onMouseout="document.ia.src='https://static.igem.org/mediawiki/2009/e/e7/Bgicon_l10.png'"> | + | <a href="/Team:Osaka/COLOR" onMouseover="document.ia.src='https://static.igem.org/mediawiki/2009/a/ae/Bcicon_l10.png' openMenu(1)" onMouseout="document.ia.src='https://static.igem.org/mediawiki/2009/e/e7/Bgicon_l10.png' closeMenu()"> |
<img src="https://static.igem.org/mediawiki/2009/e/e7/Bgicon_l10.png" name="ia"></a> | <img src="https://static.igem.org/mediawiki/2009/e/e7/Bgicon_l10.png" name="ia"></a> | ||
+ | <div id="exp1" onMouseover="openMenu(1)" onMouseout="closeMenu()"> | ||
+ | </div> | ||
<!--<span class="row1">text text text text text text text<br>text text text text text text text<br>text text text text text text text</span>--> | <!--<span class="row1">text text text text text text text<br>text text text text text text text<br>text text text text text text text</span>--> | ||
<!--<a href="/Team:Osaka/COLOR" onMouseover="IntervarID=setInterval('changeimagec1()',1000)" onMouseout="stopc1()">--> | <!--<a href="/Team:Osaka/COLOR" onMouseover="IntervarID=setInterval('changeimagec1()',1000)" onMouseout="stopc1()">--> |
Revision as of 00:39, 4 October 2009