From 2011.igem.org
(Difference between revisions)
|
|
Line 5: |
Line 5: |
| <style type="text/css"> | | <style type="text/css"> |
| | | |
- | #TagHome{
| |
- | position: absolute;
| |
- | font-family:Bell MT;
| |
- | font-size:12pt;
| |
- | left:10px;
| |
- | top:-30px;
| |
- | }
| |
- |
| |
- | #TagProjects{
| |
- | position: absolute;
| |
- | font-family:Bell MT;
| |
- | font-size:12pt;
| |
- | left:70px;
| |
- | top:-30px;
| |
- | }
| |
- |
| |
- | #TagOverview{
| |
- | position: absolute;
| |
- | font-family:Bell MT;
| |
- | font-size:12pt;
| |
- | left:200px;
| |
- | top:-30px;
| |
- | }
| |
| </style> | | </style> |
| </head> | | </head> |
| <body> | | <body> |
| | | |
- | <!--Javascript used to implement the gallery--> | + | <!--Tag Body--> |
- | <style type="text/javascript"> | + | <div> |
- | | + | <a href="https://2011.igem.org/Team:KAIST-Korea/Human_Practices/Human_Practices"><img id="tag2" src="https://static.igem.org/mediawiki/2011/2/26/Kaist2011_text_humanpractices.png" /> |
- | bg = new Array();
| + | </a> |
- | bg[0] = "http://unn.campuslife.co.kr/file/Media/News/Gisa/20107/14/image/2010714105315.jpg"
| + | <a><img id="tag3" src="https://static.igem.org/mediawiki/2011/4/48/Kaist2011_text_safety.png" /> |
- | bg[1] = "http://cfs6.tistory.com/image/4/tistory/2008/03/31/03/56/47efe2470b38f"
| + | </a> |
- | bg[2] = "http://news.chosun.com/site/data/img_dir/2007/12/14/2007121401109_0.jpg"
| + | </div> |
- | | + | |
- | function changeBackground(jihan)
| + | |
- | {
| + | |
- | if(document.body)
| + | |
- | {
| + | |
- | document.body.background = bg[jihan];
| + | |
- | }
| + | |
- | }
| + | |
- | </script> | + | |
- | | + | |
- | | + | |
- | | + | |
- | | + | |
| </body> | | </body> |
- |
| |
- | <img border="1" onclick="changeBackground(0)" src="http://imgnews.jknews.co.kr/photo/2009/09/24/20090924_12537820151.jpg" width="25" height="25";>
| |
- | <img border="1" onclick="changeBackground(1)" src="http://cfs6.tistory.com/image/4/tistory/2008/03/31/03/56/47efe2470b38f" width="25" height="25";>
| |
- | <img border="1" onclick="changeBackground(2)" src="http://news.chosun.com/site/data/img_dir/2007/12/14/2007121401109_0.jpg" width="25" height="25";>
| |
- |
| |
- |
| |
| </html> | | </html> |
Revision as of 15:14, 12 August 2011