Team:CBNU-Korea/test

From 2012.igem.org

(Difference between revisions)
Line 351: Line 351:
#CB_sub_cont {
#CB_sub_cont {
 +
}
 +
 +
#CB_sub_chart_1 {
 +
width: 48%;
 +
height: 300px;
 +
float: left;
 +
border: 1px dotted #DFDFDF;
 +
}
 +
 +
#CB_sub_chart_2 {
 +
width: 48%;
 +
height: 300px;
 +
float: right;
 +
border: 1px dotted #DFDFDF;
}
}
Line 564: Line 578:
var i = document.getElementById("CB_select").selectedIndex;
var i = document.getElementById("CB_select").selectedIndex;
var imgSrc = array[i];
var imgSrc = array[i];
-
$('#img_test').attr('src', imgSrc);
+
$('#CB_sub_chart_1').css("background-image", "url("+imgSrc+")");
 +
$('#CB_sub_chart_2').css("background-image", "url("+imgSrc+")");
}).change();
}).change();
});
});

Revision as of 12:53, 26 September 2012

SAFETY

- Safety