Difference between revisions of "Team:UCL/Playingaround3"
Line 537: | Line 537: | ||
a.buttongreen {text-decoration: none; color: #fff;} | a.buttongreen {text-decoration: none; color: #fff;} | ||
+ | .sss { | ||
+ | height: 0; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | position: relative; | ||
+ | display: block; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | .ssslide { | ||
+ | width: 100%; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | left: 0; | ||
+ | display: none; | ||
+ | overflow: hidden; | ||
+ | } | ||
+ | |||
+ | .ssslide img { | ||
+ | max-width: 100%; | ||
+ | height: auto; | ||
+ | margin: 0; | ||
+ | padding: 0; | ||
+ | position: relative; | ||
+ | display: block; | ||
+ | } | ||
+ | |||
+ | .sssnext, .sssprev { | ||
+ | width: 25px; | ||
+ | height: 100%; | ||
+ | margin: 0; | ||
+ | position: absolute; | ||
+ | top: 0; | ||
+ | background: url('https://static.igem.org/mediawiki/2015/5/56/UCL_Arr.png') no-repeat; | ||
+ | } | ||
+ | |||
+ | .sssprev { | ||
+ | left: 3%; | ||
+ | background-position: 0 50%; | ||
+ | z-index:100; | ||
+ | } | ||
+ | |||
+ | .sssnext { | ||
+ | right: 3%; | ||
+ | background-position: -26px 50%; | ||
+ | } | ||
+ | |||
+ | .sssprev:hover, .sssnext:hover { | ||
+ | cursor: pointer; | ||
+ | |||
+ | } | ||
− | . | + | .slider { |
border: 15px solid #FFF; | border: 15px solid #FFF; | ||
box-shadow: 1px 1px 5px #CCC; | box-shadow: 1px 1px 5px #CCC; | ||
Line 547: | Line 599: | ||
background: #fff; | background: #fff; | ||
height: 380px; | height: 380px; | ||
− | |||
− | |||
− | |||
} | } | ||
− | + | #slideWrap { | |
− | # | + | width: 60%; |
− | + | margin: 0 auto; | |
− | + | padding-top: 10%; height: 400px; | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
} | } | ||
− | + | .just_text {display: inline; padding-top: 6%; | |
− | + | ||
− | + | ||
− | + | ||
padding-right: 10%; | padding-right: 10%; | ||
width: 600px; | width: 600px; | ||
Line 578: | Line 621: | ||
height: 330px; | height: 330px; | ||
text-align: justify; | text-align: justify; | ||
− | |||
} | } | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</style> | </style> | ||
Line 683: | Line 691: | ||
<div id="intro1"> | <div id="intro1"> | ||
+ | <div id="slideWrap"> | ||
− | <div class=" | + | <div class="slider"> |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
<div class="just_text">The number of <span style="color: #FE6C68;">microorganisms</span> in human gut is higher than the number of human cells in our body. Their <span style="color: #FE6C68;">metabolic activity</span> equals that of liver and plays crucial role in many key processes such as <span style="color: #FE6C68;">digestion</span>, <span style="color: #FE6C68;">drug metabolism</span>, or functioning of the <span style="color: #FE6C68;">immune system</span>...</div> | <div class="just_text">The number of <span style="color: #FE6C68;">microorganisms</span> in human gut is higher than the number of human cells in our body. Their <span style="color: #FE6C68;">metabolic activity</span> equals that of liver and plays crucial role in many key processes such as <span style="color: #FE6C68;">digestion</span>, <span style="color: #FE6C68;">drug metabolism</span>, or functioning of the <span style="color: #FE6C68;">immune system</span>...</div> | ||
Line 820: | Line 805: | ||
<script> | <script> | ||
− | + | /** Super Simple Slider by @intllgnt **/ | |
− | + | ||
− | + | ;(function($, window, document, undefined ) { | |
− | + | ||
− | + | $.fn.sss = function(options) { | |
− | + | ||
− | + | // Options | |
− | + | ||
− | + | var settings = $.extend({ | |
− | + | slideShow : true, | |
− | + | startOn : 0, | |
− | + | speed : 7500, | |
− | + | transition : 400, | |
− | + | arrows : true | |
− | + | }, options); | |
− | + | ||
− | + | return this.each(function() { | |
− | + | ||
− | + | // Variables | |
− | + | ||
− | + | var | |
− | + | wrapper = $(this), | |
− | + | slides = wrapper.children().wrapAll('<div class="sss"/>').addClass('ssslide'), | |
− | + | slider = wrapper.find('.sss'), | |
− | + | slide_count = slides.length, | |
− | + | transition = settings.transition, | |
− | + | starting_slide = settings.startOn, | |
− | + | target = starting_slide > slide_count - 1 ? 0 : starting_slide, | |
− | + | animating = false, | |
− | + | clicked, | |
− | + | timer, | |
− | + | key, | |
− | + | prev, | |
− | + | next, | |
− | + | ||
− | + | // Reset Slideshow | |
− | + | ||
− | + | reset_timer = settings.slideShow ? function() { | |
− | + | clearTimeout(timer); | |
− | + | timer = setTimeout(next_slide, settings.speed); | |
− | + | } : $.noop; | |
− | + | ||
− | + | // Animate Slider | |
− | + | ||
− | + | function get_height(target) { | |
− | + | return ((slides.eq(target).height() / slider.width()) * 100) + '%'; | |
− | + | } | |
− | + | ||
− | + | function animate_slide(target) { | |
− | + | if (!animating) { | |
− | + | animating = true; | |
− | + | var target_slide = slides.eq(target); | |
− | + | ||
− | + | target_slide.fadeIn(transition); | |
− | + | slides.not(target_slide).fadeOut(transition); | |
− | + | ||
− | + | slider.animate({paddingBottom: get_height(target)}, transition, function() { | |
− | + | animating = false; | |
− | + | }); | |
− | + | ||
− | + | reset_timer(); | |
− | + | ||
− | + | }}; | |
− | + | ||
+ | // Next Slide | ||
+ | |||
+ | function next_slide() { | ||
+ | target = target === slide_count - 1 ? 0 : target + 1; | ||
+ | animate_slide(target); | ||
+ | } | ||
+ | |||
+ | // Prev Slide | ||
+ | |||
+ | function prev_slide() { | ||
+ | target = target === 0 ? slide_count - 1 : target - 1; | ||
+ | animate_slide(target); | ||
+ | } | ||
+ | |||
+ | if (settings.arrows) { | ||
+ | slider.append('<div class="sssprev"/>', '<div class="sssnext"/>'); | ||
+ | } | ||
+ | |||
+ | next = slider.find('.sssnext'), | ||
+ | prev = slider.find('.sssprev'); | ||
+ | |||
+ | $(window).load(function() { | ||
+ | |||
+ | slider.css({paddingBottom: get_height(target)}).click(function(e) { | ||
+ | clicked = $(e.target); | ||
+ | if (clicked.is(next)) { next_slide() } | ||
+ | else if (clicked.is(prev)) { prev_slide() } | ||
+ | }); | ||
+ | |||
+ | animate_slide(target); | ||
+ | |||
+ | $(document).keydown(function(e) { | ||
+ | key = e.keyCode; | ||
+ | if (key === 39) { next_slide() } | ||
+ | else if (key === 37) { prev_slide() } | ||
+ | }); | ||
+ | |||
+ | }); | ||
+ | // End | ||
+ | |||
}); | }); | ||
− | |||
− | |||
− | function | + | }; |
− | + | })(jQuery, window, document);</script> | |
− | } | + | |
+ | <script> | ||
+ | jQuery(function($) { | ||
+ | $('.slider').sss(); | ||
+ | |||
+ | $('.section').click(function(e) { | ||
+ | e.preventDefault(); | ||
+ | |||
+ | var loc = $(this).attr('href').substring(1); | ||
+ | var lock = $('#' + loc).offset().top; | ||
+ | $('body,html').animate({scrollTop:lock}); | ||
+ | }); | ||
+ | }); | ||
</script> | </script> | ||
+ | |||
Revision as of 18:46, 20 July 2015
Mind the Gut: Abstract
The gut–brain axis refers to the biochemical signalling taking place between the gastrointestinal tract and the nervous system, often involving intestinal microbiota, which have been shown to play an important role in healthy brain function. The current research suggests that gut microbes secrete neuroactive compounds – including neurotransmitters – that interact with the brain via two main mechanisms: the vagus nerve, connecting brain and digestive tract, and the immune system, which maintains its own means of communication with the brain.
In line with the ongoing research, UCL iGEM 2015 aims to develop synthetic probiotic strains that mimic the neuromodulatory strategies identified in gut microbes, with a focus on regulation of tryptophan pathway and signalling via serotonin. Additionally, in order to incorporate our neuromodulators into precise and safe therapeutic devices, we are developing a set of sensors capable of detecting mood-related physiological changes in the gut environment.
Available small molecule treatments are associated with both stigma and side effects. We believe that, besides aiding in better understanding of the communication between the gut microbiome and nervous system, our work will also lay a foundation for novel user-friendly treatments targeting a range of mental health disorders.