Team:UT Dallas/Project2
From 2012.igem.org
(Difference between revisions)
Line 9: | Line 9: | ||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script> | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.2/jquery-ui.min.js"></script> | ||
<script type='text/javascript' src='https://2012.igem.org/Team:UT_Dallas/script.js?action=raw&ctype=text/javascript'></script> | <script type='text/javascript' src='https://2012.igem.org/Team:UT_Dallas/script.js?action=raw&ctype=text/javascript'></script> | ||
- | < | + | <script type="text/javascript"> |
- | + | var prev_fname=""; | |
+ | function show_project_info(fname) | ||
+ | { | ||
+ | if(prev_fname!=fname) | ||
+ | { | ||
+ | $('#st_right').fadeOut("slow", function (){ | ||
+ | $.get("https://2012.igem.org/Team:UT_Dallas/"+fname+"?action=raw&ctype=text/x-wiki", function(data) { | ||
+ | $('#st_right').html(data); | ||
+ | $('#st_right').fadeIn("slow"); | ||
+ | }); | ||
+ | }); | ||
+ | prev_fname=fname; | ||
+ | } | ||
+ | } | ||
+ | |||
$(document).ready(function(){ colorize_menu('project');}); | $(document).ready(function(){ colorize_menu('project');}); | ||
</script> | </script> | ||
+ | <link href="https://2012.igem.org/Team:UT_Dallas/test/page.css?action=raw&ctype=text/css" rel="stylesheet"> | ||
</html> | </html> | ||
<div id='top_box'> | <div id='top_box'> | ||
Line 18: | Line 33: | ||
</div> | </div> | ||
<div id='middle_box'> | <div id='middle_box'> | ||
- | <div id='st_1'><h2 class='title'> | + | <div id='st_1'><h2 class='title'>Oscillator</h2> |
- | + | write some text here or not | |
</div> | </div> | ||
- | <table class="t1" cellspacing="0" cellpadding="0 | + | <div id='st_2'> |
- | <tr | + | <table class="t1" cellspacing="0" cellpadding="0"> |
- | + | <tr> | |
- | < | + | <td id='st_left' valign='top'> |
- | < | + | <ul style='list-style: none outside none;'> |
- | + | <li class='st_list' onclick="show_project_info('toggle_switch')">Oscillator</li> | |
- | < | + | <li class='st_list' onclick="show_project_info('toggle_switch_design')">Design</li> |
- | < | + | <li class='st_list' onclick="show_project_info('toggle_switch_results')">Data/Results</li> |
- | + | <li class='st_list' onclick="show_project_info('toggle_switch_biobricks')">Biobricks</li> | |
+ | <li class='st_list' onclick="show_project_info('toggle_switch_future_dir')">Future Direction</li> | ||
+ | </ul> | ||
+ | |||
+ | </td> | ||
+ | <td id='st_right' valign='top'>right</td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
+ | </div> | ||
</div> | </div> | ||
</html> | </html> |
Revision as of 22:16, 29 September 2012
Oscillator
write some text here or not
|
right |