Team:SUSTC-Shenzhen-A

From 2013.igem.org

(Difference between revisions)
 
(75 intermediate revisions not shown)
Line 1: Line 1:
-
[[File:prisonersdilemma1.jpg]]
+
<html>
-
{| style="color:#ff9900;background-color:#ffffff;" cellpadding="3" cellspacing="0" border="0" bordercolor="#000000" width="100%" align="center"
+
<head>
-
!align="center"|[[Team:SUSTC-Shenzhen-A|Home]]
+
  <meta charset="utf-8" />
-
!align="center"|[[Team:SUSTC-Shenzhen-A/Team|Team]]
+
  <meta name="description" content="" />
-
!align="center"|[https://igem.org/Team.cgi?year=2013&team_name=SUSTC-Shenzhen-A Official Team Profile]
+
  <meta name="author" content="tengattack" />
-
!align="center"|[[Team:SUSTC-Shenzhen-A/Project|Project]]
+
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
-
!align="center"|[[Team:SUSTC-Shenzhen-A/Parts|Parts Submitted to the Registry]]
+
  <title>ShenZhen-A</title>
-
!align="center"|[[Team:SUSTC-Shenzhen-A/Modeling|Modeling]]
+
-
!align="center"|[[Team:SUSTC-Shenzhen-A/Notebook|Protocol and notes]]
+
-
!align="center"|[[Team:SUSTC-Shenzhen-A/Safety|Safety]]
+
-
!align="center"|[[Team:SUSTC-Shenzhen-A/Attributions|Attributions]]
+
-
!align="center"|[[Team:SUSTC-Shenzhen-A/Human Practice|Human Practice]]
+
-
|}
+
  <style type="text/css">
-
<HR style="border:3 double #ff9900" width="100%" color=#ff9900 SIZE=3>
+
    #globalWrapper {width: 100%;font-size: 100%;}
 +
    #top-section {width: 100%; height:100%; border:none;}
 +
    #p-logo {display:none;}
 +
    #search-controls {display:none;}
 +
    .printfooter {display:none;}
 +
    #footer-box {border:none;}
 +
    .firstHeading {display:none;}
 +
    #content { border:none !important; width:1024px !important; background: url('') !important;}
 +
    #bodyContent {border:none;}
 +
    #catlinks {display:none;}
 +
    #footer-box {display:none;}
 +
    #menubar {display:none;}
 +
    body {
 +
      padding: 0;
 +
    }
 +
  </style>
-
== Welcome~ ==
+
  <script type="text/javascript">
-
<br>
+
    function insertcss(cssString) {
 +
      var doc = document;
 +
      var style = doc.createElement("style");
 +
      style.setAttribute("type", "text/css");
 +
      if (style.styleSheet) {// IE
 +
        style.styleSheet.cssText = cssString;
 +
      } else {// w3c
 +
        var cssText = doc.createTextNode(cssString);
 +
        style.appendChild(cssText);
 +
      }
 +
      var heads = doc.getElementsByTagName("head");
 +
      if (heads.length)
 +
        heads[0].appendChild(style);
 +
      else
 +
        doc.documentElement.appendChild(style);
 +
    }
-
[[File:welcome3.jpg]][[File:welcome3.jpg]]
+
    function loadjs(jsString) {
-
<b><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;This is SUSTC-Shenzhen-A.</p>
+
      eval(jsString);
-
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;We are sophomores from South University of Science and Technology of China (SUSTC).</p>
+
    }
-
<p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Our main project is about quorum sensing . </p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;You can get more information about our project by clicking other pages. </b>
+
 
-
<br>
+
    function png2text(pngurl, id, callback) {
-
<br>
+
      var canvas = document.createElement("canvas"),
-
<br>
+
      ctx = canvas.getContext("2d");
-
<br>
+
      img = new Image();
-
<br>
+
 
-
<br>
+
      img.id = 'pt-' + id;
-
<br>
+
      img.style.position = "absolute";
-
<br>
+
      img.style.left = "-10000px";
-
<br>
+
      document.body.appendChild(img);
-
<br>
+
 
-
<br>
+
      img.onload = function() {
-
<br>
+
        var
 +
          w = this.width,
 +
          h = this.height;
 +
 +
        canvas.width = w;
 +
        canvas.height = h;
 +
        canvas.style.width = w+"px";
 +
        canvas.style.height = h+"px";
 +
 
 +
        ctx.drawImage(this, 0, 0);
 +
 +
        var data = ctx.getImageData(0, 0, w, h).data,
 +
          a = [],
 +
          len = data.length,
 +
          p = -1;
 +
       
 +
        for (var i=0; i < len; i += 4) {
 +
          if (data[i] > 0)
 +
            a[++p] = String.fromCharCode(data[i]);
 +
        };
 +
 
 +
        canvas = undefined;
 +
        try {
 +
          //document.body.removeChild(img);
 +
          $('#pt-' + id).remove();
 +
        } catch (e) {
 +
        }
 +
 
 +
        if (callback) callback(a.join(""));
 +
      };
 +
 
 +
      img.src = pngurl;
 +
    }
 +
 
 +
    function baseRemove() {
 +
      $('#top-section').remove();
 +
      $('#content').attr('id', '');
 +
      $('#bodyContent').attr('id', '');
 +
      $('#globalWrapper').attr('id', '');
 +
    }
 +
 
 +
    console.log('loading css...');
 +
    png2text('/wiki/images/a/aa/Bootstrap.min.css.png', 'bs-css', function (text) {
 +
      insertcss(text);
 +
      //'/wiki/images/2/28/Bootstrap-theme.min.css.png'
 +
      png2text('/wiki/images/d/df/Bootstrap-docs.min.css.png', 'bs-docs-css', function (text) {
 +
        insertcss(text);
 +
      });
 +
    });
 +
    png2text('/wiki/images/8/89/Layout.css.png', 'layout-css', function (text) {
 +
      insertcss(text);
 +
    });
 +
    png2text('/wiki/images/5/5a/Slider.css.png', 'slider-css', function (text) {
 +
      insertcss(text);
 +
    });
 +
 
 +
    $(document).ready(function () {
 +
      baseRemove();
 +
      console.log('loading js...');
 +
      png2text('/wiki/images/7/7f/Jquery-min-js.png', 'jquery-js', function (text) {
 +
        loadjs(text);
 +
        png2text('/wiki/images/3/35/Bootstrap-min-js.png', 'bs-js', function (text) {
 +
          loadjs(text);
 +
        });
 +
        png2text('/wiki/images/4/42/Jquery.easing_slider_index-js.png', 'easing_slider_index-js', function (text) {
 +
          loadjs(text);
 +
          var sliderimages = [
 +
            {
 +
              source: "/wiki/images/f/f9/%E5%90%88%E7%85%A7.JPG",
 +
              transition: 'simple',
 +
              title: 'Group Photos',
 +
              lightbox: 0,
 +
              url: 'javascript:void(0)',
 +
              description: ''
 +
            }, {
 +
              source: "/wiki/images/0/06/%E6%93%8D%E4%BD%9C%E6%B5%81%E5%BC%8F.JPG",
 +
              transition: 'random',
 +
              title: 'Experiment',
 +
              lightbox: 0,
 +
              url: 'javascript:void(0)',
 +
              description: ''
 +
            }, {
 +
              source: "/wiki/images/a/a3/%E5%AE%9E%E9%AA%8C%E5%AE%9E%E6%8B%8D.JPG",
 +
              transition: 'random',
 +
              title: 'Experiment',
 +
              lightbox: 0,
 +
              url: 'javascript:void(0)',
 +
              description: ''
 +
            }, {
 +
              source: "/wiki/images/b/bd/%E6%B8%AF%E7%A7%91%E5%A4%A7%E4%BA%A4%E6%B5%811.JPG",
 +
              transition: 'random',
 +
              title: 'Communicate',
 +
              lightbox: 0,
 +
              url: 'javascript:void(0)',
 +
              description: ''
 +
            }, {
 +
              source: "/wiki/images/4/45/%E6%B8%AF%E7%A7%91%E5%A4%A7%E4%BA%A4%E6%B5%812.JPG",
 +
              transition: 'random',
 +
              title: 'Communicate',
 +
              lightbox: 0,
 +
              url: 'javascript:void(0)',
 +
              description: ''
 +
            }, {
 +
              source: "/wiki/images/f/fe/%E6%A3%80%E9%AA%8C%E7%94%A8biobrick.jpg",
 +
              transition: 'random',
 +
              title: 'Biobrick',
 +
              lightbox: 0,
 +
              url: 'javascript:void(0)',
 +
              description: ''
 +
            }, {
 +
              source: "/wiki/images/a/a8/%E6%88%91%E4%BB%AC%E7%9A%84biobrick.jpg",
 +
              transition: 'random',
 +
              title: 'Biobrick',
 +
              lightbox: 0,
 +
              url: 'javascript:void(0)',
 +
              description: ''
 +
            }, {
 +
              source: "/wiki/images/c/cf/%E6%B5%81%E5%BC%8F%E7%BB%86%E8%83%9E%E4%BB%AA.JPG",
 +
              transition: 'random',
 +
              title: 'Instrument',
 +
              lightbox: 0,
 +
              url: 'javascript:void(0)',
 +
              description: ''
 +
            }
 +
          ];
 +
          loadSlider(sliderimages);
 +
          startSlider();
 +
        });
 +
      });
 +
    });
 +
  </script>
 +
 
 +
  <body>
 +
    <a class="sr-only" href="#content">Skip navigation</a>
 +
    <header class="navbar navbar-inverse navbar-fixed-top bs-docs-nav" role="banner">
 +
      <div class="container">
 +
        <div class="navbar-header">
 +
          <button class="navbar-toggle" type="button" data-toggle="collapse" data-target=".bs-navbar-collapse">
 +
            <span class="sr-only">Toggle navigation</span>
 +
            <span class="icon-bar"></span>
 +
            <span class="icon-bar"></span>
 +
            <span class="icon-bar"></span>
 +
          </button>
 +
          <a href="../" class="navbar-brand">SUSTC-Shenzhen-A</a>
 +
        </div>
 +
        <nav class="collapse navbar-collapse bs-navbar-collapse" role="navigation">
 +
          <ul class="nav navbar-nav">
 +
            <li class="active">
 +
              <a href="#">Home</a>
 +
            </li>
 +
            <li>
 +
              <a href="/Team:SUSTC-Shenzhen-A/Project">Project</a>
 +
            </li>
 +
            <li>
 +
              <a href="/Team:SUSTC-Shenzhen-A/Part">Parts</a>
 +
            </li>
 +
            <li>
 +
              <a href="/Team:SUSTC-Shenzhen-A/Modeling">Modeling</a>
 +
            </li>
 +
            <li>
 +
              <a href="/Team:SUSTC-Shenzhen-A/Notebook">Notebook</a>
 +
            </li>
 +
            <li>
 +
              <a href="/Team:SUSTC-Shenzhen-A/Safety">Safety and security</a>
 +
            </li>
 +
            <li>
 +
              <a href="/Team:SUSTC-Shenzhen-A/Attributions">Attributions</a>
 +
            </li>
 +
            <li>
 +
              <a href="/Team:SUSTC-Shenzhen-A/Human_Practice">Human Practice</a>
 +
            </li>
 +
            <li>
 +
              <a href="/Team:SUSTC-Shenzhen-A/Team">Team</a>
 +
            </li>
 +
          </ul>
 +
        </nav>
 +
      </div>
 +
    </header>
 +
 
 +
    <div class="bs-header" id="bs-content">
 +
      <div class="container">
 +
        <h1>Game theory</h1>
 +
        <p>Stategy for the Classic Prisoners' Dilemma.</p>
 +
      </div>
 +
    </div>
 +
 
 +
    <div class="container bs-docs-container">
 +
      <div id="index_form" class="panel">
 +
        <div class="row">
 +
          <div class="slider-wrapper">
 +
            <div id="slider-1">
 +
              <div id="slider-content"></div>
 +
              <div id="slider-feed"></div>
 +
            </div>
 +
          </div>
 +
          <div class="simple-wrapper">
 +
            <table class="table table-striped">
 +
              <tbody></tbody>
 +
            </table>
 +
          </div>
 +
        </div>
 +
      </div>
 +
      <div class="well">
 +
        <p>We are sophomores from South University of Science and Technology of China (SUSTC).</p>
 +
        <p>Our main project is about quorum sensing.</p>
 +
        <p>You can get more information about our project by clicking other pages.</p>
 +
      </div>
 +
    </div>
 +
 
 +
    <!-- Footer -->
 +
    <footer class="bs-footer" role="contentinfo">
 +
      <div class="container">
 +
        <p>Code licensed under <a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">Apache License v2.0</a>, documentation under <a href="http://creativecommons.org/licenses/by/3.0/">CC BY 3.0</a>.</p>
 +
        <ul class="footer-links">
 +
          <li><a href="/wiki/index.php?title=Team:SUSTC-Shenzhen-A&action=edit">Edit</a></li>
 +
          <li class="muted">&middot;</li>
 +
          <li><a href="http://getbootstrap.com/">Bootstrap</a></li>
 +
          <li class="muted">&middot;</li>
 +
          <li><a href="http://www.sustc.edu.cn/">SUSTC Offical Site</a></li>
 +
        </ul>
 +
      </div>
 +
    </footer>
 +
  </body>
 +
</html>

Latest revision as of 00:08, 28 September 2013

ShenZhen-A Skip navigation

Game theory

Stategy for the Classic Prisoners' Dilemma.

We are sophomores from South University of Science and Technology of China (SUSTC).

Our main project is about quorum sensing.

You can get more information about our project by clicking other pages.