Team:OUC-China

From 2013.igem.org

(Difference between revisions)
Line 1: Line 1:
-
<html>
+
<html lang="en">
 +
<head>
 +
 
 +
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
 +
<link href="bootstrap\css\bootstrap.css" rel="stylesheet" media="screen">
 +
<link href="bootstrap\css\bootstrap-responsive.css" rel="stylesheet" media="screen">
 +
 
 +
 
<style>
<style>
 +
/* GLOBAL STYLES
 +
    -------------------------------------------------- */
 +
    /* Padding below the footer and lighter body text */
-
a:link {color:#FF0000;}   /* 未被访问的链接 */
+
    h1 {
-
a:visited {color:#00FF00;} /* 已被访问的链接 */
+
color:#0099FF;
-
a:hover {color:#FF00FF;}  /* 鼠标指针移动到链接上 */
+
}
-
a:active {color:#0000FF;} /* 正在被点击的链接 */
+
    body {
 +
      padding-bottom: 40px;
 +
      color: #5a5a5a;
 +
  background: #e5e5e5 url(image/moon.png);
 +
  overflow-x: hidden;
 +
  -webkit-user-select: none;
 +
  -webkit-tap-highlight-color: rgba(0,0,0,0);
 +
    }
 +
    .jumbotron {
 +
        margin: 60px 0;
 +
        text-align: center;
 +
      }
 +
      .jumbotron h1 {
 +
        font-size: 72px;
 +
        line-height: 1;
 +
      }
 +
      .jumbotron .btn {
 +
        font-size: 21px;
 +
        padding: 14px 24px;
 +
      }
 +
      /* Supporting marketing content */
 +
      .marketing {
 +
        margin: 60px 0;
 +
      }
 +
      .marketing p + h4 {
 +
        margin-top: 28px;
 +
      }
-
#search-controls,#p-logo,#catlinks,#contentSub,#footer,#footer-box{
+
    /* CUSTOMIZE THE NAVBAR
-
display:none;
+
    -------------------------------------------------- */
 +
 
 +
    /* Special class on .container surrounding .navbar, used for positioning it into place. */
 +
    .navbar-wrapper {
 +
      position: absolute;
 +
      top: 0;
 +
      left: 0;
 +
      right: 0;
 +
      z-index: 10;
 +
      margin-top: 20px;
 +
      margin-bottom: -90px; /* Negative margin to pull up carousel. 90px is roughly margins and height of navbar. */
 +
    }
 +
    .navbar-wrapper .navbar {
 +
 
 +
    }
 +
 
 +
    /* Remove border and change up box shadow for more contrast */
 +
    .navbar .navbar-inner {
 +
      border: 0;
 +
      -webkit-box-shadow: 0 2px 20px rgba(10,0,0,.25);
 +
        -moz-box-shadow: 0 2px 20px rgba(10,0,0,.25);
 +
              box-shadow: 0 2px 20px rgba(10,0,0,.25);
 +
    }
 +
 
 +
    /* Downsize the brand/project name a bit */
 +
    .navbar .brand {
 +
      padding: 14px 20px 16px; /* Increase vertical padding to match navbar links */
 +
      font-size: 16px;
 +
      font-weight: bold;
 +
      text-shadow: 0 -1px 0 rgba(0,0,0,.5);
 +
    }
 +
 
 +
    /* Navbar links: increase padding for taller navbar */
 +
    .navbar .nav > li > a {
 +
      padding: 15px 20px;
 +
    }
 +
 
 +
    /* Offset the responsive button for proper vertical alignment */
 +
    .navbar .btn-navbar {
 +
      margin-top: 10px;
 +
    }
 +
 
 +
 
 +
 
 +
    /* CUSTOMIZE THE CAROUSEL
 +
    -------------------------------------------------- */
 +
 
 +
    /* Carousel base class */
 +
    .carousel {
 +
      margin-bottom: 60px;
 +
    }
 +
 
 +
    .carousel .container {
 +
      position: relative;
 +
      z-index: 9;
 +
    }
 +
 
 +
    .carousel-control {
 +
      height: 80px;
 +
      margin-top: 0;
 +
      font-size: 120px;
 +
      text-shadow: 0 1px 1px rgba(0,0,0,.4);
 +
      background-color: transparent;
 +
      border: 0;
 +
      z-index: 10;
 +
    }
 +
 
 +
    .carousel .item {
 +
      height: 400px;
 +
    }
 +
    .carousel img {
 +
      position: absolute;
 +
      top: 0;
 +
      left: 0;
 +
      min-width: 100%;
 +
      height: 400px;
 +
    }
 +
 
 +
    .carousel-caption {
 +
      background-color: transparent;
 +
      position: static;
 +
      max-width: 550px;
 +
      padding: 0 20px;
 +
      margin-top: 200px;
 +
    }
 +
    .carousel-caption h1,
 +
    .carousel-caption .lead {
 +
      margin: 0;
 +
      line-height: 1.25;
 +
      color: #fff;
 +
      text-shadow: 0 1px 1px rgba(0,0,0,.4);
 +
    }
 +
    .carousel-caption .btn {
 +
      margin-top: 10px;
 +
    }
 +
 
 +
 
 +
 
 +
    /* MARKETING CONTENT
 +
    -------------------------------------------------- */
 +
 
 +
    /* Center align the text within the three columns below the carousel */
 +
    .marketing .span6 {
 +
      text-align: center;
 +
    }
 +
    .marketing h2 {
 +
      font-weight: normal;
 +
      margin-left: 200px;
 +
      margin-right: 60px;
 +
    }
 +
    .marketing .span6 p {
 +
      margin-left: 200px;
 +
      margin-right: 60px;
 +
    }
 +
 
 +
 
 +
    /* Featurettes
 +
    ------------------------- */
 +
 
 +
    .featurette-divider {
 +
      margin: 80px 0; /* Space out the Bootstrap <hr> more */
 +
    }
 +
    .featurette {
 +
      padding-top: 120px; /* Vertically center images part 1: add padding above and below text. */
 +
      overflow: hidden; /* Vertically center images part 2: clear their floats. */
 +
    }
 +
    .featurette-image {
 +
      margin-top: -120px; /* Vertically center images part 3: negative margin up the image the same amount of the padding to center it. */
 +
    }
 +
 
 +
    /* Give some space on the sides of the floated elements so text doesn't run right into it. */
 +
    .featurette-image.pull-left {
 +
      margin-right: 40px;
 +
    }
 +
    .featurette-image.pull-right {
 +
      margin-left: 40px;
 +
    }
 +
 
 +
    /* Thin out the marketing headings */
 +
    .featurette-heading {
 +
      font-size: 50px;
 +
      font-weight: 300;
 +
      line-height: 1;
 +
      letter-spacing: -1px;
 +
    }
 +
 
 +
 
 +
 
 +
    /* RESPONSIVE CSS
 +
    -------------------------------------------------- */
 +
 
 +
    @media (max-width: 979px) {
 +
 
 +
      .container.navbar-wrapper {
 +
        margin-bottom: 0;
 +
        width: auto;
 +
      }
 +
      .navbar-inner {
 +
        border-radius: 0;
 +
        margin: -20px 0;
 +
      }
 +
 
 +
      .carousel .item {
 +
        height: 400px;
 +
      }
 +
      .carousel img {
 +
        width: auto;
 +
        height: 400px;
 +
      }
 +
 
 +
      .featurette {
 +
        height: auto;
 +
        padding: 0;
 +
      }
 +
      .featurette-image.pull-left,
 +
      .featurette-image.pull-right {
 +
        display: block;
 +
        float: none;
 +
        max-width: 40%;
 +
        margin: 0 auto 20px;
 +
      }
 +
    }
 +
 
 +
 
 +
    @media (max-width: 767px) {
 +
 
 +
      .navbar-inner {
 +
        margin: -20px;
 +
      }
 +
 
 +
      .carousel {
 +
        margin-left: -20px;
 +
        margin-right: -20px;
 +
      }
 +
      .carousel .container {
 +
 
 +
      }
 +
      .carousel .item {
 +
        height: 400px;
 +
      }
 +
      .carousel img {
 +
        height: 400px;
 +
      }
 +
      .carousel-caption {
 +
        width: 65%;
 +
        padding: 0 70px;
 +
        margin-top: 100px;
 +
      }
 +
      .carousel-caption h1 {
 +
        font-size: 30px;
 +
      }
 +
      .carousel-caption .lead,
 +
      .carousel-caption .btn {
 +
        font-size: 18px;
 +
      }
 +
 
 +
      .marketing .span4 + .span4 {
 +
        margin-top: 40px;
 +
      }
 +
 
 +
      .featurette-heading {
 +
        font-size: 30px;
 +
      }
 +
      .featurette .lead {
 +
        font-size: 18px;
 +
        line-height: 1.5;
 +
      }
 +
 
 +
    }
 +
 +
/* = 通用 Global
 +
----------------------------------------------- */
 +
a:not(.btn) {
 +
color: #00699E;
 +
-webkit-transition: 300ms;
 +
-moz-transition: 300ms;
 +
transition: 300ms;
}
}
-
.firstHeading{
+
a:hover:not(.btn),
-
        display:none;
+
a:active:not(.btn) {
 +
color: #9E0000;
 +
text-decoration: none;
 +
-webkit-transform: translateY(-8px);
 +
-moz-transform: translateY(-8px);
 +
transform: translateY(-8px);
}
}
-
#top-section{
+
 
-
height:auto;
+
hr.soften {
-
border-left: none;
+
height: 1px;
-
border-right: none;
+
margin: 30px 0;
-
border-bottom:0;
+
background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
 +
background-image:   -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
 +
background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
 +
background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,.1), rgba(0,0,0,0));
 +
border: 0;
}
}
-
#content{
+
 
-
      width:auto;
+
 
-
      height:auto;
+
.nav a {
-
      background:#ffffff;
+
-webkit-transition: 500ms;
-
      padding:0;
+
-moz-transition: 500ms;
-
      border:0;
+
transition: 500ms;
}
}
-
#globalWrapper{
+
header {
-
      margin,padding:0;
+
margin-top: 40px;
-
      padding-bottom: 0;
+
}
}
-
html, body {  
+
.hero-unit {
-
width: 100%; height: 100%;
+
background: url(/images/cover-5.jpg);
-
background: #fffff;
+
background-size: cover;
 +
filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/cover-5.jpg', sizingMethod='scale');
 +
-ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/images/cover-5.jpg', sizingMethod='scale')";
 +
color: #fff;
 +
height: 100px;
 +
margin-bottom: 0;
}
}
 +
.hero-unit h1 {
 +
/* font: 88px Minion,'Optima', "Times New Roman", Times, serif; */
 +
text-align: center;
 +
text-shadow: 1px 1px 10px black;
 +
}
 +
.hero-unit img {
 +
max-width: 500px;
 +
-webkit-animation: title-in 1s ease-out 0 1 forwards;
 +
-webkit-transition: 500ms;
 +
-moz-transition: 500ms;
 +
transition: 500ms;
-
canvas {
 
-
        width:100%;
 
-
        height:100%
 
-
display: block;
 
}
}
-
p{
+
.hero-unit img:hover {
-
  margin:0;
+
-webkit-transform: translateY(-5px) scale(1.05) rotate(2deg);
-
  font-size:40px;
+
-moz-transform: translateY(-5px) scale(1.05) rotate(2deg);
-
  text-align: center;
+
transform: translateY(-5px) scale(1.05) rotate(2deg);
-
 
+
}
}
-
</style>
 
-
<body>
 
-
<canvas></canvas>
 
-
<script>
+
</style>
-
(function() {
+
-
// rAF
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
-
window.requestAnimationFrame = function() {
+
<meta name="description" content="">
-
return window.requestAnimationFrame ||
+
<meta name="author" content="">
-
window.webkitRequestAnimationFrame ||
+
<title>index</title>
-
window.mozRequestAnimationFrame ||
+
</head>
-
window.msRequestAnimationFrame ||
+
<body >
-
window.oRequestAnimationFrame ||
+
-
function(f) {
+
-
window.setTimeout(f,1e3/60);
+
-
}
+
-
}();
+
-
+
-
var canvas = document.querySelector('canvas');
+
-
var ctx = canvas.getContext('2d');
+
-
var W = canvas.width = window.innerWidth;
 
-
var H = canvas.height = window.innerHeight;
 
-
// Our SpaceShip Constructor
 
-
var SpaceShip = function() {
 
-
 
-
// x/y positions
 
-
this.x = 200;
 
-
this.y = 100;
 
-
 
-
this.radius = 40;
 
-
 
-
// How many wings/blades or whatever you want to call it
 
-
this.wing_count = 3;
 
-
// Math.PI*2 === 360 degrees
 
-
// 360 / 3 = 120 degrees
 
-
// So every 120 degrees will have 1 hand/blade
 
-
// of 60 degrees (half of 120)
 
-
this.steps = Math.PI*2 / this.wing_count;
 
-
 
-
this.color = 'hsl(0,100%,50%)';
 
-
// We can try changing color after EVERY rotation
 
-
// would be cool!
 
-
this.hue = 0; // initial hue
 
-
// This is the target hue we'll reach
 
-
// during (at start) the first rotation
 
-
this.hue_target = parseInt( Math.random()*360 );
 
-
 
-
// Lets mess with the angle now
 
-
this.angle = 0;
 
-
// Manipulating speed - seems good!
 
-
this.rotation_speed = 0.06;
 
-
 
-
this.draw = function(ctx) {
 
-
 
-
// But we want to do this after every rotation
 
-
if (this.angle > Math.PI*2) {
 
-
// Kind of reset the angle when its more
 
-
// than 360 degrees.
 
-
this.angle -= Math.PI*2;
 
-
 
-
// Choose a random hue target now
 
-
this.hue_target = parseInt( Math.random()*360 );
 
-
 
-
// ... and we made it :)
 
-
}
 
-
 
-
// You notice initially there's a color change ?
 
-
// Why this (hue_target - hue) * random_numer ?
 
-
// Well, we basically measure the distance that we
 
-
// have to travel, from initial to target and multiple
 
-
// that by an "easing" factor.
 
-
// This causes "easing" effect when changing from initial
 
-
// to target color, i.e., it starts with high speed
 
-
// and as it progresses, the spead decreases until
 
-
// it reaches the target.
 
-
// We just learnt how to implement Easing in html5 canvas!
 
-
this.hue += (this.hue_target - this.hue) * 0.05;
 
-
this.color = 'hsl(' + this.hue + ',100%,50%)';
 
-
 
-
ctx.strokeStyle = this.color;
 
-
ctx.fillStyle = this.color;
 
-
// Setting a line width
 
-
ctx.lineWidth = 15;
 
-
 
-
// Time to rotate this thing
 
-
// Since ctx.rotate() will rotate the entire 2D context
 
-
// and not just the arc's, we'll have to save
 
-
// our current drawing state into the stack.
 
-
ctx.save();
 
-
 
-
// as you can see entire context was rotated
 
-
// we'll fix this by first translating
 
-
// The x/y values that we pass to translate()
 
-
// is the same as the ones we passed to ctx.arc below
 
-
ctx.translate(this.x, this.y);
 
-
 
-
// The entire thing became a circle :P
 
-
// cuz we never cleared after each rendering of frame
 
-
this.angle += this.rotation_speed;
 
-
ctx.rotate(this.angle);
 
-
+
<div class="navbar navbar-inverse navbar-fixed-top">
-
for (var i = 0; i < this.wing_count; i++) {
+
      <div class="navbar-inner">
-
ctx.beginPath();
+
        <div class="container">
-
+
<div class="row"><div class="span3"><a href="https://2013.igem.org/Main_Page"><img src="bootstrap/img/igem1.jpg" alt="logo" style="width:70px;height:50px;margin-top:0px;padding:0 0 0 0;" class="brand png"></a></div>
-
// For arc, the new x/y pos will be 0,0
+
          <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
-
ctx.arc(
+
            <span class="icon-bar"></span>
-
0,
+
            <span class="icon-bar"></span>
-
0,
+
            <span class="icon-bar"></span>
-
this.radius,
+
          </button>
-
i*this.steps,
+
            <div class="nav-collapse collapse">
-
i*this.steps + this.steps/2,
+
                  <ul class="nav pull-right">
-
false
+
  <li class="active"><a href="index.html"><font size="4.5px">Home</font></a></li>
-
);
+
              <li class="dropdown">
-
+
                <a class="dropdown-toggle" id="drop4" role="button" data-toggle="dropdown" href="#"><font size="4.5px">Project</font><b class="caret"></b>
-
ctx.stroke();
+
</a>
-
ctx.closePath();
+
                <ul id="menu1" class="dropdown-menu" role="menu" aria-labelledby="drop4">
-
}
+
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Overview</a>
-
+
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Result</a>
-
// ... and restore here
+
  </li>
-
ctx.restore();
+
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="#">RNA Device</a></li>
-
+
  <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Attributions</a></li>
-
// A rounded body in the center
+
                  <li role="presentation" class="divider"></li>
-
ctx.beginPath();
+
  <li class="dropdown-submenu">
-
ctx.fillStyle = '#5aaaff';
+
                  <a tabindex="-1" href="#">Future work</a>
-
ctx.arc(this.x, this.y, 20, 0, Math.PI*2, false);
+
  <ul class="dropdown-menu">
-
ctx.fill();
+
                      <li><a tabindex="-1" href="#">Second level link</a></li>
-
ctx.closePath();
+
                      <li><a tabindex="-1" href="#">Second level link</a></li>
-
};
+
  </ul>
-
};
+
  </li>
 +
                </ul>
 +
              </li>
 +
              <li class="dropdown">
 +
                <a class="dropdown-toggle" id="drop5" role="button" data-toggle="dropdown" href="#"><font size="4.5px">Modeling</font><b class="caret"></b></a>
 +
                <ul id="menu2" class="dropdown-menu" role="menu" aria-labelledby="drop5">
 +
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Simulation</a></li>
 +
                  <li role="presentation" class="divider"></li>
 +
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Data</a></li>
 +
                </ul>
 +
              </li>
 +
              <li class="dropdown">
 +
                <a class="dropdown-toggle" id="drop6" role="button" data-toggle="dropdown" href="#"><font size="4.5px">Human Practice</font><b class="caret"></b></a>
 +
                <ul id="menu3" class="dropdown-menu" role="menu" aria-labelledby="dropdownMenu">
 +
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li>
 +
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li>
 +
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li>
 +
                  <li role="presentation" class="divider"></li>
 +
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li>
 +
                </ul>
 +
</li>
 +
<li class="dropdown">
 +
                <a class="dropdown-toggle" id="drop5" role="button" data-toggle="dropdown" href="#"><font size="4.5px">Part</font><b class="caret"></b></a>
 +
                <ul id="menu2" class="dropdown-menu" role="menu" aria-labelledby="drop5">
 +
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Action</a></li>
 +
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Another action</a></li>
 +
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Something else here</a></li>
 +
                  <li role="presentation" class="divider"></li>
 +
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="#">Separated link</a></li>
 +
                </ul>
 +
              </li>
 +
<li class="dropdown">
 +
                <a class="dropdown-toggle" id="drop5" role="button" data-toggle="dropdown" href="Members.html"><font size="4.5px">Team</font><b class="caret"></b></a>
 +
              <ul id="menu2" class="dropdown-menu" role="menu" aria-labelledby="drop5">
 +
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="Members.html">Members</a></li>
 +
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="Instructors.html">Instructors</a></li>
 +
                  <li role="presentation"><a role="menuitem" tabindex="-1" href="Advisor.html">Advisor</a></li>
 +
  <li role="presentation"><a role="menuitem" tabindex="-1" href="Lab.html">Lab</a></li>
 +
  <li role="presentation"><a role="menuitem" tabindex="-1" href="Acknowledgement.html">Acknowledgement</a></li>
 +
  </ul>
 +
              </li>
 +
  <li class="dropdown">
 +
                <a  href="#"><font size="4.5px">Safety</font></a>
 +
               
 +
              </li>
 +
  <li class="dropdown">
 +
                <a  href="note.html"><font size="4.5px">Notebook</font></a>
 +
               
 +
              </li>
 +
  </ul>
 +
</div>
 +
          </div>
 +
        </div>
 +
      </div>
 +
    </div>
 +
<br><br>
-
// Create a spaceship object
 
-
var ship = new SpaceShip();
 
-
// Setting proper x/y to center it
 
-
ship.x = W/2;
 
-
ship.y = H/2;
 
-
 
-
(function renderFrame() {
 
-
window.requestAnimationFrame(renderFrame);
 
-
 
-
// Magik! We dont need so much speed though...
 
-
ctx.clearRect(0,0,W,H);
 
-
ship.draw(ctx);
 
-
// 在canvas上绘制标题文本 
 
-
// 字号为60px,字体为impact 
 
-
ctx.font = "35px arial";
 
-
// 将文本设为居中对齐 
 
-
ctx.textAlign = 'center'; 
 
-
ctx.fillText("OUC-China is coming!", 680, 500);
 
-
}());
 
-
}());
 
-
</script>
 
-
<div>
 
-
<p><a href="/Team:OUC-China/project" style="text-decoration:none">Project is here!</br></br></br></br></br></a></p>
 
-
</div>
+
<div id="myCarousel" class="carousel slide">
-
</body>
+
<ol class="carousel-indicators">
 +
    <li data-target="#myCarousel" data-slide-to="0"  class="active"></li>
 +
    <li data-target="#myCarousel" data-slide-to="1"></li>
 +
    <li data-target="#myCarousel" data-slide-to="2"></li>
 +
    <li data-target="#myCarousel" data-slide-to="3"></li>
 +
  </ol>
 +
      <div class="carousel-inner">
 +
        <div class="item active">
 +
          <img src="bootstrap\img\slide-01.jpg" alt="">
 +
          <div class="container">
 +
            <div class="carousel-caption">
 +
              <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
 +
              <a class="btn btn-large btn-primary" href="#">Sign up today</a>
 +
            </div>
 +
          </div>
 +
        </div>
 +
        <div class="item">
 +
          <img src="bootstrap\img\slide-02.jpg" alt="">
 +
          <div class="container">
 +
            <div class="carousel-caption">
 +
           
 +
              <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
 +
              <a class="btn btn-large btn-primary" href="#">Learn more</a>
 +
          </div>
 +
        </div>
 +
      </div>
 +
        <div class="item">
 +
          <img src="bootstrap\img\slide-03.jpg" alt="">
 +
          <div class="container">
 +
            <div class="carousel-caption">
 +
             
 +
              <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
 +
              <a class="btn btn-large btn-primary" href="#">Browse gallery</a>
 +
            </div>
 +
          </div>
 +
        </div>
 +
        <div class="item">
 +
          <img src="bootstrap\img\slide-02.jpg" alt="">
 +
          <div class="container">
 +
            <div class="carousel-caption">
 +
           
 +
              <p class="lead">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Donec id elit non mi porta gravida at eget metus. Nullam id dolor id nibh ultricies vehicula ut id elit.</p>
 +
              <a class="btn btn-large btn-primary" href="#">Learn more</a>
 +
          </div>
 +
        </div>
 +
      </div>
 +
      </div>
 +
      <a class="left carousel-control" href="#myCarousel" data-slide="prev" data-interval="1000" data-pause="hover">&lsaquo;</a>
 +
      <a class="right carousel-control" href="#myCarousel" data-slide="next">&rsaquo;</a>
 +
    </div>
 +
   
 +
   
-
<html>
+
      <div class="jumbotron">
 +
        <header id="banner" class="hero-unit no-radius">
 +
<div class="container text-center">
 +
        <h4><img src="C:\Users\ZYC\Desktop\bootstrap\bootstrap/img/title.jpg" alt="OUC-China"></h4>
 +
    </div>
 +
</header>
 +
 
 +
        <p class="lead" ><font color="#0099FF">Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</font></p>
 +
        <a class="btn btn-large btn-success" href="#">Learn more</a>
 +
      </div>
 +
 
 +
      <hr>
 +
      <div class="container marketing">
 +
 
 +
      <!-- Three columns of text below the carousel -->
 +
      <div class="row">
 +
        <div class="span6">
 +
          <img class="img-circle" data-src="holder.js/140x140">
 +
          <h2>Heading</h2>
 +
          <p>Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</p>
 +
          <p><a class="btn" href="#">View details &raquo;</a></p>
 +
        </div><!-- /.span4 -->
 +
        <div class="span6">
 +
          <img class="img-circle" data-src="holder.js/140x140">
 +
          <h2>Heading</h2>
 +
          <p>Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
 +
          <p><a class="btn" href="#">View details &raquo;</a></p>
 +
        </div><!-- /.span4 -->
 +
      </div><!-- /.row -->
 +
  </div>
 +
<script src="http://code.jquery.com/jquery.js"></script>
 +
<script src="bootstrap\js\bootstrap.min.js"></script>
 +
<script>
 +
      !function ($) {
 +
        $(function(){
 +
          // carousel demo
 +
          $('#myCarousel').carousel()
 +
        })
 +
      }(window.jQuery)
 +
    </script>
 +
    <script src="bootstrap\js\bootstrap.holder.js"></script>
 +
 +
</body>
 +
</html>

Revision as of 03:18, 19 September 2013

index



Cras justo odio, dapibus ac facilisis in, egestas eget quam. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

Learn more

Heading

Donec sed odio dui. Etiam porta sem malesuada magna mollis euismod. Nullam id dolor id nibh ultricies vehicula ut id elit. Morbi leo risus, porta ac consectetur ac, vestibulum at eros. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

View details »

Heading

Duis mollis, est non commodo luctus, nisi erat porttitor ligula, eget lacinia odio sem nec elit. Cras mattis consectetur purus sit amet fermentum. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.

View details »