Team:CBNU-Korea/test

From 2012.igem.org

(Difference between revisions)
Line 282: Line 282:
#CB_sub_main {
#CB_sub_main {
-
width: 70%;
+
width: 100%;
-
float: right;
+
}
}
#CB_sub_menu {
#CB_sub_menu {
-
width: 28%;
+
width: 100%;
-
float: left;
+
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(
-
var i = document.getElementById("CB_select").selectedIndex;
+
function(event) {
-
var imgSrc = array[i];
+
var i = document.getElementById("CB_select").selectedIndex;
-
$('#CB_sub_chart_1').css("background-image", "url("+imgSrc+")");
+
var imgSrc = array[i];
-
$('#CB_sub_chart_2').css("background-image", "url("+imgSrc+")");
+
$('#CB_sub_chart_1').css("background-image",
-
}).change();
+
"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

SAFETY

- Safety