Team:UPenn
From 2013.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
- | <head> | + | <head> |
- | <link href="https://googledrive.com/host/ | + | <title>Homepage</title> |
- | < | + | <meta name="viewport" content="width=device-width, initial-scale=1.0"> |
- | + | <!-- Bootstrap --> | |
- | + | <link href="https://googledrive.com/host/0B4ZBZOYYKBzEeUFaR1lNWFZWMnc" rel="stylesheet" media="screen"> | |
+ | <link href="https://googledrive.com/host/0B4ZBZOYYKBzEYUtsRS1ZWHM2bTQ" type="text/css" rel="stylesheet"/> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | <style> | |
- | + | /*fonts/headings*/ | |
- | + | h4 { | |
- | + | text-align: center; | |
- | + | } | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | /*Brady Bunch Table*/ | |
- | // | + | .team { |
+ | float: center; | ||
+ | margin: auto; | ||
+ | } | ||
- | + | .team td { | |
+ | overflow: hidden; | ||
+ | height:175px; | ||
+ | width:220px; | ||
+ | display: inline-block; | ||
+ | padding:5px; | ||
- | + | } | |
- | + | ||
- | + | .hidden { /*change this class when hovered*/ | |
- | + | display: none; | |
- | + | } | |
- | + | .team img { | |
- | + | max-width:100%; | |
- | + | max-height:100%; | |
- | + | } | |
- | + | ||
- | + | .name { | |
- | + | position: absolute; | |
- | + | margin-bottom: 30px; | |
- | + | width: 220px; | |
- | + | height: 0px; | |
- | + | display: none; | |
- | + | background-color: white; | |
- | + | margin-top: -50px; | |
- | + | -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; | |
- | + | filter: alpha(opacity=70); | |
- | + | -moz-opacity: 0.7; | |
- | + | -khtml-opacity: 0.7; | |
- | + | opacity: 0.7; | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
+ | /*Sections of page*/ | ||
.two { | .two { | ||
+ | margin-top: -20px; | ||
height:800px; | height:800px; | ||
position: relative; | position: relative; | ||
Line 121: | Line 67: | ||
background-repeat: no-repeat; | background-repeat: no-repeat; | ||
background-size: 80%; | background-size: 80%; | ||
+ | background-attachment: fixed; | ||
+ | -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)"; | ||
+ | filter: alpha(opacity=70); | ||
+ | -moz-opacity: 0.7; | ||
+ | -khtml-opacity: 0.7; | ||
+ | opacity: 0.7; | ||
} | } | ||
- | + | ||
- | .three { | + | .three { |
- | background-image: url("https://dl.dropboxusercontent.com/sh/h4cxid18rzzjgan/8XND1QonMj/Profile%20Photos/coolbluestuff.jpg?token_hash=AAGlfzG2xZpKrOTI8pyH02EbYxY1vK3QLUWKsWuYdaPbYg"); | + | /* |
+ | no background image for now | ||
+ | background-image: url("https://dl.dropboxusercontent.com/sh/h4cxid18rzzjgan/8XND1QonMj/Profile%20Photos/coolbluestuff.jpg?token_hash=AAGlfzG2xZpKrOTI8pyH02EbYxY1vK3QLUWKsWuYdaPbYg");*/ | ||
position: relative; | position: relative; | ||
text-align: center; | text-align: center; | ||
height:800px; | height:800px; | ||
width: 100%; | width: 100%; | ||
- | + | padding-top: 50px; | |
- | padding-top: 50px | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | + | /* CUSTOMIZE THE CAROUSEL | |
- | + | -------------------------------------------------- */ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | /* Carousel base class */ |
+ | .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: 500px; | |
- | height: | + | } |
- | + | .carousel img { | |
- | + | position: absolute; | |
- | + | top: 0; | |
- | + | left: 0; | |
- | + | min-width: 100%; | |
- | - | + | } |
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | .carousel-caption { | |
- | + | background-color: transparent; | |
- | + | position: static; | |
- | + | max-width: 550px; | |
- | + | padding: 0 20px; | |
- | top: | + | 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; | ||
+ | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | /* | + | /*Position/size hero unit*/ |
- | . | + | .hero-unit { |
- | + | width: 300px; | |
float: left; | float: left; | ||
- | margin | + | margin-left: 50px; |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
} | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | ||
- | + | /* CUSTOMIZE THE NAVBAR | |
- | + | -------------------------------------------------- */ | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
+ | /* 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 10px rgba(0,0,0,.25); | ||
+ | -moz-box-shadow: 0 2px 10px rgba(0,0,0,.25); | ||
+ | box-shadow: 0 2px 10px rgba(0,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; |
+ | } | ||
+ | </style> | ||
+ | </head> | ||
+ | <body> | ||
+ | |||
+ | |||
+ | <div class="navbar-wrapper"> | ||
+ | <!-- Wrap the .navbar in .container to center it within the absolutely positioned parent. --> | ||
+ | <div class="container"> | ||
- | <!-- | + | <div class="navbar navbar-inverse"> |
- | <ul id=" | + | <div class="navbar-inner"> |
- | + | <!-- Responsive Navbar Part 1: Button for triggering responsive navbar (not covered in tutorial). Include responsive CSS to utilize. --> | |
- | + | <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"> | |
- | </ul>--> | + | <span class="icon-bar"></span> |
+ | <span class="icon-bar"></span> | ||
+ | <span class="icon-bar"></span> | ||
+ | </button> | ||
+ | <a class="brand" href="#">Penn's iGEM Team</a> | ||
+ | <!-- Responsive Navbar Part 2: Place all navbar contents you want collapsed withing .navbar-collapse.collapse. --> | ||
+ | <div class="nav-collapse collapse"> | ||
+ | <ul class="nav"> | ||
+ | <li class="active"><a href="https://2013.igem.org/Team:Penn">Home</a></li> | ||
+ | <!-- Read about Bootstrap dropdowns at http://twitter.github.com/bootstrap/javascript.html#dropdowns --> | ||
+ | <li class="dropdown"> | ||
+ | <a href="#" class="dropdown-toggle" data-toggle="dropdown">About <b class="caret"></b></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | <li><a id="team">Team</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:Penn/Sponsors">Sponsors</a></li> | ||
+ | <li><a href="https://igem.org/Team.cgi?year=2013">Official Team Profile</a></li> | ||
+ | <!--<li class="divider"></li> | ||
+ | <li class="nav-header">Nav header</li> | ||
+ | <li><a href="#">Separated link</a></li> | ||
+ | <li><a href="#">One more separated link</a></li>--> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li><a href="2013.igem.org/Team:Penn/Project">Project</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:Penn/HumanPractices">Human Practices</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:Penn/Outreach">Outreach</a></li> | ||
+ | <li class="dropdown"> | ||
+ | <a href="#" class="dropdown-toggle" data-toggle="dropdown">In the Lab <b class="caret"></b></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | |||
+ | <li><a href="https://2013.igem.org/Team:Penn/Notebook">Notebook</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:Penn/Parts">Parts</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:Penn/Modeling">Modeling</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:Penn/Safety">Safety</a></li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </div><!--/.nav-collapse --> | ||
+ | </div><!-- /.navbar-inner --> | ||
+ | </div><!-- /.navbar --> | ||
+ | |||
+ | </div> <!-- /.container --> | ||
+ | </div><!-- /.navbar-wrapper --> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
+ | |||
+ | |||
+ | <div id="myCarousel" class="carousel slide"> | ||
+ | <div class="carousel-inner"> | ||
+ | <div class="item active"> | ||
+ | <img src="https://googledrive.com/host/0B4ZBZOYYKBzES3Jrc042WTlMR3c/" alt=""> | ||
+ | <div class="container"> | ||
+ | <div class="carousel-caption"> | ||
+ | <h1>Hello and Welcome!</h1> | ||
+ | <p class="lead">Welcome to Penn's iGEM team wiki! </p> | ||
+ | <a id="team" class="btn btn-large btn-primary" href="#three">Meet the Team</a> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="item"> | ||
+ | <img src="https://googledrive.com/host/0B4ZBZOYYKBzEWHBpYXpOcFRBcGc/" alt=""> | ||
+ | <div class="container"> | ||
+ | <div class="carousel-caption"> | ||
+ | <h1>Project</h1> | ||
+ | <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="2013.igem.org/Team:Penn/Project">Our Project</a> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <div class="item"> | ||
+ | <img src="https://dl.dropboxusercontent.com/sh/h4cxid18rzzjgan/_mMloYB8xM/Discovery%20Day%20Clark%20Park/IMG_2061.JPG?token_hash=AAGlfzG2xZpKrOTI8pyH02EbYxY1vK3QLUWKsWuYdaPbYg" alt=""> | ||
+ | <div class="container"> | ||
+ | <div class="carousel-caption"> | ||
+ | <h1>Outreach</h1> | ||
+ | <p class="lead">Learn more about what Penn's iGEM team is doing in the community. 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="2013.igem.org/Team:Outreach">More Outreach</a> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | </div> | ||
+ | <a class="left carousel-control" href="#myCarousel" data-slide="prev">‹</a> | ||
+ | <a class="right carousel-control" href="#myCarousel" data-slide="next">›</a> | ||
+ | </div><!-- /.carousel --> | ||
+ | |||
+ | <!--Overview--> | ||
+ | <div class="two"> | ||
+ | |||
+ | <div class="hero-unit"> | ||
+ | <h1>The project</h1> | ||
+ | <p>A brief overview</p> | ||
+ | <p>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. | ||
+ | <a class="btn btn-primary btn-large"> | ||
+ | Learn more | ||
+ | </a> | ||
+ | </p> | ||
</div> | </div> | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
</div> | </div> | ||
- | <!-- | + | <!--Team stuff--> |
- | + | <div class="three"> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | <div class="three"> | + | |
<h2>Meet the Bunch</h2> | <h2>Meet the Bunch</h2> | ||
<table class="team" cellpadding="5"> | <table class="team" cellpadding="5"> | ||
<tr> | <tr> | ||
- | <td><img src="https://googledrive.com/host/ | + | <td><img src="https://googledrive.com/host/0B4ZBZOYYKBzEbXRKT3lpN1VQaHc"/> |
- | <img class="hidden" src="https://googledrive.com/host/ | + | <img class="hidden" src="https://googledrive.com/host/0B4ZBZOYYKBzETDEzdFdSOC1ZVW8"/> |
+ | <div class="name"><h4></h4></div></td> | ||
- | <td><img src="https://googledrive.com/host/ | + | <td><img src="https://googledrive.com/host/0B4ZBZOYYKBzESzZjdGhVVWY3TWc"/> |
- | <img class="hidden" src="https://googledrive.com/host/ | + | <img class="hidden" src="https://googledrive.com/host/0B4ZBZOYYKBzEZ0tlUUViY2Z6Ymc"/> |
+ | <div class="name"><h4></h4></div></td> | ||
<td><img src="https://googledrive.com/host/0B4ZBZOYYKBzEU25rV1dHYm1Falk"/> | <td><img src="https://googledrive.com/host/0B4ZBZOYYKBzEU25rV1dHYm1Falk"/> | ||
- | <img class="hidden" src="https://googledrive.com/host/0B4ZBZOYYKBzEU3VZUnNOdWFqYVE"/><div class="name"></div></td> | + | <img class="hidden" src="https://googledrive.com/host/0B4ZBZOYYKBzEU3VZUnNOdWFqYVE"/> |
+ | <div class="name"><h4></h4></div></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
- | <td><img src="https://googledrive.com/host/ | + | |
- | <img class="hidden" src="https://googledrive.com/host/ | + | <td><img src="https://googledrive.com/host/0B4ZBZOYYKBzEYUtVa3BNSHQ4dTg"/> |
+ | <img class="hidden" src="https://googledrive.com/host/0B4ZBZOYYKBzEZXRRMlRtODR2OVk/"> | ||
+ | <div class="name"><h4>Daniel</h4></div></td> | ||
+ | |||
<td><img src="https://googledrive.com/host/0B4ZBZOYYKBzEVDNlV0UyVWdMVlE"/> | <td><img src="https://googledrive.com/host/0B4ZBZOYYKBzEVDNlV0UyVWdMVlE"/> | ||
- | <img class="hidden" src="https://googledrive.com/host/0B4ZBZOYYKBzEVDNlV0UyVWdMVlE"/ | + | <img class="hidden" src="https://googledrive.com/host/0B4ZBZOYYKBzEVDNlV0UyVWdMVlE"/> |
- | <td><img src="https://googledrive.com/host/ | + | <td><img src="https://googledrive.com/host/0B4ZBZOYYKBzEVm5ET0R1QndIRVU"/> |
- | <img class="hidden" src="https://googledrive.com/host/ | + | <img class="hidden" src="https://googledrive.com/host/0B4ZBZOYYKBzELXJ5NlFKUkJXRnc"/> |
+ | <div class="name"><h4>Mahamad</h4></div></td> | ||
</tr> | </tr> | ||
<tr> | <tr> | ||
<td><img src="https://googledrive.com/host/0B4ZBZOYYKBzERzdYWHVkZWxSS2c"/> | <td><img src="https://googledrive.com/host/0B4ZBZOYYKBzERzdYWHVkZWxSS2c"/> | ||
- | <img class="hidden" src="https://googledrive.com/host/0B4ZBZOYYKBzETldtZHBxMTM3Ujg"/><div class="name"></div></td> | + | <img class="hidden" src="https://googledrive.com/host/0B4ZBZOYYKBzETldtZHBxMTM3Ujg"/> |
+ | <div class="name"><h4>Josh</h4></div></td> | ||
<td><img src="https://googledrive.com/host/0B4ZBZOYYKBzEOHViLXJJMjVuWTg"/> | <td><img src="https://googledrive.com/host/0B4ZBZOYYKBzEOHViLXJJMjVuWTg"/> | ||
- | <img class="hidden" src="https://googledrive.com/host/0B4ZBZOYYKBzERmpYczlyYU5TTUE"/><div class="name"></div> | + | <img class="hidden" src="https://googledrive.com/host/0B4ZBZOYYKBzERmpYczlyYU5TTUE"/> |
+ | <div class="name"><h4></h4></div> | ||
<td><img src="https://googledrive.com/host/0B4ZBZOYYKBzEZ3dMcXBweFE2X1U"/> | <td><img src="https://googledrive.com/host/0B4ZBZOYYKBzEZ3dMcXBweFE2X1U"/> | ||
- | <img class="hidden" src="https://googledrive.com/host/0B4ZBZOYYKBzET2NBWmlOLVMtaVE"><div class="name"></div></td> | + | <img class="hidden" src="https://googledrive.com/host/0B4ZBZOYYKBzET2NBWmlOLVMtaVE"> |
+ | <div class="name"><h4>Spencer</h4></div></td> | ||
</tr> | </tr> | ||
</table> | </table> | ||
<h4>Photos by Erica Sachse</h4> | <h4>Photos by Erica Sachse</h4> | ||
- | </body> | + | |
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <script src="https://googledrive.com/host/0B4ZBZOYYKBzETkFqdnhMeV9fMzA" ></script> | ||
+ | <script src="https://googledrive.com/host/0B4ZBZOYYKBzEZTdBSFdUV19LYjQ"></script> | ||
+ | |||
+ | <script src="../assets/js/jquery.js"></script> | ||
+ | <script src="../assets/js/bootstrap-transition.js"></script> | ||
+ | <script src="../assets/js/bootstrap-alert.js"></script> | ||
+ | <script src="../assets/js/bootstrap-modal.js"></script> | ||
+ | <script src="../assets/js/bootstrap-dropdown.js"></script> | ||
+ | <script src="../assets/js/bootstrap-scrollspy.js"></script> | ||
+ | <script src="../assets/js/bootstrap-tab.js"></script> | ||
+ | <script src="../assets/js/bootstrap-tooltip.js"></script> | ||
+ | <script src="../assets/js/bootstrap-popover.js"></script> | ||
+ | <script src="../assets/js/bootstrap-button.js"></script> | ||
+ | <script src="../assets/js/bootstrap-collapse.js"></script> | ||
+ | <script src="../assets/js/bootstrap-carousel.js"></script> | ||
+ | <script src="../assets/js/bootstrap-typeahead.js"></script> | ||
+ | <script> | ||
+ | !function ($) { | ||
+ | $(function(){ | ||
+ | // carousel demo | ||
+ | $('#myCarousel').carousel() | ||
+ | |||
+ | $('html, body').animate({ | ||
+ | scrollTop: $(".one").offset().top, | ||
+ | }, '2400'); | ||
+ | }); | ||
+ | |||
+ | $("#two").click(function() { | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $(".two").offset().top, | ||
+ | }, '2400'); | ||
+ | }); | ||
+ | |||
+ | $("#three, #team").click(function() { | ||
+ | $('html, body').animate({ | ||
+ | scrollTop: $(".team").offset().top, | ||
+ | }, '2400'); | ||
+ | }); | ||
+ | |||
+ | $(".team tr td").mouseenter(function(){ | ||
+ | $(this).children(":first").toggleClass("hidden"); | ||
+ | $(this).children(":nth-child(2)").toggleClass("hidden"); | ||
+ | |||
+ | |||
+ | }); | ||
+ | |||
+ | $(".team tr td").mouseenter(function(){ | ||
+ | $(this).children(":nth-child(3)").show(); | ||
+ | $(this).children(":nth-child(3)").animate({ | ||
+ | height: '50px', | ||
+ | display: 'inline-block' | ||
+ | }); | ||
+ | |||
+ | }); | ||
+ | |||
+ | |||
+ | $(".team tr td").mouseleave(function(){ | ||
+ | $(this).children(":nth-child(2)").toggleClass("hidden"); | ||
+ | $(this).children(":first").toggleClass("hidden"); | ||
+ | $(this).children(":nth-child(3)").css("height","0px"); | ||
+ | $(this).children(":nth-child(3)").hide(); | ||
+ | |||
+ | }); | ||
+ | }(window.jQuery) | ||
+ | </script> | ||
+ | <script src="../assets/js/holder/holder.js"></script> | ||
+ | </body> | ||
</html> | </html> |
Revision as of 21:36, 8 July 2013
The project
A brief overview
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. Learn more
Meet the Bunch
|
|
|
Daniel |
Mahamad |
|
Josh |
|
Spencer |