|
|
Line 1: |
Line 1: |
− | {{Freiburg/CSS}}
| |
− | {{Freiburg/Menubar}}
| |
− |
| |
− | {{Freiburg/wiki_content_start}}
| |
| <html> | | <html> |
| | | |
| <style> | | <style> |
− | | + | /*========= Implementing general font styling ========*/ |
− | /*========= BEGIN: style for navigation bar ==========*/ | + | #bubble_wrapper p { |
− | #project { | + | font-family: 'Roboto',sans-serif; |
− | background: url(https://static.igem.org/mediawiki/2015/d/da/Freiburg_icon_project_active_yellow.png) no-repeat; | + | font-style: normal; |
| + | font-weight: 300; |
| + | font-size: 100%; |
| } | | } |
| | | |
− | #project a {
| |
− | color: #ecdc18;
| |
− | }
| |
| | | |
− | #runningchip { | + | /*===================Amazing Bubble Sidebar STYLE ==========================*/ |
− | left: 18.6%; | + | #bubble_wrapper { |
| + | float:left; |
| + | margin: 5% auto; |
| + | /*position: fixed; top: 10%; */ |
| + | position:fixed; |
| } | | } |
− | /*========= END: style for navigation bar ==========*/
| |
| | | |
− | | + | #bubble_sidebar { |
− | /*========= BEGIN: Linkbutton in slider ============*/
| + | border-radius:50%; |
− | .intro_button a:hover {
| + | background-color: #DDE7F1; |
− | text-decoration: underline; | + | /*border: 1px solid #888;*/ |
− | }
| + | box-shadow: inset -1px -2px 5px 2px #F9F9F9; |
− | | + | |
− | .intro_button a {
| + | |
− | color: #FFF; | + | |
− | }
| + | |
− | | + | |
− | .intro_button {
| + | |
− | margin: 0px auto; | + | |
− | padding: 2px 5px 5px 10px; | + | |
− | width: 180px;
| + | |
− | line-height: 16px;
| + | |
| text-align: center; | | text-align: center; |
− | /*background-color: #326aab;*/ | + | color: #C5162F; |
− | background-color: #0051A2;
| + | |
− | font-size: 14pt;
| + | |
− | border-radius: 8px;
| + | |
− | /*box-shadow: 1px -1px 1px 0px #888;*/
| + | |
− | /*border: 1px solid #F9F9F9;*/
| + | |
− | color: #FFF;
| + | |
| } | | } |
| | | |
− | .menu-arrow{
| + | #bubble_sidebar { |
− | background-image: url("https://static.igem.org/mediawiki/2015/f/ff/Freiburg_submenu_arrow.png");
| + | |
− | background-repeat: no-repeat;
| + | |
− | background-position: 5% 50%;
| + | |
− | background-size: 10px 13px;
| + | |
− | }
| + | |
− | /*========= END: Linkbutton in slider ============*/
| + | |
| | | |
− |
| |
− | /*=========BEGIN: General Styles ==========*/
| |
− | .header_box h1{
| |
− | color: #C5162F;
| |
− | font-size: 40px;
| |
− | margin-bottom: 28px;
| |
− | margin-top: 20px;
| |
− | line-height: 45px;
| |
− | font-weight: 200;
| |
− | padding-top: 0px;
| |
− | padding-bottom: 0px;
| |
− | overflow: visible;
| |
− | text-align: center;
| |
| } | | } |
− | /*=========END: General Styles===========*/
| |
− |
| |
− |
| |
− |
| |
− | @media screen and (min-width: 1000px){
| |
− |
| |
− | /* code adapted from http://www.smashingmagazine.com/2012/04/pure-css3-cycling-slideshow/*/
| |
| | | |
− | #slider { | + | #bubble_sidebar p { |
− | height: 500px;
| + | margin: 0; |
− | width: 910px;
| + | /*padding: 35px 0px 0px 0px;*/ |
− | overflow: visible;
| + | vertical-align: middle; |
− | position: relative;
| + | display: inline-block; |
| + | zoom: 1; |
| + | *display: inline; |
| } | | } |
| | | |
− | /* hides everything outside the slider box */ | + | #bubble_sidebar span { |
− | #mask {
| + | margin: 0; |
− | overflow: hidden; | + | /*padding: 35px 0px 0px 0px;*/ |
− | height: 500px; | + | vertical-align: middle; |
| + | display: inline-block; |
| + | zoom: 1; |
| + | *display: inline; |
| } | | } |
| | | |
− | /* initialize position for positioning slides outside the slider */
| + | .bubble1 { |
− | #slider ul {
| + | width: 110px; |
− | margin: 0;
| + | height: 110px; |
− | padding: 0;
| + | |
− | position: relative;
| + | |
| } | | } |
| | | |
− | /* define image properties and position them outside the slider mask */
| + | .bubble1 span { |
− | #slider li {
| + | height: 110px; |
− | width: 900px; /* Width slide */
| + | |
− | height: 500px; /* Height slide */
| + | |
− | position: absolute;
| + | |
− | right: 0; /* Original Position - Outside of the Slider */
| + | |
− | list-style: none;
| + | |
| } | | } |
| | | |
− | | + | .bubble2 { |
− | #first,
| + | width: 100px; |
− | #second,
| + | height: 100px; |
− | #third,
| + | margin-left: 60px; |
− | #fourth,
| + | |
− | #fifth,
| + | |
− | #sixth,
| + | |
− | #seventh,
| + | |
− | #eightth {
| + | |
− | left: -1000px;
| + | |
− | -ms-transition: tranform 1s ease;
| + | |
− | -webkit-transition: transform 1s ease;
| + | |
− | transition: transform 1s ease;
| + | |
− | font-size: 100%;
| + | |
| } | | } |
| | | |
− | #first{left: 0;}
| + | .bubble2 span { |
− | #third{z-index : -100;}
| + | height: 100px; |
− | #sixth{z-index: -100;}
| + | |
− | #fifth{z-index: -100;}
| + | |
− | #fourth{z-index: -100}
| + | |
− | #seventh{z-index: -100;}
| + | |
− | #eightth{z-index: -100; left: 1000px}
| + | |
− | | + | |
− | .container{ | + | |
− | position: relative;
| + | |
− | height: 500px; | + | |
− | margin: 3% auto;
| + | |
− | width: 1000px;
| + | |
| } | | } |
| | | |
− | #buttonleft {
| + | .bubble3 { |
− | z-index: 200;
| + | width: 90px; |
− | position: absolute;
| + | height: 90px; |
− | top: 190px;
| + | margin-left: 20px; |
− | left: 0;
| + | margin-top: 5px; |
| } | | } |
| | | |
− | #buttonright{
| + | .bubble3 span { |
− | z-index: 200;
| + | height: 90px; |
− | position: absolute;
| + | |
− | right: 0;
| + | |
− | top: 190px;
| + | |
| } | | } |
| | | |
− | #buttonleft img,
| + | </style> |
− | #buttonright img{
| + | |
− | width: 50px;
| + | |
− | }
| + | |
| | | |
− | #content-slider{
| |
− | position: absolute;
| |
− | top:0;
| |
− | left:50px
| |
− | }
| |
− |
| |
− |
| |
− | #buttonright:hover,
| |
− | #buttonleft:hover{
| |
− | cursor: pointer;
| |
− | cursor: hand;
| |
− | }
| |
− |
| |
− | .artboard{
| |
− | box-sizing: border-box;
| |
− | height: 470px;
| |
− | border-radius: 60px;
| |
− | background-color: #FCFCFC;
| |
− | box-shadow: 1px 1px 10px rgb(136, 136, 136);
| |
− | margin: 5px;
| |
− | border: 2px solid rgb(0, 81, 162);
| |
− | }
| |
− |
| |
− | .slidertext p{
| |
− | margin-bottom: 0;
| |
− | }
| |
− |
| |
− | .slidertext h1 {
| |
− | text-align: center;
| |
− | }
| |
− |
| |
− | .slidertext.indent{
| |
− | clear: both;
| |
− | margin-left: 15%;
| |
− | margin-top: 0;
| |
− | width: 290px;
| |
− | }
| |
− |
| |
− | .dummy-image{
| |
− | background-color: black;
| |
− | height: 400px;
| |
− | width: 350px;
| |
− | }
| |
− |
| |
− | /* ============= BEGIN: Styling for tree-like structure =============== */
| |
− |
| |
− | .floatcontainer{
| |
− | float: left;
| |
− | }
| |
− |
| |
− | .container{
| |
− | clear: both;
| |
− | }
| |
− |
| |
− | .transparent_container{
| |
− | overflow: hidden
| |
− | }
| |
− |
| |
− | #content_box1{
| |
− | margin-left: 15%;
| |
− | }
| |
− |
| |
− | #content_box2{
| |
− | margin-right: 15%
| |
− | }
| |
− |
| |
− | #content_box3{
| |
− | margin-left: 15%;
| |
− | }
| |
− |
| |
− | #leftimage img{
| |
− | width: 450px;
| |
− | }
| |
− |
| |
− | } /* end of media query */
| |
− |
| |
− | .sliderimage{
| |
− | float: right;
| |
− | margin: 3% 70px 3% 25px;
| |
− | width: 350px
| |
− | }
| |
− |
| |
− | .slidertext{
| |
− | margin: 3% 25px 0 65px;
| |
− | width: 350px;
| |
− | text-align: justify;
| |
− | line-height: 1;
| |
− | float: left;
| |
− | }
| |
− |
| |
− |
| |
− | /* ============= END: Styling for tree-like structure =============== */
| |
− |
| |
− | </style>
| |
| | | |
| | | |
| <script> | | <script> |
− | $(document).ready(function(){
| |
| | | |
− | var distance = 2;
| + | $().ready(function() { |
− | // see: http://atomicrobotdesign.com/blog/web-development/how-to-disable-a-button-until-a-jquery-animation-has-finished/ //
| + | $(function() { |
− | // bind the button to the function, so it can be unbound in the code and the button isnt clickable any more //
| + | $.fn.scrollBottom = function() { |
− | $("#buttonleft").bind("click", moveleft);
| + | return $(document).height() - this.scrollTop() - this.height(); |
− | function moveleft(e) {
| + | }; |
− | // unbind the button // | + | |
− | $("#buttonleft").unbind();
| + | |
− | console.log("Click "+distance); | + | |
| | | |
− | if (distance == 1) { | + | var $el = $('#bubble_wrapper>div'); |
− | console.log("Distance: "+distance);
| + | var $window = $(window); |
− | $('#first').css({"transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 2 first */
| + | |
− | $('#second').css({"z-index": "100"}); /* begin second */
| + | |
− | $('#third').css({});
| + | |
− | $('#fourth').css({});
| + | |
− | $('#fifth').css({});
| + | |
− | $('#sixth').css({});
| + | |
− | $('#seventh').css({"z-index": "-100", "transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 4 seventh */
| + | |
− | $('#eightth').css({"transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 3 eightth */
| + | |
− | distance = 2;
| + | |
− | }
| + | |
| | | |
− | else if (distance ==2) {
| |
− | console.log("Distance: "+distance);
| |
− | $('#first').css({"transform": "translateX(1000px)", "-webkit-transform": "translateX(1000px)", "-ms-transform": "translateX(1000px)"}); /* 3 first */
| |
− | $('#second').css({"transform": "translateX(1000px)", "-webkit-transform": "translateX(1000px)", "-ms-transform": "translateX(1000px)"}); /* 2 second */
| |
− | $('#third').css({"z-index": "100"}); /* begin third */
| |
− | $('#fourth').css({});
| |
− | $('#fifth').css({});
| |
− | $('#sixth').css({});
| |
− | $('#seventh').css({});
| |
− | $('#eightth').css({"z-index": "-100", "transform": "translateX(-2000px)", "-webkit-transform": "translateX(-2000px)", "-ms-transform": "translateX(-2000px)"}); /* 4 eightth */
| |
− | distance = 3;
| |
− | }
| |
| | | |
− | else if (distance ==3) {
| |
− | console.log("Distance: "+distance);
| |
− | $('#first').css({"z-index": "-100", "transform": "translateX(-1000px)", "-webkit-transform": "translateX(-1000px)", "-ms-transform": "translateX(-1000px)", "-webkit-transform": "translateX(-1000px)", "-ms-transform": "translateX(-1000px)"}); /* 4 first */
| |
− | $('#second').css({"transform": "translateX(2000px)", "-webkit-transform": "translateX(2000px)", "-ms-transform": "translateX(2000px)"}); /* 3 second */
| |
− | $('#third').css({"transform": "translateX(1000px)", "-webkit-transform": "translateX(1000px)", "-ms-transform": "translateX(1000px)"}); /* 2 third */
| |
− | $('#fourth').css({"z-index": "100"}); /* begin fourth */
| |
− | $('#fifth').css({});
| |
− | $('#sixth').css({});
| |
− | $('#seventh').css({});
| |
− | $('#eightth').css({});
| |
− | distance = 4;
| |
− | }
| |
| | | |
− | else if (distance ==4) {
| |
− | console.log("Distance: "+distance);
| |
− | $('#first').css({});
| |
− | $('#second').css({"z-index": "-100", "transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 4 second */
| |
− | $('#third').css({"transform": "translateX(2000px)", "-webkit-transform": "translateX(2000px)", "-ms-transform": "translateX(2000px)"}); /* 3 third */
| |
− | $('#fourth').css({"transform": "translateX(1000px)", "-webkit-transform": "translateX(1000px)", "-ms-transform": "translateX(1000px)"}); /* 2 fourth */
| |
− | $('#fifth').css({"z-index": "100"}); /* begin fifth */
| |
− | $('#sixth').css({});
| |
− | $('#seventh').css({});
| |
− | $('#eightth').css({});
| |
− | distance = 5;
| |
− | }
| |
| | | |
− | else if (distance ==5) { | + | $window.bind("scroll resize", function() { |
− | console.log("Distance: "+distance);
| + | var gap = $window.height() - $el.height() - 370; |
− | $('#first').css({});
| + | var visibleFoot = 172 - $window.scrollBottom(); |
− | $('#second').css({});
| + | var scrollTop = $window.scrollTop() |
− | $('#third').css({"z-index": "-100", "transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 4 third */
| + | |
− | $('#fourth').css({"transform": "translateX(2000px)", "-webkit-transform": "translateX(2000px)", "-ms-transform": "translateX(2000px)"}); /* 3 fourth */ | + | |
− | $('#fifth').css({"transform": "translateX(1000px)", "-webkit-transform": "translateX(1000px)", "-ms-transform": "translateX(1000px)"}); /* 2 fifth */
| + | |
− | $('#sixth').css({"z-index": "100"}); /* begin sixth */ | + | |
− | $('#seventh').css({});
| + | |
− | $('#eightth').css({}); | + | |
− | distance = 6;
| + | |
− | }
| + | |
| | | |
− | else if (distance == 6) {
| + | if (scrollTop > $document.height() - $window.height() -370){ |
− | console.log("Distance: "+distance);
| + | $el.css({ |
− | $('#first').css({});
| + | top: (172 - scrollTop) + "px", |
− | $('#second').css({}); | + | bottom: "auto" |
− | $('#third').css({});
| + | }); |
− | $('#fourth').css({"z-index" : "-100", "transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 4 fourth */
| + | } |
− | $('#fifth').css({"transform": "translateX(2000px)", "-webkit-transform": "translateX(2000px)", "-ms-transform": "translateX(2000px)"}); /* 3 fifth */
| + | }); |
− | $('#sixth').css({"transform": "translateX(1000px)", "-webkit-transform": "translateX(1000px)", "-ms-transform": "translateX(1000px)"}); /* 2 sixth */
| + | }); |
− | $('#seventh').css({"z-index": "100"}); /* begin seventh */
| + | |
− | $('#eightth').css({});
| + | |
− | distance = 7;
| + | |
− | }
| + | |
− | | + | |
− | else if (distance == 7) {
| + | |
− | console.log("Distance: "+distance);
| + | |
− | $('#first').css({});
| + | |
− | $('#second').css({});
| + | |
− | $('#third').css({});
| + | |
− | $('#fourth').css({});
| + | |
− | $('#fifth').css({"z-index": "-100", "transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 4 fifth */
| + | |
− | $('#sixth').css({"transform": "translateX(2000px)", "-webkit-transform": "translateX(2000px)", "-ms-transform": "translateX(2000px)"}); /* 3 sixth */
| + | |
− | $('#seventh').css({"transform": "translateX(1000px)", "-webkit-transform": "translateX(1000px)", "-ms-transform": "translateX(1000px)"}); /* 2 seventh */
| + | |
− | $('#eightth').css({"z-index": "100"}); /* begin eightth */
| + | |
− | distance = 8;
| + | |
− | }
| + | |
− | | + | |
− | else if (distance == 8) {
| + | |
− | console.log("Distance: "+distance);
| + | |
− | $('#first').css({"z-index": "100"}); /* begin first */
| + | |
− | $('#second').css({});
| + | |
− | $('#third').css({});
| + | |
− | $('#fourth').css({});
| + | |
− | $('#fifth').css({});
| + | |
− | $('#sixth').css({"z-index": "-100", "transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 4 sixth */
| + | |
− | $('#seventh').css({"transform": "translateX(2000px)", "-webkit-transform": "translateX(2000px)", "-ms-transform": "translateX(2000px)"}); /* 3 seventh */
| + | |
− | $('#eightth').css({"transform": "translateX(-1000px)", "-webkit-transform": "translateX(-1000px)", "-ms-transform": "translateX(-1000px)"}); /* 2 eightth */
| + | |
− | distance = 1;
| + | |
− | }
| + | |
− | | + | |
− | // see: http://stackoverflow.com/questions/1836105/how-to-wait-5-seconds-with-jquery //
| + | |
− | // wait until css-animation has finished. time is specified in css-transition property //
| + | |
− | setTimeout(function(){
| + | |
− | $("#buttonleft").bind("click", moveleft);
| + | |
− | }, 1000);
| + | |
− | }
| + | |
− | | + | |
− | | + | |
− | $("#buttonright").bind("click", moveright);
| + | |
− | function moveright(e) {
| + | |
− | | + | |
− | $("#buttonright").unbind();
| + | |
− | console.log("Click "+distance);
| + | |
− | | + | |
− | if (distance == 1) {
| + | |
− | $('#first').css({"z-index": "-100"}); /* 1 second */
| + | |
− | $('#second').css({});
| + | |
− | $('#third').css({});
| + | |
− | $('#fourth').css({});
| + | |
− | $('#fifth').css({});
| + | |
− | $('#sixth').css({"transform": "translateX(2000px)", "-webkit-transform": "translateX(2000px)", "-ms-transform": "translateX(2000px)"}); /* 6 third */
| + | |
− | $('#seventh').css({"z-index": "100","transform": "translateX(1000px)", "-webkit-transform": "translateX(1000px)", "-ms-transform": "translateX(1000px)"}); /* 7 third */
| + | |
− | $('#eightth').css({"transform": "translateX(-2000px)", "-webkit-transform": "translateX(-2000px)", "-ms-transform": "translateX(-2000px)"}); /* 8 first */
| + | |
− | distance = 8; | + | |
− | }
| + | |
− | | + | |
− | else if (distance ==2) { | + | |
− | console.log("Distance: "+distance);
| + | |
− | $('#first').css({"transform": "translateX(-1000px)", "-webkit-transform": "translateX(-1000px)", "-ms-transform": "translateX(-1000px)"}); /* 1 first */
| + | |
− | $('#second').css({"z-index": "-100"}); /* 2 second */
| + | |
− | $('#third').css({});
| + | |
− | $('#fourth').css({});
| + | |
− | $('#fifth').css({});
| + | |
− | $('#sixth').css({});
| + | |
− | $('#seventh').css({"transform": "translateX(2000px)", "-webkit-transform": "translateX(2000px)", "-ms-transform": "translateX(2000px)"}); /* 7 third */
| + | |
− | $('#eightth').css({"z-index": "100","transform": "translateX(-1000px)", "-webkit-transform": "translateX(-1000px)", "-ms-transform": "translateX(-1000px)"}); /* 8 fourth */
| + | |
− | distance = 1;
| + | |
− | }
| + | |
− | | + | |
− | else if (distance ==3) {
| + | |
− | console.log("Distance: "+distance);
| + | |
− | $('#first').css({"z-index": "100","transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 1 fourth */
| + | |
− | $('#second').css({"transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 2 first */
| + | |
− | $('#third').css({"z-index": "-100"}); /* 3 second */
| + | |
− | $('#fourth').css({});
| + | |
− | $('#fifth').css({});
| + | |
− | $('#sixth').css({});
| + | |
− | $('#seventh').css({});
| + | |
− | $('#eightth').css({"transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 8 third */
| + | |
− | distance = 2;
| + | |
− | }
| + | |
− | | + | |
− | else if (distance ==4) {
| + | |
− | console.log("Distance: "+distance);
| + | |
− | $('#first').css({"transform": "translateX(1000px)", "-webkit-transform": "translateX(1000px)", "-ms-transform": "translateX(1000px)"}); /* 1 third */
| + | |
− | $('#second').css({"z-index": "100","transform": "translateX(1000px)", "-webkit-transform": "translateX(1000px)", "-ms-transform": "translateX(1000px)"}); /* 2 fourth */
| + | |
− | $('#third').css({"transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /*3 first */
| + | |
− | $('#fourth').css({"z-index": "-100"}); /* 4 second*/
| + | |
− | $('#fifth').css({});
| + | |
− | $('#sixth').css({});
| + | |
− | $('#seventh').css({});
| + | |
− | $('#eightth').css({});
| + | |
− | distance = 3;
| + | |
− | }
| + | |
− | | + | |
− | else if (distance ==5) {
| + | |
− | console.log("Distance: "+distance);
| + | |
− | $('#first').css({});
| + | |
− | $('#second').css({"transform": "translateX(2000px)", "-webkit-transform": "translateX(2000px)", "-ms-transform": "translateX(2000px)"}); /* 2 third */
| + | |
− | $('#third').css({"z-index": "100","transform": "translateX(1000px)", "-webkit-transform": "translateX(1000px)", "-ms-transform": "translateX(1000px)"}); /* 3 fourth */
| + | |
− | $('#fourth').css({"transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 4 first */
| + | |
− | $('#fifth').css({"z-index": "-100"}); /* 5 second */
| + | |
− | $('#sixth').css({});
| + | |
− | $('#seventh').css({});
| + | |
− | $('#eightth').css({});
| + | |
− | distance = 4;
| + | |
− | }
| + | |
− | | + | |
− | else if (distance == 6) {
| + | |
− | console.log("Distance: "+distance);
| + | |
− | $('#first').css({});
| + | |
− | $('#second').css({});
| + | |
− | $('#third').css({"transform": "translateX(2000px)", "-webkit-transform": "translateX(2000px)", "-ms-transform": "translateX(2000px)"}); /* 3 third */
| + | |
− | $('#fourth').css({"z-index": "100","transform": "translateX(1000px)", "-webkit-transform": "translateX(1000px)", "-ms-transform": "translateX(1000px)"}); /* 4 fourth */
| + | |
− | $('#fifth').css({"transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 5 first */
| + | |
− | $('#sixth').css({"z-index": "-100"}); /* 6 second */
| + | |
− | $('#seventh').css({});
| + | |
− | $('#eightth').css({});
| + | |
− | distance = 5;
| + | |
− | }
| + | |
− | | + | |
− | else if (distance == 7) {
| + | |
− | console.log("Distance: "+distance);
| + | |
− | $('#first').css({});
| + | |
− | $('#second').css({});
| + | |
− | $('#third').css({});
| + | |
− | $('#fourth').css({"transform": "translateX(2000px)", "-webkit-transform": "translateX(2000px)", "-ms-transform": "translateX(2000px)"}); /* 4 third */
| + | |
− | $('#fifth').css({"z-index": "100","transform": "translateX(1000px)", "-webkit-transform": "translateX(1000px)", "-ms-transform": "translateX(1000px)"}); /* 5 fourth */
| + | |
− | $('#sixth').css({"transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 6 first */
| + | |
− | $('#seventh').css({"z-index": "-100"}); /* 7 second */
| + | |
− | $('#eightth').css({});
| + | |
− | distance = 6;
| + | |
− | }
| + | |
− | | + | |
− | else if (distance == 8) {
| + | |
− | console.log("Distance: "+distance);
| + | |
− | $('#first').css({});
| + | |
− | $('#second').css({});
| + | |
− | $('#third').css({});
| + | |
− | $('#fourth').css({});
| + | |
− | $('#fifth').css({"transform": "translateX(2000px)", "-webkit-transform": "translateX(2000px)", "-ms-transform": "translateX(2000px)"}); /* 5 third */
| + | |
− | $('#sixth').css({"z-index": "100","transform": "translateX(1000px)", "-webkit-transform": "translateX(1000px)", "-ms-transform": "translateX(1000px)"}); /* 6 fourth */
| + | |
− | $('#seventh').css({"transform": "translateX(0)", "-webkit-transform": "translateX(0)", "-ms-transform": "translateX(0)"}); /* 7 first */
| + | |
− | $('#eightth').css({"z-index": "-100"}); /* 8 second */
| + | |
− | distance = 7;
| + | |
− | }
| + | |
− | | + | |
− | setTimeout(function(){
| + | |
− | $("#buttonright").bind("click", moveright);
| + | |
− | }, 1000);
| + | |
− | }
| + | |
| }); | | }); |
− | </script>
| |
− |
| |
− | <!-- BEGIN Responsive Layout -->
| |
− |
| |
− | <style type="text/css">
| |
− |
| |
− | @media screen and (max-width: 1000px){
| |
− | #leftimage{
| |
− | display: none;
| |
− | }
| |
− |
| |
− | #buttonleft,
| |
− | #buttonright{
| |
− | display: none;
| |
− | }
| |
− |
| |
− | .slidertext,
| |
− | .sliderimage{
| |
− | width: 46%;
| |
− | margin: auto 2% auto 2%;
| |
− | }
| |
− |
| |
− | #mask ul{
| |
− | margin-left: 0;
| |
− | }
| |
− | #content_box1,
| |
− | #content_box2,
| |
− | #content_box3{
| |
− | margin-right: 10px;
| |
− | margin-left: 10px;
| |
− | }
| |
− |
| |
− | .transparent_container{
| |
− | overflow: visible;
| |
− | }
| |
− |
| |
− | #first,
| |
− | #second,
| |
− | #third,
| |
− | #fourth,
| |
− | #fifth,
| |
− | #sixth,
| |
− | #seventh,
| |
− | #eightth {
| |
− | left: 0;
| |
− | font-size: 100%;
| |
− | z-index: 0;
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | @media screen and (max-width: 600px){
| |
− |
| |
− | .sliderimage img{
| |
− | display: none;
| |
− | }
| |
− |
| |
− | .slidertext {
| |
− | width: 96%;
| |
− | margin: auto 2% auto 2%;
| |
− | }
| |
− |
| |
− | }
| |
− |
| |
− | </style>
| |
− |
| |
− | <script type="text/javascript">
| |
− |
| |
− | $(document).ready(changesliderclass);
| |
− | $(window).resize(changesliderclass);
| |
− |
| |
− | function changesliderclass() {
| |
− | if ($(window).width() < 1000) {
| |
− | console.log('changesliderclass');
| |
− | $('#first').attr('class', 'content_box');
| |
− | $('#second').attr('class', 'content_box');
| |
− | $('#third').attr('class', 'content_box');
| |
− | $('#fourth').attr('class', 'content_box');
| |
− | $('#fifth').attr('class', 'content_box');
| |
− | $('#sixth').attr('class', 'content_box');
| |
− | $('#seventh').attr('class', 'content_box');
| |
− | $('#eightth').attr('class', 'content_box');
| |
− |
| |
− | $('#first').removeAttr('style');
| |
− | $('#second').removeAttr('style');
| |
− | $('#third').removeAttr('style');
| |
− | $('#fourth').removeAttr('style');
| |
− | $('#fifth').removeAttr('style');
| |
− | $('#sixth').removeAttr('style');
| |
− | $('#seventh').removeAttr('style');
| |
− | $('#eightth').removeAttr('style');
| |
− |
| |
− | } else {
| |
− | console.log('dont changesliderclass');
| |
− | $('#first').removeAttr('class');
| |
− | $('#second').removeAttr('class');
| |
− | $('#third').removeAttr('class');
| |
− | $('#fourth').removeAttr('class');
| |
− | $('#fifth').removeAttr('class');
| |
− | $('#sixth').removeAttr('class');
| |
− | $('#seventh').removeAttr('class');
| |
− | $('#eightth').removeAttr('class');
| |
− | }
| |
− | }
| |
| | | |
| </script> | | </script> |
| | | |
− | <div class="todo_box">
| |
− | 1)Linkbutton am Ende von Concept einfügen (-->Sabine)<br>
| |
− | 2)Slider-Bild für Outlook und Slider-Bild für ProtPur neu anordnen (-->Rabea)<br>
| |
− | </div>
| |
| | | |
| + | <div class="content_background_wrapper"> |
| + | <div class="central_position_wrap"> |
| | | |
− | <div class="header_box"> | + | <div id="bubble_wrapper"> |
− | <h1 class="headerbox">The DiaCHIP - A Versatile Detection System</h1> | + | <div id="bubble_sidebar" class="bubble1"> |
− | </div> | + | <span></span><p><a href="">text</a></p> |
| + | </div> |
| | | |
− | <div class="float_barrier"></div> | + | <div id="bubble_sidebar" class="bubble2"> |
| + | <span></span><p><a href="">text</a></p> |
| + | </div> |
| | | |
− | <div class="floatcontainer"> | + | <div id="bubble_sidebar" class="bubble3"> |
| + | <span></span><p><a href="">text</a></p> |
| + | </div> |
| + | </div> |
| | | |
− | <div id='leftimage'> | + | <div class="background_image_left"><img src="https://static.igem.org/mediawiki/2015/8/85/Freiburg_wiki_background_2_parted_left.png"></div> |
− | <img align="left" alt="DiaCHIP_Sabi" src="https://static.igem.org/mediawiki/2015/a/af/Freiburg_DiaCHIP_Sabi.png" height="1430px">
| + | |
− | </div>
| + | |
| | | |
− | <div class="transparent_container"> | + | <div class="background_image_right"><img src="https://static.igem.org/mediawiki/2015/f/f4/Freiburg_wiki_background_2_parted_right.png"></div> |
− | <div id="content_box1" class="content_box">
| + | |
− | <h2>Project Motivation</h2>
| + | |
− | <p>
| + | |
− | Serological tests are a key element in modern medicine. Especially for detection and identification of infectious diseases, performing several blood tests is inevitable. Testing for more than one disease at a time or diagnosing a patient with diffuse symptoms usually requires more than one serological test. Every single test that is performed increases the time of waiting for a result as well as the bill. In case of dangerous infectious diseases every minute until the onset of the appropriate treatment is important for survival. What if there was a possibility to combine all this testing in one single chip which is affordable for everyone?
| + | |
− | </p>
| + | |
− | </div>
| + | |
− | </div>
| + | |
| | | |
| + | <div class="page_content"> |
| | | |
− | <div class="transparent_container">
| + | </html> |
− | <div id="content_box2" class="content_box">
| + | |
− | <h2 style="text-align:left">Detecting Antigen-Antibody Interactions</h2>
| + | |
− | <p>
| + | |
− | The DiaCHIP is an innovative tool to screen for a broad range of antibodies present in serum. Antibodies serve as indicator for an immune response towards an infectious disease or a successful vaccination. They also play an important role in the diagnosis of autoimmune diseases. Identifying diseases by detecting disease associated antibodies in a patient's serum is an established method in modern diagnostics. <br>
| + | |
− | Based on the very same principle, the DiaCHIP enables to simultaneously screen for multiple diseases at a time, thereby reducing time and costs of a diagnosis. Especially the ability to differentiate between life threatening diseases and mild infections within a short time bears the potential to save lifes.
| + | |
− | </p>
| + | |
− | </div>
| + | |
− | </div>
| + | |
| | | |
− | <div class="transparent_container">
| + | {{Freiburg/CSS}} |
− | <div id="content_box3" class="content_box">
| + | {{Freiburg/Menubar}} |
− | <h2>The Concept</h2>
| + | {{Freiburg/wiki_content_start}} |
− | <p>
| + | |
− | The key feature of the DiaCHIP concept is the combination of on-demand protein synthesis of disease related antigens and a novel method for label-free detection - all this packed into one device. The idea is to overcome challenges commonly found in protein array production and preservation. In addition, results can be obtained in a time- and cost-efficient manner; with a device simple enough to be rebuilt by future iGEM teams.
| + | |
− | </p>
| + | |
− | <p><a href="https://2015.igem.org/Team:Freiburg/Project/System" title="System Overview">Step by Step Overview</a></p>
| + | |
− | </div>
| + | |
− | </div>
| + | |
| | | |
− | </div> | + | <html> |
| | | |
− | <div class="float_barrier"></div> | + | <div class="content_box" style="height: 1200px"></div> |
| | | |
| + | </html> |
| | | |
− |
| |
− | <!---------------BEGIN SLIDER------------------>
| |
− | <div class="container">
| |
− | <div id="buttonright">
| |
− | <img src="https://static.igem.org/mediawiki/2015/b/b3/Freiburg_lightbulb_slider_30.png">
| |
− | </div>
| |
− | <div id="buttonleft">
| |
− | <img src="https://static.igem.org/mediawiki/2015/4/4d/Freiburg_lightbulb_slider_27.png">
| |
− | </div>
| |
− | <div id="content-slider">
| |
− | <div id="slider"> <!-- Slider container -->
| |
− | <div id="mask"> <!-- Mask -->
| |
− | <ul>
| |
− |
| |
− | <li id="first" class="firstanimation"> <!-- ID for tooltip and class for animation -->
| |
− | <div class="artboard">
| |
− | <div class="sliderimage" style="margin-top:10%">
| |
− | <img src="https://static.igem.org/mediawiki/2015/6/6a/Freiburg_DiaCHIP_overview_scaled.jpg" width="350px">
| |
− | </div>
| |
− | <div class="slidertext">
| |
− | <h1>The DiaCHIP - System Overview</h1>
| |
− | <p>The core of our new diagnostic device consists of two slides that form a microfluidic chamber. Therein, an antigen array can be generated on demand on the bottom slide. By flushing the chamber with a blood sample, antibodies present in the sample bind to corresponding antigens. This interaction is detected in real-time using the optical detection method iRIf.</p>
| |
− | <p>
| |
− | <div class="intro_button menu-arrow">
| |
− | <a href="https://2015.igem.org/Team:Freiburg/Project/System" title="System Overview">Step by Step Overview</a>
| |
− | </div>
| |
− | </p>
| |
− |
| |
− | </div>
| |
− | </div>
| |
− | </li>
| |
− |
| |
− |
| |
− | <li id="second" class="secondanimation">
| |
− | <div class="artboard">
| |
− | <div class="sliderimage">
| |
− | <img src="" width="350px">
| |
− | </div>
| |
− | <div class="slidertext">
| |
− | <h1>Outlook</h1>
| |
− | <p>Our results provide a proof of concept that the functional priciple of the DiaCHIP is suitable for antibody detection in complex samples. Although further improvements have to be done in terms of reliablitiy and quantification, various additional applications are conceivable. Representing a way to reduce time and cost required for testing a single patient, the DiaCHIP holds the potential to enhance and enlighten future diagnostics.
| |
− | </p>
| |
− | <p>
| |
− | <div class="intro_button menu-arrow">
| |
− | <a href="https://2015.igem.org/Team:Freiburg/Project/Future_Directions" title="Future_Directions">DiaCHIP in the <br>Future</a>
| |
− | </div>
| |
− | </p>
| |
− | </li>
| |
− |
| |
− |
| |
− | <li id="third" class="thirdanimation">
| |
− | <div class="artboard">
| |
− | <div class="sliderimage" style="margin:6% auto">
| |
− | <img src="https://static.igem.org/mediawiki/2015/d/db/Freiburg_iRiF_slider.png" width="70%">
| |
− | </div>
| |
− | <div class="slidertext">
| |
− | <h1>Optical Detection: iRIf</h1>
| |
− | <p>One disadvantage of currently available serological tests is the need for secondary labels that allow the detection of disease markers. Making use of an optical method based on the interference of light, the DiaCHIP can detect specific binding events on a protein microarray without further labeling. Read more about this innovative tool and the physics behind it.
| |
− | </p>
| |
− |
| |
− | <p>
| |
− | <div class="intro_button menu-arrow">
| |
− | <a href="https://2015.igem.org/Team:Freiburg/Project/iRIf" title="Optical Detection">iRIf Principle and Physics</a>
| |
− | </div>
| |
− | </p>
| |
− |
| |
− | </div>
| |
− | </div>
| |
− | </li>
| |
− |
| |
− |
| |
− | <li id="fourth" class="fourthanimation">
| |
− | <div class="artboard">
| |
− | <div class="sliderimage" style="margin:8% auto">
| |
− | <img src="https://static.igem.org/mediawiki/2015/0/03/Freiburg_specific_surface_RJ_preview.jpg" width="230px">
| |
− | </div>
| |
− | <div class="slidertext">
| |
− | <h1>Surface Chemistry</h1>
| |
− | <p>The production of a customized protein microarray in the DiaCHIP is based on selective immobilization of antigens on a glass slide. Therefore, a specific surface chemistry was established to reduce the proportion of unspecific binding of non-target proteins to a minimum.
| |
− | Read more about the different layer compositions we tested on our way to high specificity.
| |
− | </p>
| |
− |
| |
− | <p>
| |
− | <div class="intro_button menu-arrow">
| |
− | <a href="https://2015.igem.org/Team:Freiburg/Project/Surface_Chemistry" title="Surface Chemistry">Establishing a Specific Surface</a>
| |
− | </div>
| |
− | </p>
| |
− |
| |
− | </div>
| |
− | </div>
| |
− | </li>
| |
− |
| |
− |
| |
− | <li id="fifth" class="fifthanimation">
| |
− | <div class="artboard">
| |
− | <div class="sliderimage">
| |
− | <img src="<!--https://static.igem.org/mediawiki/2015/f/f8/Freiburg_ProtPur_slider.png-->" width="350px">
| |
− | </div>
| |
− | <div class="slidertext">
| |
− | <h1>Protein Purification</h1>
| |
− | <p>Protein expression in the DiaCHIP is mediated by cell-free expression. As this is an advanced method dependent on the optimization of many parameters, we got back to conventional protein purification in <i>E. coli</i> for being able to compare the results of both techniques. <br>
| |
− | Read more about the overexpression and purification of several antigenic peptides.
| |
− | </p>
| |
− |
| |
− | <p style="margin-top:30px">
| |
− | <div class="intro_button menu-arrow">
| |
− | <a href="https://2015.igem.org/Team:Freiburg/Project/Protein_Purification" title="Protein Purification">Purification of Antigens</a>
| |
− | </div>
| |
− | </p>
| |
− |
| |
− | </div>
| |
− | </div>
| |
− | </li>
| |
− |
| |
− |
| |
− | <li id="sixth" class="sixthanimation">
| |
− | <div class="artboard">
| |
− | <div class="sliderimage" style="margin-top:12%">
| |
− | <img src="https://static.igem.org/mediawiki/2015/e/eb/Freiburg_cellfreeexpressioninchamber.jpeg" width="350px">
| |
− | </div>
| |
− | <div class="slidertext">
| |
− | <h1>Cell-Free Expression</h1>
| |
− | <p> A key feature of the DiaCHIP is the capability to produce protein arrays on demand via cell-free expression. To reduce the cost of a DiaCHIP measurement, we produced a cell-free expression system based on an <i>E. coli</i> lysate ourselves. This system is also capable of expressing immobilized DNA sequences. See how this sensitive system was established and optimized.
| |
− | </p>
| |
− | <p>
| |
− | <div class="intro_button menu-arrow">
| |
− | <a href="https://2015.igem.org/Team:Freiburg/Project/Cellfree_Expression" title="Cell-Free expression">Cell-free Antigen Expression</a>
| |
− | </div>
| |
− | </p>
| |
− | </li>
| |
− |
| |
− |
| |
− | <li id="seventh" class="seventhanimation">
| |
− | <div class="artboard">
| |
− | <div class="sliderimage" style="margin:10% 60px 3% 25px">
| |
− | <img src="https://static.igem.org/mediawiki/2015/b/b2/Freiburg_DNAengineering_slider.png" width="350px">
| |
− | </div>
| |
− | <div class="slidertext">
| |
− | <h1>DNA Engineering</h1>
| |
− | <p>Genetic fusion of different antigens and tags is a basic requirement of our project. In order to enable several people to work in parallel we designed a cloning strategy easy to follow and additionally easy to expand for further needs.
| |
− | Read more about combining different cloning methods to reduce efforts in DNA Engineering and the design of an expression vector meeting iGEM requirements.
| |
− | </p>
| |
− |
| |
− | <p style="margin-top:10%">
| |
− | <div class="intro_button menu-arrow">
| |
− | <a href="https://2015.igem.org/Team:Freiburg/Methods/Cloning" title="DNA Engineering">DNA <br>Engineering</a>
| |
− | </div>
| |
− | </p>
| |
− |
| |
− | </div>
| |
− | </div>
| |
− | </li>
| |
− |
| |
− |
| |
− | <li id="eightth" class="eightthanimation">
| |
− | <div class="artboard">
| |
− | <div class="sliderimage" style="margin:10% 60px 3% 25px">
| |
− | <img src="https://static.igem.org/mediawiki/2015/0/0b/Freiburg_ELISA_slider.png" width="350px">
| |
− | </div>
| |
− | <div class="slidertext">
| |
− | <h1>Diagnostics Today</h1>
| |
− | <p>Currently used serological tests are available for a broad range of infectious diseases. However, they meet limitations that restrict an early onset of appropriate treatments which could be life-saving. The necessity of performing several tests to check for more than one disease at once is not only time-consuming but also costly. The DiaCHIP tackles these issues by providing a fast and affordable method for simultaneous testing.
| |
− | </p>
| |
− |
| |
− | <p>
| |
− | <div class="intro_button menu-arrow">
| |
− | <a href="https://2015.igem.org/Team:Freiburg/Design" title="Diagnostics today">Limitations and Solutions</a>
| |
− | </div>
| |
− | </p>
| |
− |
| |
− | </div>
| |
− | </li>
| |
− |
| |
− | </ul>
| |
− | </div> <!-- End Mask -->
| |
− | </div> <!-- End Slider Container -->
| |
− | </div>
| |
− | </div>
| |
− | </html>
| |
− | <!-- Labjournal content ends here -->
| |
| {{Freiburg/wiki_content_end}} | | {{Freiburg/wiki_content_end}} |