Team:CBNU-Korea/test
From 2012.igem.org
(Difference between revisions)
(Created page with "<html> <head> <link href='http://fonts.googleapis.com/css?family=Droid+Sans' rel='stylesheet' type='text/css'> <link href='http://fonts.googleapis.com/css?family=Francois+One' ...") |
|||
Line 557: | Line 557: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | + | $(function() { | |
- | $(function(){ | + | $('#select').change(function(event) { |
- | + | var imgSrc = $(event.target).val(); | |
- | }); | + | $('#img_test').attr('src', imgSrc); |
- | + | }).change(); | |
- | + | }); | |
</script> | </script> | ||
Line 613: | Line 613: | ||
<div id="CB_sub_main"> | <div id="CB_sub_main"> | ||
<div id="CB_sub_img"> | <div id="CB_sub_img"> | ||
- | + | <img id="img_test" width="100px" height="100px"> | |
</div> | </div> | ||
<div id="CB_sub_cont"> | <div id="CB_sub_cont"> | ||
- | + | ||
- | + | <select id="CB_select"> | |
- | + | <option | |
- | + | value="https://static.igem.org/mediawiki/2012/4/4b/CBK_NC_017040_before.png">Streptococcus | |
- | + | pyogenes MGAS15252</option> | |
- | + | <option | |
+ | value="https://static.igem.org/mediawiki/2012/f/f6/CBK_NC_017040_after.png">Streptococcus | ||
+ | pyogenes MGAS15252_2</option> | ||
+ | </select> | ||
+ | |||
</div> | </div> | ||
</div> | </div> |
Revision as of 12:14, 26 September 2012