Team:Korea U Seoul/template/contents
From 2013.igem.org
(Difference between revisions)
Line 68: | Line 68: | ||
if (icon == 'idea') { | if (icon == 'idea') { | ||
document.getElementById('mainContents').innerHTML = "<p>아이젬</p>"; | document.getElementById('mainContents').innerHTML = "<p>아이젬</p>"; | ||
+ | document.getElementById('mainContents').style.background = "#96bfe6"; | ||
} else if (icon == 'team') { | } else if (icon == 'team') { | ||
document.getElementById('mainContents').innerHTML = "<p>아이젬1</p>"; | document.getElementById('mainContents').innerHTML = "<p>아이젬1</p>"; | ||
+ | document.getElementById('mainContents').style.background = "#fdc071"; | ||
} else if (icon == 'proto') { | } else if (icon == 'proto') { | ||
document.getElementById('mainContents').innerHTML = "<p>아이젬2</p>"; | document.getElementById('mainContents').innerHTML = "<p>아이젬2</p>"; | ||
+ | document.getElementById('mainContents').style.background = "#f69d9f"; | ||
} else if (icon == 'nac') { | } else if (icon == 'nac') { | ||
document.getElementById('mainContents').innerHTML = "<p>아이젬3</p>"; | document.getElementById('mainContents').innerHTML = "<p>아이젬3</p>"; | ||
+ | document.getElementById('mainContents').style.background = "#a6d172"; | ||
} else if (icon == 'micro') { | } else if (icon == 'micro') { | ||
document.getElementById('mainContents').innerHTML = "<p>아이젬4</p>"; | document.getElementById('mainContents').innerHTML = "<p>아이젬4</p>"; | ||
+ | document.getElementById('mainContents').style.background = "#fdee81"; | ||
} else if (icon == 'app') { | } else if (icon == 'app') { | ||
document.getElementById('mainContents').innerHTML = "<p>아이젬5</p>"; | document.getElementById('mainContents').innerHTML = "<p>아이젬5</p>"; | ||
+ | document.getElementById('mainContents').style.background = "#fdc071"; | ||
} else if (icon == 'hp') { | } else if (icon == 'hp') { | ||
document.getElementById('mainContents').innerHTML = "<p>아이젬6</p>"; | document.getElementById('mainContents').innerHTML = "<p>아이젬6</p>"; | ||
+ | document.getElementById('mainContents').style.background = "#c3b0d5"; | ||
} | } | ||
obj.src = "https://static.igem.org/mediawiki/2013/" + img; | obj.src = "https://static.igem.org/mediawiki/2013/" + img; | ||
Line 95: | Line 102: | ||
</div> | </div> | ||
<div id="content_contents"> | <div id="content_contents"> | ||
- | <div class="inner_content onlyContent"> | + | <div class="inner_content onlyContent" style="border:0px;"> |
- | <div class="gridWrapper_2 onlyContent"> | + | <div class="gridWrapper_2 onlyContent" style="border:0px;"> |
- | <div class="grid_content onlyContent"> | + | <div class="grid_content onlyContent" style="border:0px;"> |
<table class="metro_t" cellpadding="0" cellspacing="0" width="100%;"> | <table class="metro_t" cellpadding="0" cellspacing="0" width="100%;"> | ||
<tr> | <tr> | ||
Line 114: | Line 121: | ||
</table> | </table> | ||
</div> | </div> | ||
- | <div class="grid_content onlyContent"> | + | <div class="grid_content onlyContent" style="border:0px;"> |
- | <div id="mainContents" class="index_right onlyContent"> | + | <div id="mainContents" class="index_right onlyContent" style="height:362px; background: green; margin: 2px; padding:2px; border-radius:10px; border:0px;"> |
<p>Image ______</p> | <p>Image ______</p> | ||
<p> | <p> |
Revision as of 15:16, 27 September 2013
Slider Module
Image ______
How does the gHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does thHow does th