Team:Hong Kong-CUHK/Human practice/talks
From 2011.igem.org
(Difference between revisions)
Line 21: | Line 21: | ||
<div class="span-17 last" id="human-practice"> | <div class="span-17 last" id="human-practice"> | ||
- | <ul class="nav-list" id=" | + | <ul class="nav-list" id="talk-list"> |
- | <li><a id="shho">SHHO college general education forum</a></li> | + | <li><a class="selected" id="shho">SHHO college general education forum</a></li> |
<li><a id="high school">High School talk</a></li> | <li><a id="high school">High School talk</a></li> | ||
</ul> | </ul> | ||
+ | <div id="human-target"> | ||
+ | </div> | ||
+ | <div style="display:none;"> | ||
<div id="shho"> | <div id="shho"> | ||
<object width='640' height='385'><param name='movie' value='https://video.google.com/get_player?docid=0B9sQCbz4xookNTJiMTYzZGEtODI2MC00MWQwLWJiYTMtNDk5ZDE4MTNjYjNj&ps=docs&partnerid=30'></param><param name='allowFullScreen' value='true'></param><param name='allowScriptAccess' value='always'></param><embed src='https://video.google.com/get_player?docid=0B9sQCbz4xookNTJiMTYzZGEtODI2MC00MWQwLWJiYTMtNDk5ZDE4MTNjYjNj&ps=docs&partnerid=30' type='application/x-shockwave-flash' allowfullscreen='true' allowScriptAccess='always' width='640' height='385'></embed></object> | <object width='640' height='385'><param name='movie' value='https://video.google.com/get_player?docid=0B9sQCbz4xookNTJiMTYzZGEtODI2MC00MWQwLWJiYTMtNDk5ZDE4MTNjYjNj&ps=docs&partnerid=30'></param><param name='allowFullScreen' value='true'></param><param name='allowScriptAccess' value='always'></param><embed src='https://video.google.com/get_player?docid=0B9sQCbz4xookNTJiMTYzZGEtODI2MC00MWQwLWJiYTMtNDk5ZDE4MTNjYjNj&ps=docs&partnerid=30' type='application/x-shockwave-flash' allowfullscreen='true' allowScriptAccess='always' width='640' height='385'></embed></object> | ||
Line 32: | Line 35: | ||
</div> | </div> | ||
<div id="high school"> | <div id="high school"> | ||
+ | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
</div> | </div> | ||
+ | <script type="text/javascript"> | ||
+ | $('ul#talk-list li a').click(function() { | ||
+ | $("div#human-target").html($('div#'+$(this).attr('id')).html()); | ||
+ | }); | ||
+ | |||
+ | $('ul.nav-list a').click(function() { | ||
+ | $('.selected').attr('class', ''); | ||
+ | var tmp = $(this).css('margin-left'); | ||
+ | $(this).attr('class', 'selected'); | ||
+ | $(this).css('margin-left', tmp); | ||
+ | }); | ||
+ | </script> | ||
</html> | </html> | ||
{{Template:Team:Hong_Kong-CUHK/TEMPLATE_2011_FOOT}} | {{Template:Team:Hong_Kong-CUHK/TEMPLATE_2011_FOOT}} |
Revision as of 10:21, 5 October 2011
"Creativity is thinking up new things. Innovation is doing new things." - Theodore Levitt
©Copyright CUHK IGEM Team 2011