Team:CBNU-Korea/test
From 2012.igem.org
(Difference between revisions)
Line 282: | Line 282: | ||
#CB_sub_main { | #CB_sub_main { | ||
- | width: | + | width: 100%; |
- | + | ||
} | } | ||
#CB_sub_menu { | #CB_sub_menu { | ||
- | width: | + | width: 100%; |
- | + | ||
border-top: 1px dotted #41C7BC; | border-top: 1px dotted #41C7BC; | ||
padding-top: 10px; | padding-top: 10px; | ||
Line 582: | Line 580: | ||
'https://static.igem.org/mediawiki/2012/1/12/CBK_NC_006449_before.png' ] | 'https://static.igem.org/mediawiki/2012/1/12/CBK_NC_006449_before.png' ] | ||
$(function() { | $(function() { | ||
- | $('#CB_select').change(function(event) { | + | $('#CB_select').change( |
- | + | function(event) { | |
- | + | var i = document.getElementById("CB_select").selectedIndex; | |
- | + | var imgSrc = array[i]; | |
- | + | $('#CB_sub_chart_1').css("background-image", | |
- | + | "url(" + imgSrc + ")"); | |
+ | $('#CB_sub_chart_2').css("background-image", | ||
+ | "url(" + imgSrc + ")"); | ||
+ | }).change(); | ||
}); | }); | ||
</script> | </script> | ||
Line 632: | Line 633: | ||
</div> | </div> | ||
<div id="CB_sub_menu"> | <div id="CB_sub_menu"> | ||
- | <ul> | + | <div id="CB_sub_mobile_menu" style="height: 20px; cursor: pointer;">??</div> |
+ | <ul class="CBUL"> | ||
<li class="li_Safety"><a href="#">01 + Safety</a></li> | <li class="li_Safety"><a href="#">01 + Safety</a></li> | ||
</ul> | </ul> |
Revision as of 23:13, 26 September 2012