Team:Penn/Team
From 2013.igem.org
(Difference between revisions)
(Created page with "<!-- *** What falls between these lines is the Alert Box! You can remove it from your pages once you have read and understood the alert *** --> <html> <div id="box" style="widt...") |
|||
Line 1: | Line 1: | ||
- | |||
- | |||
<html> | <html> | ||
- | < | + | <head> |
- | < | + | <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; | ||
+ | } | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | + | /* 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; | ||
+ | } | ||
+ | |||
+ | .carousel img { | ||
+ | position: absolute; | ||
+ | top: -100px; | ||
+ | left: 0; | ||
+ | min-width: 100%; | ||
+ | |||
+ | } | ||
- | + | .carousel-caption { | |
- | { | + | background-color: rgba(0,0,0,.4); |
- | + | position: static; | |
- | + | max-width: 500px; | |
+ | padding: 5 20px; | ||
+ | margin-top: 300px; | ||
+ | } | ||
+ | |||
+ | .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; | ||
+ | } | ||
+ | |||
+ | |||
+ | </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"> | ||
+ | <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"> | ||
+ | <span class="icon-bar"></span> | ||
+ | <span class="icon-bar"></span> | ||
+ | <span class="icon-bar"></span> | ||
+ | </button> | ||
+ | <a class="brand" href="https://2013.igem.org/Team:Penn">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"> | ||
+ | |||
+ | <!-- 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?id=1128">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="https://2013.igem.org/Team:Penn/HumanPractices">Human Practices</a></li> | ||
+ | <li><a href="https://2013.igem.org/Team:Penn/Notebook">Notebook</a></li> | ||
+ | <li class="dropdown"> | ||
+ | <a href="#" class="dropdown-toggle" data-toggle="dropdown">Project <b class="caret"></b></a> | ||
+ | <ul class="dropdown-menu"> | ||
+ | |||
+ | <li><a href="https://2013.igem.org/Team:Penn/Project">Project</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 --> | ||
+ | |||
+ | |||
+ | <!--Overview--> | ||
+ | <div class="four"> | ||
+ | <div class="hero-unit" style="text-align:left;"> | ||
+ | <h1>Team</h1> | ||
+ | <p>About us</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> | ||
+ | |||
+ | <!--Team stuff--> | ||
+ | <h2 style="text-align: center;">Meet the Bunch</h2> | ||
+ | <table class="team" cellpadding="5"> | ||
+ | <tr> | ||
+ | <td> | ||
+ | <img id="flipbox" src="https://googledrive.com/host/0B4ZBZOYYKBzETDEzdFdSOC1ZVW8"/> | ||
+ | <div class="name"><h4></h4></div></td> | ||
+ | |||
+ | <td> | ||
+ | <img src="https://googledrive.com/host/0B4ZBZOYYKBzETldtZHBxMTM3Ujg"/> | ||
+ | <div class="name"><h4>Josh</h4></div></td> | ||
+ | |||
+ | |||
+ | |||
+ | <td> | ||
+ | <img src="https://googledrive.com/host/0B4ZBZOYYKBzEU3VZUnNOdWFqYVE"/> | ||
+ | <div class="name"><h4>Danielle</h4></div></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | |||
+ | <td> | ||
+ | <img src="https://googledrive.com/host/0B4ZBZOYYKBzEZXRRMlRtODR2OVk/"> | ||
+ | <div class="name"><h4>Daniel</h4></div></td> | ||
+ | |||
+ | <td><h4><!--Center--></h4></td> | ||
+ | <td> | ||
+ | <img src="https://googledrive.com/host/0B4ZBZOYYKBzELXJ5NlFKUkJXRnc"/> | ||
+ | <div class="name"><h4>Mahamad</h4></div></td> | ||
+ | </tr> | ||
+ | <tr> | ||
+ | <td> | ||
+ | <img src="https://googledrive.com/host/0B4ZBZOYYKBzERmpYczlyYU5TTUE"/> | ||
+ | <div class="name"><h4></h4></div> | ||
+ | |||
+ | <td> | ||
+ | <img src="https://googledrive.com/host/0B4ZBZOYYKBzEZ0tlUUViY2Z6Ymc"/> | ||
+ | <div class="name"><h4></h4></div></td> | ||
+ | |||
+ | <td> | ||
+ | <img src="https://googledrive.com/host/0B4ZBZOYYKBzET2NBWmlOLVMtaVE"> | ||
+ | <div class="name"><h4>Spencer</h4></div></td> | ||
+ | </tr> | ||
+ | </table> | ||
+ | <h4>Photos by Erica Sachse</h4> | ||
- | ''' | + | |
+ | </div> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | <script src="https://googledrive.com/host/0B4ZBZOYYKBzETkFqdnhMeV9fMzA" ></script> | ||
+ | <script src="https://googledrive.com/host/0B4ZBZOYYKBzEZTdBSFdUV19LYjQ"></script> | ||
+ | <script src="https://googledrive.com/host/0B4ZBZOYYKBzEOFVQV0ZLWEZqN2M"></script></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(); | ||
+ | |||
+ | });*/ | ||
+ | |||
+ | /*Temporary toggle that doesn't really work*/ | ||
+ | var t = 2; | ||
+ | $("td").click(function(){ | ||
+ | if (t==2) { | ||
+ | $(this).flip({direction: 'tb', | ||
+ | content: 'Name/description'}); | ||
+ | t=t-1; | ||
+ | } | ||
+ | else { | ||
+ | $(this).revertFlip(); | ||
+ | t=t+1; | ||
+ | } | ||
+ | }); | ||
+ | |||
+ | |||
- | + | ||
- | + | }(window.jQuery) | |
- | + | </script> | |
- | + | <script src="../assets/js/holder/holder.js"></script> | |
- | + | </body> | |
- | + | </html> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | < | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | </ | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + |
Revision as of 19:23, 12 July 2013
Team
About us
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
|
Josh |
Danielle |
Daniel |
Mahamad |
|
|
|
Spencer |