Team:Korea U Seoul/template/Main

From 2012.igem.org

(Difference between revisions)
(Created page with "<html> <head> </head> <body> <div id="H1"> <br><br> </div> <div id="main-page wrapper1" style="width:96%; margin:2%; height:350px;"> <div id="H7" style="float:right; ...")
 
(19 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
 +
<head>
<head>
-
</head>
+
<script type="text/javascript">
-
<body>
+
function browserCheck(){
 +
userAgent = new String(navigator.userAgent);
 +
if(userAgent.search("iPhone")>-1){
 +
alert('Welcome iPhone User! You need Flash supporting web brower to fully use our wiki page');
 +
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
 +
}
 +
else if(userAgent.search("iPad")>-1){
 +
alert('Welcome iPad User! You need Flash supporting web brower to fully use our wiki page');
 +
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
 +
}
 +
else if(userAgent.search("iPod")>-1){
 +
alert('Welcome iPod User! You need Flash supporting web brower to fully use our wiki page');
 +
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
 +
}
-
  <div id="H1">
+
}
-
    <br><br>
+
-
  </div>
+
-
<div id="main-page wrapper1" style="width:96%; margin:2%; height:350px;">
+
function gotoMain(){
-
  <div id="H7" style="float:right; width:50%; height:350px;">
+
window.location = "https://2012.igem.org/Team:Korea_U_Seoul/Main";
-
    <img src="https://static.igem.org/mediawiki/2012/3/30/Main_youtube.png" height=36>
+
}
-
  </div>
+
-
  <div id="H8" style="width:50% height:350px;">
+
</script>
-
    <img src="https://static.igem.org/mediawiki/2012/c/c7/Main_aboutus3.png" height=36>
+
</head>
-
    <p> <b>
+
-
    Here is a description of <a href="https://2012.igem.org/Team:Korea_U_Seoul/Project/Description"> our team project </a>.
+
-
    </b></p>
+
-
  </div>
+
-
</div>
+
-
 
+
-
<div id="main-page wrapper2" style="width:96%; margin:2%; height:300px;">
+
-
  <div id="H2" style="float:right; width:28%; height:300px; background-color:green;">
+
-
  </div>
+
-
  <div id="H3,4 wrapper" style="width:72%; height:300px;">
+
<body onLoad="browserCheck()">
-
  <div id="H3" style="float:left; width:33%; height:300px; background-color:blue;">
+
-
  </div>
+
-
  <div id="H4" style="widht:66%; height:300px; background-color:red;">
+
<div id="front_flash" style="width:922; height:691;">
-
  </div>
+
<embed src="https://static.igem.org/mediawiki/2012/6/63/KUS_Mainf.swf" width="922" height="691">
-
  </div>
+
</div>
</div>
-
  <div id="H10" style="float:right; margin:2%;">
 
-
      <br>
 
-
    <script charset="utf-8" src="http://widgets.twimg.com/j/2/widget.js"></script>
 
-
    <script>
 
-
      new TWTR.Widget({
 
-
      version: 2,
 
-
      type: 'profile',
 
-
      rpp: 4,
 
-
      interval: 30000,
 
-
      width: 250,
 
-
      height: 300,
 
-
      theme: {
 
-
        shell: {
 
-
          background: '#ab0022',
 
-
          color: '#ffffff'
 
-
        },
 
-
        tweets: {
 
-
          background: '#ffffff',
 
-
          color: '#000000',
 
-
          links: '#a3001e'
 
-
        }
 
-
      },
 
-
      features: {
 
-
        scrollbar: true,
 
-
        loop: false,
 
-
        live: false,
 
-
        behavior: 'all'
 
-
      }
 
-
    }).render().setUser('iGEM_KU2012').start();
 
-
    </script>
 
</body>
</body>
 +
</html>
</html>

Latest revision as of 03:33, 27 September 2012