Team:Kyoto/Human Practice/Lectures
From 2011.igem.org
(Difference between revisions)
(→Human Practice Lecture) |
|||
Line 48: | Line 48: | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
<style type="text/css"> | <style type="text/css"> | ||
#backpanel { | #backpanel { | ||
Line 118: | Line 87: | ||
} | } | ||
</style> | </style> | ||
+ | <script src="http://code.jquery.com/jquery-latest.js"></script> | ||
+ | <script type="text/javascript"> | ||
+ | var x_0 = 0; | ||
+ | var x_max = 0; | ||
+ | |||
+ | function init_album() { | ||
+ | var parent = $("#album_base"); | ||
+ | var children = $("#album_base").children(); | ||
+ | x_max = (children.length-1) * children.outerWidth(); | ||
+ | parent.css("width",x_max+children.outerWidth()); | ||
+ | } | ||
+ | |||
+ | function prev() { | ||
+ | var base = $("#album_base"); | ||
+ | if (base.position().left >= x_0) return; | ||
+ | var panel = base.children(); | ||
+ | base.animate({ | ||
+ | "left" : base.position().left+panel.outerWidth() | ||
+ | },500,function(){}); | ||
+ | } | ||
+ | |||
+ | function next() { | ||
+ | var base = $("#album_base"); | ||
+ | if (base.position().left <= -x_max) return; | ||
+ | var panel = base.children(); | ||
+ | base.animate({ | ||
+ | "left" : base.position().left-panel.outerWidth() | ||
+ | },500,function(){}); | ||
+ | } | ||
+ | init_album(); | ||
+ | </script> | ||
</html> | </html> | ||
[[file:toudai-ji1.jpg|350px]] | [[file:toudai-ji1.jpg|350px]] |
Revision as of 15:34, 5 October 2011
Human Practice Lecture
We went to four high school and ELCAS, a special course of science aimed at high school students.
All Lectures were big successes.
We used these slides in order to teach synthetic biology.