Line 1,970: | Line 1,970: | ||
btn = $('.btn-overflow'), | btn = $('.btn-overflow'), | ||
h = text[0].scrollHeight; | h = text[0].scrollHeight; | ||
+ | alert(h); | ||
var h1=h+100; | var h1=h+100; | ||
+ | alert(h1); | ||
if(h > 200) { | if(h > 200) { | ||
btn.addClass('less'); | btn.addClass('less'); |
Revision as of 22:55, 17 October 2016
Scroll = ( function(){ var x,y; function hndlr(){ window.scrollTo(x,y); //return; } return {
disable : function(x1,y1){ x = x1; y = y1; if(window.addEventListener){ window.addEventListener("scroll",hndlr); } else{ window.attachEvent("onscroll", hndlr); }
}, enable: function(){ if(window.removeEventListener){ window.removeEventListener("scroll",hndlr); } else{ window.detachEvent("onscroll", hndlr); } }
} })(); (function($, window, undefined) { "use strict";
jQuery(document).ready(function ($) {
$(document).on('scroll', function () { // if the scroll distance is greater than 100px if ($(window).scrollTop() > 100) { // do something $('.site-header').addClass('scrolled-header'); } else { $('.site-header').removeClass('scrolled-header'); } });
// go to top var offset = 300, offset_opacity = 1200, scroll_top_duration = 700, $back_to_top = $('.go-top'); //hide or show the "back to top" link $(window).on('scroll', function(){ ( $(this).scrollTop() > offset ) ? $back_to_top.addClass('go-top-visible') : $back_to_top.removeClass('go-top-visible go-top-fade-out'); if( $(this).scrollTop() > offset_opacity ) { $back_to_top.addClass('go-top-fade-out'); } });
//smooth scroll to top $back_to_top.on('click', function(event){ event.preventDefault(); $('body,html').animate({ scrollTop: 0 , }, scroll_top_duration ); });
$('nav.main-navigation > ul > li').each(function(){ $(this).find('.has-submenu').append(''); });
// Mobile navigation
$(".responsive-menu .menu-item-has-children").append(' ');$(".responsive-menu").on("click", ".show-submenu", function(e) { e.stopPropagation();
$(this).parent().toggleClass("current") .children(".sub-menu").toggleClass("open");
$(this).html($(this).html() == '' ? '' : ''); $(".nano").nanoScroller(); });
$(".responsive-menu").on("click", "a", function(e) { if( ($(this).attr('href') === "#") || ($(this).attr('href') === "") ) { $(this).parent().children(".show-submenu").trigger("click"); return false; } else { offcanvas_close(); } }); $(window).on("scroll", function() { if($(window).scrollTop() > 80) { $(".header").addClass("activeColour"); } else { //remove the background property so it comes transparent again (defined in your css) $(".header").removeClass("activeColour"); } });
$(function(){ $('#giflist li a img').hover(function(){ // on mouse enter var customdata = $(this).parent().attr('id'); $(this).attr('src',customdata); }, function(){ // on mouse leave $(this).attr('src',$(this).attr('data-orig')); }); }); $(function() { $("#giflist li div ").hover( // on mouse enter function(e){ //alert($(this).attr('id')); $(this).children('.sameBulb').hide(); $(this).children('.bulbChange').show(); }, // over function(e){ // on mouse leave $(this).children('.bulbChange').hide(); $(this).children('.sameBulb').show(); } ); });
$(function(){ $('.icon_design').click(function() { $('.design').show(); $(".fundraising").hide(); $(".hardware").hide(); $(".IT").hide(); $(".pr").hide(); $(".wetlab").hide(); $(".organization").hide(); $(".defaultText").hide();
}); $('.icon_fundraising').click(function() { $('.design').hide(); $(".fundraising").show(); $(".hardware").hide(); $(".IT").hide(); $(".pr").hide(); $(".wetlab").hide(); $(".organization").hide(); $(".defaultText").hide(); }); $('.icon_hardware').click(function() { $('.design').hide(); $(".fundraising").hide(); $(".hardware").show(); $(".IT").hide(); $(".pr").hide(); $(".wetlab").hide(); $(".organization").hide(); $(".defaultText").hide(); }); $('.icon_IT').click(function() { $('.design').hide(); $(".fundraising").hide(); $(".hardware").hide(); $(".IT").show(); $(".pr").hide(); $(".wetlab").hide(); $(".organization").hide(); $(".defaultText").hide(); }); $('.icon_pr').click(function() { $('.design').hide(); $(".fundraising").hide(); $(".hardware").hide(); $(".IT").hide(); $(".pr").show(); $(".wetlab").hide(); $(".organization").hide(); $(".defaultText").hide(); }); $('.icon_wetlab').click(function() { $('.design').hide(); $(".fundraising").hide(); $(".hardware").hide(); $(".IT").hide(); $(".pr").hide(); $(".wetlab").show(); $(".organization").hide(); $(".defaultText").hide(); }); $('.icon_organization').click(function() { $('.design').hide(); $(".fundraising").hide(); $(".hardware").hide(); $(".IT").hide(); $(".pr").hide(); $(".wetlab").hide(); $(".organization").show(); $(".defaultText").hide(); });
});
function offsetAnchor() { if(location.hash.length !== 0) { window.scrollTo(window.scrollX, window.scrollY - 150); } } $(window).on("hashchange",offsetAnchor); window.setTimeout(offsetAnchor, 1);
function extractPageName(hrefString) { var arr = hrefString.split('/');
return (arr.length<2) ? hrefString : arr[arr.length-2].toLowerCase() + arr[arr.length-1].toLowerCase();
}
function setActiveMenu(arr, crtPage) { for (var i=0; i<arr.length; i++) {
if(extractPageName(arr[i].href) == crtPage) {
arr[i].className = "current"; arr[i].parentNode.className = "current"; //arr[i].parentNode.parentNode.className = "current";
} } }
// call this method from your page $(function setPage(){
var hrefString; hrefString = document.location.href ? document.location.href : document.location; if (document.getElementById("pageHighlighter")!=null)
setActiveMenu(document.getElementById("pageHighlighter").getElementsByTagName("a"), extractPageName(hrefString)); });
// method for protocol page $(document).ready(function(){ $('.protocolhide').hide(); $('#category-tabs li a').click(function(e){ e.preventDefault(); $(this).next('ol').slideToggle('500'); $(this).find('i').toggleClass('fa-chevron-circle-down fa-chevron-circle-up') }); });
$("a").click(function(){ $("a").removeClass("activeimage"); $(this).addClass("activeimage"); });
$(function(){ $('a.bgscroll').click(function(e){
Scroll.disable(0,window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0);
});
}); $(function(){ $('a.close').click(function(){ Scroll.disable(0,window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0); setTimeout(function(){ Scroll.enable(); },100); }); });
$(function(){
$('#ecoli1').click(function(e)
{
e.preventDefault();
$("#ecoli1").attr('src',"");
$("#ecoli2").attr('src',"
");
$("#ecoli2_1").attr('src',"
");
$("#ecoli3").attr('src',"
");
$("#ecoli3_1").attr('src',"
");
$("#ecoli4").attr('src',"
");
$("#ecoli4_1").attr('src',"
");
$("#ecoli5").attr('src',"
");
$("#ecoli5_1").attr('src',"
");
$("#ecoli6").attr('src',"
");
$("#ecoli6_1").attr('src',"
");
$("#ecoli7").attr('src',"
");
$("#ecoli7_1").attr('src',"
");
$("#ecoli8").attr('src',"
");
$("#ecoli8_1").attr('src',"
");
$("#ecoli9").attr('src',"
");
$("#ecoli9_1").attr('src',"
");
$("#ecoli10").attr('src',"
");
$("#ecoli10_1").attr('src',"
");
$("#ecoli11").attr('src',"
");
$("#ecoli11_1").attr('src',"
");
$("#ecoli12").attr('src',"
");
$("#ecoli12_1").attr('src',"
");
$(".ecolicircle1").show();
$(".ecolicircle2").hide();
$('.ecolicircle3').hide();
$(".ecolicircle4").hide();
$(".ecolicircle5").hide();
$(".ecolicircle6").hide();
$(".ecolicircle7").hide();
$(".ecolicircle8").hide();
$(".ecolicircle9").hide();
$(".ecolicircle10").hide();
$(".ecolicircle11").hide();
$(".ecolicircle12").hide();
});
});
$(function(){
$('#ecoli2').click(function(e)
{
e.preventDefault();
$("#ecoli1").attr('src',"");
$("#ecoli2").attr('src',"
");
$("#ecoli2_1").attr('src',"
");
$("#ecoli3").attr('src',"
");
$("#ecoli3_1").attr('src',"
");
$("#ecoli4").attr('src',"
");
$("#ecoli4_1").attr('src',"
");
$("#ecoli5").attr('src',"
");
$("#ecoli5_1").attr('src',"
");
$("#ecoli6").attr('src',"
");
$("#ecoli6_1").attr('src',"
");
$("#ecoli7").attr('src',"
");
$("#ecoli7_1").attr('src',"
");
$("#ecoli8").attr('src',"
");
$("#ecoli8_1").attr('src',"
");
$("#ecoli9").attr('src',"
");
$("#ecoli9_1").attr('src',"
");
$("#ecoli10").attr('src',"
");
$("#ecoli10_1").attr('src',"
");
$("#ecoli11").attr('src',"
");
$("#ecoli11_1").attr('src',"
");
$("#ecoli12").attr('src',"
");
$("#ecoli12_1").attr('src',"
");
$(".ecolicircle1").hide(); $(".ecolicircle2").show(); $('.ecolicircle3').hide(); $(".ecolicircle4").hide(); $(".ecolicircle5").hide(); $(".ecolicircle6").hide(); $(".ecolicircle7").hide(); $(".ecolicircle8").hide(); $(".ecolicircle9").hide(); $(".ecolicircle10").hide(); $(".ecolicircle11").hide(); $(".ecolicircle12").hide(); }); })
$(function(){
$('#ecoli3').click(function(e)
{
e.preventDefault();
$("#ecoli1").attr('src',"");
$("#ecoli2").attr('src',"
");
$("#ecoli2_1").attr('src',"
");
$("#ecoli3").attr('src',"
");
$("#ecoli3_1").attr('src',"
");
$("#ecoli4").attr('src',"
");
$("#ecoli4_1").attr('src',"
");
$("#ecoli5").attr('src',"
");
$("#ecoli5_1").attr('src',"
");
$("#ecoli6").attr('src',"
");
$("#ecoli6_1").attr('src',"
");
$("#ecoli7").attr('src',"
");
$("#ecoli7_1").attr('src',"
");
$("#ecoli8").attr('src',"
");
$("#ecoli8_1").attr('src',"
");
$("#ecoli9").attr('src',"
");
$("#ecoli9_1").attr('src',"
");
$("#ecoli10").attr('src',"
");
$("#ecoli10_1").attr('src',"
");
$("#ecoli11").attr('src',"
");
$("#ecoli11_1").attr('src',"
");
$("#ecoli12").attr('src',"
");
$("#ecoli12_1").attr('src',"
");
$(".ecolicircle1").hide();
$(".ecolicircle2").hide();
$('.ecolicircle3').show();
$(".ecolicircle4").hide();
$(".ecolicircle5").hide();
$(".ecolicircle6").hide();
$(".ecolicircle7").hide();
$(".ecolicircle8").hide();
$(".ecolicircle9").hide();
$(".ecolicircle10").hide();
$(".ecolicircle11").hide();
$(".ecolicircle12").hide();
});
})
$(function(){
$('#ecoli4').click(function(e)
{
e.preventDefault();
$("#ecoli1").attr('src',"");
$("#ecoli2").attr('src',"
");
$("#ecoli2_1").attr('src',"
");
$("#ecoli3").attr('src',"
");
$("#ecoli3_1").attr('src',"
");
$("#ecoli4").attr('src',"
");
$("#ecoli4_1").attr('src',"
");
$("#ecoli5").attr('src',"
");
$("#ecoli5_1").attr('src',"
");
$("#ecoli6").attr('src',"
");
$("#ecoli6_1").attr('src',"
");
$("#ecoli7").attr('src',"
");
$("#ecoli7_1").attr('src',"
");
$("#ecoli8").attr('src',"
");
$("#ecoli8_1").attr('src',"
");
$("#ecoli9").attr('src',"
");
$("#ecoli9_1").attr('src',"
");
$("#ecoli10").attr('src',"
");
$("#ecoli10_1").attr('src',"
");
$("#ecoli11").attr('src',"
");
$("#ecoli11_1").attr('src',"
");
$("#ecoli12").attr('src',"
");
$("#ecoli12_1").attr('src',"
");
$(".ecolicircle1").hide();
$(".ecolicircle2").hide();
$('.ecolicircle3').hide();
$(".ecolicircle4").show();
$(".ecolicircle5").hide();
$(".ecolicircle6").hide();
$(".ecolicircle7").hide();
$(".ecolicircle8").hide();
$(".ecolicircle9").hide();
$(".ecolicircle10").hide();
$(".ecolicircle11").hide();
$(".ecolicircle12").hide();
});
})
$(function(){
$('#ecoli5').click(function(e)
{
e.preventDefault();
$("#ecoli1").attr('src',"");
$("#ecoli2").attr('src',"
");
$("#ecoli2_1").attr('src',"
");
$("#ecoli3").attr('src',"
");
$("#ecoli3_1").attr('src',"
");
$("#ecoli4").attr('src',"
");
$("#ecoli4_1").attr('src',"
");
$("#ecoli5").attr('src',"
");
$("#ecoli5_1").attr('src',"
");
$("#ecoli6").attr('src',"
");
$("#ecoli6_1").attr('src',"
");
$("#ecoli7").attr('src',"
");
$("#ecoli7_1").attr('src',"
");
$("#ecoli8").attr('src',"
");
$("#ecoli8_1").attr('src',"
");
$("#ecoli9").attr('src',"
");
$("#ecoli9_1").attr('src',"
");
$("#ecoli10").attr('src',"
");
$("#ecoli10_1").attr('src',"
");
$("#ecoli11").attr('src',"
");
$("#ecoli11_1").attr('src',"
");
$("#ecoli12").attr('src',"
");
$("#ecoli12_1").attr('src',"
");
$(".ecolicircle1").hide();
$(".ecolicircle2").hide();
$('.ecolicircle3').hide();
$(".ecolicircle4").hide();
$(".ecolicircle5").show();
$(".ecolicircle6").hide();
$(".ecolicircle7").hide();
$(".ecolicircle8").hide();
$(".ecolicircle9").hide();
$(".ecolicircle10").hide();
$(".ecolicircle11").hide();
$(".ecolicircle12").hide();
});
})
$(function(){
$('#ecoli6').click(function(e)
{
e.preventDefault();
$("#ecoli1").attr('src',"");
$("#ecoli2").attr('src',"
");
$("#ecoli2_1").attr('src',"
");
$("#ecoli3").attr('src',"
");
$("#ecoli3_1").attr('src',"
");
$("#ecoli4").attr('src',"
");
$("#ecoli4_1").attr('src',"
");
$("#ecoli5").attr('src',"
");
$("#ecoli5_1").attr('src',"
");
$("#ecoli6").attr('src',"
");
$("#ecoli6_1").attr('src',"
");
$("#ecoli7").attr('src',"
");
$("#ecoli7_1").attr('src',"
");
$("#ecoli8").attr('src',"
");
$("#ecoli8_1").attr('src',"
");
$("#ecoli9").attr('src',"
");
$("#ecoli9_1").attr('src',"
");
$("#ecoli10").attr('src',"
");
$("#ecoli10_1").attr('src',"
");
$("#ecoli11").attr('src',"
");
$("#ecoli11_1").attr('src',"
");
$("#ecoli12").attr('src',"
");
$("#ecoli12_1").attr('src',"
");
$(".ecolicircle1").hide();
$(".ecolicircle2").hide();
$('.ecolicircle3').hide();
$(".ecolicircle4").hide();
$(".ecolicircle5").hide();
$(".ecolicircle6").show();
$(".ecolicircle7").hide();
$(".ecolicircle8").hide();
$(".ecolicircle9").hide();
$(".ecolicircle10").hide();
$(".ecolicircle11").hide();
$(".ecolicircle12").hide();
});
})
$(function(){
$('#ecoli7').click(function(e)
{
e.preventDefault();
$("#ecoli1").attr('src',"");
$("#ecoli2").attr('src',"
");
$("#ecoli2_1").attr('src',"
");
$("#ecoli3").attr('src',"
");
$("#ecoli3_1").attr('src',"
");
$("#ecoli4").attr('src',"
");
$("#ecoli4_1").attr('src',"
");
$("#ecoli5").attr('src',"
");
$("#ecoli5_1").attr('src',"
");
$("#ecoli6").attr('src',"
");
$("#ecoli6_1").attr('src',"
");
$("#ecoli7").attr('src',"
");
$("#ecoli7_1").attr('src',"
");
$("#ecoli8").attr('src',"
");
$("#ecoli8_1").attr('src',"
");
$("#ecoli9").attr('src',"
");
$("#ecoli9_1").attr('src',"
");
$("#ecoli10").attr('src',"
");
$("#ecoli10_1").attr('src',"
");
$("#ecoli11").attr('src',"
");
$("#ecoli11_1").attr('src',"
");
$("#ecoli12").attr('src',"
");
$("#ecoli12_1").attr('src',"
");
$(".ecolicircle1").hide();
$(".ecolicircle2").hide();
$('.ecolicircle3').hide();
$(".ecolicircle4").hide();
$(".ecolicircle5").hide();
$(".ecolicircle6").hide();
$(".ecolicircle7").show();
$(".ecolicircle8").hide();
$(".ecolicircle9").hide();
$(".ecolicircle10").hide();
$(".ecolicircle11").hide();
$(".ecolicircle12").hide();
});
})
$(function(){
$('#ecoli8').click(function(e)
{
e.preventDefault();
$("#ecoli1").attr('src',"");
$("#ecoli2").attr('src',"
");
$("#ecoli2_1").attr('src',"
");
$("#ecoli3").attr('src',"
");
$("#ecoli3_1").attr('src',"
");
$("#ecoli4").attr('src',"
");
$("#ecoli4_1").attr('src',"
");
$("#ecoli5").attr('src',"
");
$("#ecoli5_1").attr('src',"
");
$("#ecoli6").attr('src',"
");
$("#ecoli6_1").attr('src',"
");
$("#ecoli7").attr('src',"
");
$("#ecoli7_1").attr('src',"
");
$("#ecoli8").attr('src',"
");
$("#ecoli8_1").attr('src',"
");
$("#ecoli9").attr('src',"
");
$("#ecoli9_1").attr('src',"
");
$("#ecoli10").attr('src',"
");
$("#ecoli10_1").attr('src',"
");
$("#ecoli11").attr('src',"
");
$("#ecoli11_1").attr('src',"
");
$("#ecoli12").attr('src',"
");
$("#ecoli12_1").attr('src',"
");
$(".ecolicircle1").hide();
$(".ecolicircle2").hide();
$('.ecolicircle3').hide();
$(".ecolicircle4").hide();
$(".ecolicircle5").hide();
$(".ecolicircle6").hide();
$(".ecolicircle7").hide();
$(".ecolicircle8").show();
$(".ecolicircle9").hide();
$(".ecolicircle10").hide();
$(".ecolicircle11").hide();
$(".ecolicircle12").hide();
});
})
$(function(){
$('#ecoli9').click(function(e)
{
e.preventDefault();
$("#ecoli1").attr('src',"");
$("#ecoli2").attr('src',"
");
$("#ecoli2_1").attr('src',"
");
$("#ecoli3").attr('src',"
");
$("#ecoli3_1").attr('src',"
");
$("#ecoli4").attr('src',"
");
$("#ecoli4_1").attr('src',"
");
$("#ecoli5").attr('src',"
");
$("#ecoli5_1").attr('src',"
");
$("#ecoli6").attr('src',"
");
$("#ecoli6_1").attr('src',"
");
$("#ecoli7").attr('src',"
");
$("#ecoli7_1").attr('src',"
");
$("#ecoli8").attr('src',"
");
$("#ecoli8_1").attr('src',"
");
$("#ecoli9").attr('src',"
");
$("#ecoli9_1").attr('src',"
");
$("#ecoli10").attr('src',"
");
$("#ecoli10_1").attr('src',"
");
$("#ecoli11").attr('src',"
");
$("#ecoli11_1").attr('src',"
");
$("#ecoli12").attr('src',"
");
$("#ecoli12_1").attr('src',"
");
$(".ecolicircle1").hide();
$(".ecolicircle2").hide();
$('.ecolicircle3').hide();
$(".ecolicircle4").hide();
$(".ecolicircle5").hide();
$(".ecolicircle6").hide();
$(".ecolicircle7").hide();
$(".ecolicircle8").hide();
$(".ecolicircle9").show();
$(".ecolicircle10").hide();
$(".ecolicircle11").hide();
$(".ecolicircle12").hide();
});
})
$(function(){
$('#ecoli10').click(function(e)
{
e.preventDefault();
$("#ecoli1").attr('src',"");
$("#ecoli2").attr('src',"
");
$("#ecoli2_1").attr('src',"
");
$("#ecoli3").attr('src',"
");
$("#ecoli3_1").attr('src',"
");
$("#ecoli4").attr('src',"
");
$("#ecoli4_1").attr('src',"
");
$("#ecoli5").attr('src',"
");
$("#ecoli5_1").attr('src',"
");
$("#ecoli6").attr('src',"
");
$("#ecoli6_1").attr('src',"
");
$("#ecoli7").attr('src',"
");
$("#ecoli7_1").attr('src',"
");
$("#ecoli8").attr('src',"
");
$("#ecoli8_1").attr('src',"
");
$("#ecoli9").attr('src',"
");
$("#ecoli9_1").attr('src',"
");
$("#ecoli10").attr('src',"
");
$("#ecoli10_1").attr('src',"
");
$("#ecoli11").attr('src',"
");
$("#ecoli11_1").attr('src',"
");
$("#ecoli12").attr('src',"
");
$("#ecoli12_1").attr('src',"
");
$(".ecolicircle1").hide();
$(".ecolicircle2").hide();
$('.ecolicircle3').hide();
$(".ecolicircle4").hide();
$(".ecolicircle5").hide();
$(".ecolicircle6").hide();
$(".ecolicircle7").hide();
$(".ecolicircle8").hide();
$(".ecolicircle9").hide();
$(".ecolicircle10").show();
$(".ecolicircle11").hide();
$(".ecolicircle12").hide();
});
})
$(function(){
$('#ecoli11').click(function(e)
{
e.preventDefault();
$("#ecoli1").attr('src',"");
$("#ecoli2").attr('src',"
");
$("#ecoli2_1").attr('src',"
");
$("#ecoli3").attr('src',"
");
$("#ecoli3_1").attr('src',"
");
$("#ecoli4").attr('src',"
");
$("#ecoli4_1").attr('src',"
");
$("#ecoli5").attr('src',"
");
$("#ecoli5_1").attr('src',"
");
$("#ecoli6").attr('src',"
");
$("#ecoli6_1").attr('src',"
");
$("#ecoli7").attr('src',"
");
$("#ecoli7_1").attr('src',"
");
$("#ecoli8").attr('src',"
");
$("#ecoli8_1").attr('src',"
");
$("#ecoli9").attr('src',"
");
$("#ecoli9_1").attr('src',"
");
$("#ecoli10").attr('src',"
");
$("#ecoli10_1").attr('src',"
");
$("#ecoli11").attr('src',"
");
$("#ecoli11_1").attr('src',"
");
$("#ecoli12").attr('src',"
");
$("#ecoli12_1").attr('src',"
");
$(".ecolicircle1").hide();
$(".ecolicircle2").hide();
$('.ecolicircle3').hide();
$(".ecolicircle4").hide();
$(".ecolicircle5").hide();
$(".ecolicircle6").hide();
$(".ecolicircle7").hide();
$(".ecolicircle8").hide();
$(".ecolicircle9").hide();
$(".ecolicircle10").hide();
$(".ecolicircle11").show();
$(".ecolicircle12").hide();
});
})
$(function(){
$('#ecoli12').click(function(e)
{
e.preventDefault();
$("#ecoli1").attr('src',"");
$("#ecoli2").attr('src',"
");
$("#ecoli2_1").attr('src',"
");
$("#ecoli3").attr('src',"
");
$("#ecoli3_1").attr('src',"
");
$("#ecoli4").attr('src',"
");
$("#ecoli4_1").attr('src',"
");
$("#ecoli5").attr('src',"
");
$("#ecoli5_1").attr('src',"
");
$("#ecoli6").attr('src',"
");
$("#ecoli6_1").attr('src',"
");
$("#ecoli7").attr('src',"
");
$("#ecoli7_1").attr('src',"
");
$("#ecoli8").attr('src',"
");
$("#ecoli8_1").attr('src',"
");
$("#ecoli9").attr('src',"
");
$("#ecoli9_1").attr('src',"
");
$("#ecoli10").attr('src',"
");
$("#ecoli10_1").attr('src',"
");
$("#ecoli11").attr('src',"
");
$("#ecoli11_1").attr('src',"
");
$("#ecoli12").attr('src',"
");
$("#ecoli12_1").attr('src',"
");
$(".ecolicircle1").hide();
$(".ecolicircle2").hide();
$('.ecolicircle3').hide();
$(".ecolicircle4").hide();
$(".ecolicircle5").hide();
$(".ecolicircle6").hide();
$(".ecolicircle7").hide();
$(".ecolicircle8").hide();
$(".ecolicircle9").hide();
$(".ecolicircle10").hide();
$(".ecolicircle11").hide();
$(".ecolicircle12").show();
});
})
$(function(){
$('#synthetase1').click(function(e)
{
e.preventDefault();
$("#synthetase1").attr('src',"");
$("#synthetase2_1").attr('src',"
");
$("#synthetase2").attr('src',"
");
$("#synthetase3").attr('src',"
");
$("#synthetase4").attr('src',"
");
$("#synthetase4_1").attr('src',"
");
$("#synthetase5").attr('src',"
");
$("#synthetase5_1").attr('src',"
");
$("#synthetase6").attr('src',"
");
$("#synthetase6_1").attr('src',"
");
$("#synthetase7").attr('src',"
");
$("#synthetase7_1").attr('src',"
");
$("#synthetase8").attr('src',"
");
$("#synthetase8_1").attr('src',"
");
$("#synthetase9").attr('src',"
");
$("#synthetase9_1").attr('src',"
");
$("#synthetase10").attr('src',"
");
$("#synthetase10_1").attr('src',"
");
$("#synthetase10_2").attr('src',"
");
$("#synthetase11").attr('src',"
");
$("#synthetase11_1").attr('src',"
");
$(".circle1").show(); $(".circle2").hide(); $('.circle3').hide(); $(".circle4").hide(); $(".circle5").hide(); $(".circle6").hide(); $(".circle7").hide(); $(".circle8").hide(); $(".circle9").hide(); $(".circle10").hide(); $(".circle11").hide();
}); })
$(function(){
$('#synthetase2').click(function(e)
{
e.preventDefault();
$("#synthetase1").attr('src',"");
$("#synthetase2_1").attr('src',"
");
$("#synthetase2").attr('src',"
");
$("#synthetase3").attr('src',"");
$("#synthetase4").attr('src',"
");
$("#synthetase4_1").attr('src',"
");
$("#synthetase5").attr('src',"
");
$("#synthetase5_1").attr('src',"
");
$("#synthetase6").attr('src',"
");
$("#synthetase6_1").attr('src',"
");
$("#synthetase7").attr('src',"
");
$("#synthetase7_1").attr('src',"
");
$("#synthetase8").attr('src',"
");
$("#synthetase8_1").attr('src',"
");
$("#synthetase9").attr('src',"
");
$("#synthetase9_1").attr('src',"
");
$("#synthetase10").attr('src',"
");
$("#synthetase10_1").attr('src',"
");
$("#synthetase10_2").attr('src',"
");
$("#synthetase11").attr('src',"
");
$("#synthetase11_1").attr('src',"
");
$(".circle1").hide();
$(".circle2").hide();
$('.circle3').show();
$(".circle4").hide();
$(".circle5").hide();
$(".circle6").hide();
$(".circle7").hide();
$(".circle8").hide();
$(".circle9").hide();
$(".circle10").hide();
$(".circle11").hide();
});
})
$(function(){
$('#synthetase3').click(function(e)
{
e.preventDefault();
$("#synthetase1").attr('src',"");
$("#synthetase2_1").attr('src',"
");
$("#synthetase2").attr('src',"
");
$("#synthetase3").attr('src',"");
$("#synthetase4").attr('src',"");
$("#synthetase4_1").attr('src',"
");
$("#synthetase5").attr('src',"
");
$("#synthetase5_1").attr('src',"
");
$("#synthetase6").attr('src',"
");
$("#synthetase6_1").attr('src',"
");
$("#synthetase7").attr('src',"
");
$("#synthetase7_1").attr('src',"
");
$("#synthetase8").attr('src',"
");
$("#synthetase8_1").attr('src',"
");
$("#synthetase9").attr('src',"
");
$("#synthetase9_1").attr('src',"
");
$("#synthetase10").attr('src',"
");
$("#synthetase10_1").attr('src',"
");
$("#synthetase10_2").attr('src',"
");
$("#synthetase11").attr('src',"
");
$("#synthetase11_1").attr('src',"
");
$(".circle2").show(); $(".circle1").hide(); $('.circle3').hide(); $(".circle4").hide(); $(".circle5").hide(); $(".circle6").hide(); $(".circle7").hide(); $(".circle8").hide(); $(".circle9").hide(); $(".circle10").hide(); $(".circle11").hide();
}); })
$(function(){
$('#synthetase4').click(function(e)
{
e.preventDefault();
$("#synthetase1").attr('src',"");
$("#synthetase2_1").attr('src',"
");
$("#synthetase2").attr('src',"
");
$("#synthetase3").attr('src',"
");
$("#synthetase4").attr('src',"");
$("#synthetase4_1").attr('src',"
");
$("#synthetase5").attr('src',"");
$("#synthetase5_1").attr('src',"
");
$("#synthetase6").attr('src',"
");
$("#synthetase6_1").attr('src',"
");
$("#synthetase7").attr('src',"
");
$("#synthetase7_1").attr('src',"
");
$("#synthetase8").attr('src',"
");
$("#synthetase8_1").attr('src',"
");
$("#synthetase9").attr('src',"
");
$("#synthetase9_1").attr('src',"
");
$("#synthetase10").attr('src',"
");
$("#synthetase10_1").attr('src',"
");
$("#synthetase10_2").attr('src',"
");
$("#synthetase11").attr('src',"
");
$("#synthetase11_1").attr('src',"
");
$(".circle1").hide();
$(".circle2").hide();
$('.circle3').hide();
$(".circle4").show();
$(".circle5").hide();
$(".circle6").hide();
$(".circle7").hide();
$(".circle8").hide();
$(".circle9").hide();
$(".circle10").hide();
$(".circle11").hide();
}); })
$(function(){
$('#synthetase5').click(function(e)
{
e.preventDefault();
$("#synthetase1").attr('src',"");
$("#synthetase2_1").attr('src',"
");
$("#synthetase2").attr('src',"
");
$("#synthetase3").attr('src',"
");
$("#synthetase4").attr('src',"
");
$("#synthetase4_1").attr('src',"
");
$("#synthetase5").attr('src',"");
$("#synthetase5_1").attr('src',"
");
$("#synthetase6").attr('src',"");
$("#synthetase6_1").attr('src',"
");
$("#synthetase7").attr('src',"
");
$("#synthetase7_1").attr('src',"
");
$("#synthetase8").attr('src',"
");
$("#synthetase8_1").attr('src',"
");
$("#synthetase9").attr('src',"
");
$("#synthetase9_1").attr('src',"
");
$("#synthetase10").attr('src',"
");
$("#synthetase10_1").attr('src',"
");
$("#synthetase10_2").attr('src',"
");
$("#synthetase11").attr('src',"
");
$("#synthetase11_1").attr('src',"
");
$(".circle1").hide();
$(".circle2").hide();
$('.circle3').hide();
$(".circle4").hide();
$(".circle5").show();
$(".circle6").hide();
$(".circle7").hide();
$(".circle8").hide();
$(".circle9").hide();
$(".circle10").hide();
$(".circle11").hide();
});
})
$(function(){
$('#synthetase6').click(function(e)
{
e.preventDefault();
$("#synthetase1").attr('src',"");
$("#synthetase2_1").attr('src',"
");
$("#synthetase2").attr('src',"
");
$("#synthetase3").attr('src',"
");
$("#synthetase4").attr('src',"
");
$("#synthetase4_1").attr('src',"
");
$("#synthetase5").attr('src',"
");
$("#synthetase5_1").attr('src',"
");
$("#synthetase6").attr('src',"");
$("#synthetase6_1").attr('src',"
");
$("#synthetase7").attr('src',"");
$("#synthetase7_1").attr('src',"
");
$("#synthetase8").attr('src',"
");
$("#synthetase8_1").attr('src',"
");
$("#synthetase9").attr('src',"
");
$("#synthetase9_1").attr('src',"
");
$("#synthetase10").attr('src',"
");
$("#synthetase10_1").attr('src',"
");
$("#synthetase10_2").attr('src',"
");
$("#synthetase11").attr('src',"
");
$("#synthetase11_1").attr('src',"
");
$(".circle1").hide(); $(".circle2").hide(); $('.circle3').hide(); $(".circle4").hide(); $(".circle5").hide(); $(".circle6").show(); $(".circle7").hide(); $(".circle8").hide(); $(".circle9").hide(); $(".circle10").hide(); $(".circle11").hide(); }); })
$(function(){
$('#synthetase7').click(function(e)
{
e.preventDefault();
$("#synthetase1").attr('src',"");
$("#synthetase2_1").attr('src',"
");
$("#synthetase2").attr('src',"
");
$("#synthetase3").attr('src',"
");
$("#synthetase4").attr('src',"
");
$("#synthetase4_1").attr('src',"
");
$("#synthetase5").attr('src',"
");
$("#synthetase5_1").attr('src',"
");
$("#synthetase6").attr('src',"
");
$("#synthetase6_1").attr('src',"
");
$("#synthetase7").attr('src',"");
$("#synthetase7_1").attr('src',"
");
$("#synthetase8").attr('src',"");
$("#synthetase8_1").attr('src',"
");
$("#synthetase9").attr('src',"
");
$("#synthetase9_1").attr('src',"
");
$("#synthetase10").attr('src',"
");
$("#synthetase10_1").attr('src',"
");
$("#synthetase10_2").attr('src',"
");
$("#synthetase11").attr('src',"
");
$("#synthetase11_1").attr('src',"
");
$(".circle1").hide();
$(".circle2").hide();
$('.circle3').hide();
$(".circle4").hide();
$(".circle5").hide();
$(".circle6").hide();
$(".circle7").show();
$(".circle8").hide();
$(".circle9").hide();
$(".circle10").hide();
$(".circle11").hide();
});
})
$(function(){
$('#synthetase8').click(function(e)
{
e.preventDefault();
$("#synthetase1").attr('src',"");
$("#synthetase2_1").attr('src',"
");
$("#synthetase2").attr('src',"
");
$("#synthetase3").attr('src',"
");
$("#synthetase4").attr('src',"
");
$("#synthetase4_1").attr('src',"
");
$("#synthetase5").attr('src',"
");
$("#synthetase5_1").attr('src',"
");
$("#synthetase6").attr('src',"
");
$("#synthetase6_1").attr('src',"
");
$("#synthetase7").attr('src',"
");
$("#synthetase7_1").attr('src',"
");
$("#synthetase8").attr('src',"
");
$("#synthetase8_1").attr('src',"
");
$("#synthetase9").attr('src',"");
$("#synthetase9_1").attr('src',"
");
$("#synthetase10").attr('src',"
");
$("#synthetase10_1").attr('src',"
");
$("#synthetase10_2").attr('src',"
");
$("#synthetase11").attr('src',"
");
$("#synthetase11_1").attr('src',"
");
$(".circle1").hide();
$(".circle2").hide();
$('.circle3').hide();
$(".circle4").hide();
$(".circle5").hide();
$(".circle6").hide();
$(".circle7").hide();
$(".circle8").show();
$(".circle9").hide();
$(".circle10").hide();
$(".circle11").hide();
}); })
$(function(){
$('#synthetase9').click(function(e)
{
e.preventDefault();
$("#synthetase1").attr('src',"");
$("#synthetase2_1").attr('src',"
");
$("#synthetase2").attr('src',"
");
$("#synthetase3").attr('src',"
");
$("#synthetase4").attr('src',"
");
$("#synthetase4_1").attr('src',"
");
$("#synthetase5").attr('src',"
");
$("#synthetase5_1").attr('src',"
");
$("#synthetase6").attr('src',"
");
$("#synthetase6_1").attr('src',"
");
$("#synthetase7").attr('src',"
");
$("#synthetase7_1").attr('src',"
");
$("#synthetase8").attr('src',"
");
$("#synthetase8_1").attr('src',"
");
$("#synthetase9").attr('src',"");
$("#synthetase9_1").attr('src',"
");
$("#synthetase10").attr('src',"");
$("#synthetase10_1").attr('src',"
");
$("#synthetase10_2").attr('src',"
");
$("#synthetase11").attr('src',"
");
$("#synthetase11_1").attr('src',"
");
$(".circle1").hide();
$(".circle2").hide();
$('.circle3').hide();
$(".circle4").hide();
$(".circle5").hide();
$(".circle6").hide();
$(".circle7").hide();
$(".circle8").hide();
$(".circle9").show();
$(".circle10").hide();
$(".circle11").hide();
});
})
$(function(){
$('#synthetase10').click(function(e)
{
e.preventDefault();
$("#synthetase1").attr('src',"");
$("#synthetase2_1").attr('src',"
");
$("#synthetase2").attr('src',"
");
$("#synthetase3").attr('src',"
");
$("#synthetase4").attr('src',"
");
$("#synthetase4_1").attr('src',"
");
$("#synthetase5").attr('src',"
");
$("#synthetase5_1").attr('src',"
");
$("#synthetase6").attr('src',"
");
$("#synthetase6_1").attr('src',"
");
$("#synthetase7").attr('src',"
");
$("#synthetase7_1").attr('src',"
");
$("#synthetase8").attr('src',"
");
$("#synthetase8_1").attr('src',"
");
$("#synthetase9").attr('src',"
");
$("#synthetase9_1").attr('src',"
");
$("#synthetase10").attr('src',"");
$("#synthetase10_1").attr('src',"
");
$("#synthetase10_2").attr('src',"
");
$("#synthetase11").attr('src',"");
$("#synthetase11_1").attr('src',"
");
$(".circle1").hide();
$(".circle2").hide();
$('.circle3').hide();
$(".circle4").hide();
$(".circle5").hide();
$(".circle6").hide();
$(".circle7").hide();
$(".circle8").hide();
$(".circle9").hide();
$(".circle10").show();
$(".circle11").hide();
});
})
$(function(){
$('#synthetase11').click(function(e)
{
e.preventDefault();
$("#synthetase1").attr('src',"");
$("#synthetase2_1").attr('src',"
");
$("#synthetase2").attr('src',"
");
$("#synthetase3").attr('src',"
");
$("#synthetase4").attr('src',"
");
$("#synthetase4_1").attr('src',"
");
$("#synthetase5").attr('src',"
");
$("#synthetase5_1").attr('src',"
");
$("#synthetase6").attr('src',"
");
$("#synthetase6_1").attr('src',"
");
$("#synthetase7").attr('src',"
");
$("#synthetase7_1").attr('src',"
");
$("#synthetase8").attr('src',"
");
$("#synthetase8_1").attr('src',"
");
$("#synthetase9").attr('src',"
");
$("#synthetase9_1").attr('src',"
");
$("#synthetase10").attr('src',"");
$("#synthetase10_1").attr('src',"
");
$("#synthetase10_2").attr('src',"
");
$("#synthetase11").attr('src',"
");
$("#synthetase11_1").attr('src',"
");
$(".circle1").hide(); $(".circle2").hide(); $('.circle3').hide(); $(".circle4").hide(); $(".circle5").hide(); $(".circle6").hide(); $(".circle7").hide(); $(".circle8").hide(); $(".circle9").hide(); $(".circle10").hide(); $(".circle11").show();
}); })
$(function(){
$('#yeast1').click(function(e)
{
e.preventDefault();
$("#yeast1").attr('src',"");
$("#yeast2").attr('src',"
");
$("#yeast2_1").attr('src',"
");
$("#yeast3").attr('src',"
");
$("#yeast3_1").attr('src',"
");
$("#yeast4").attr('src',"
");
$("#yeast4_1").attr('src',"
");
$("#yeast5").attr('src',"
");
$("#yeast5_1").attr('src',"
");
$("#yeast6").attr('src',"
");
$("#yeast6_1").attr('src',"
");
$("#yeast7").attr('src',"
");
$("#yeast7_1").attr('src',"
");
$("#yeast8").attr('src',"
");
$("#yeast8_1").attr('src',"
");
$("#yeast9").attr('src',"
");
$("#yeast9_1").attr('src',"
");
$("#yeast10").attr('src',"
");
$("#yeast10_1").attr('src',"
");
$("#yeast11").attr('src',"
");
$("#yeast11_1").attr('src',"
");
$("#yeast12").attr('src',"
");
$("#yeast12_1").attr('src',"
");
$("#yeast13_1").attr('src',"
");
$("#yeast13").attr('src',"
");
$("#yeast14").attr('src',"
");
$("#yeast14_1").attr('src',"
");
$(".yeastcircle1").show();
$(".yeastcircle2").hide();
$('.yeastcircle3').hide();
$(".yeastcircle4").hide();
$(".yeastcircle5").hide();
$(".yeastcircle6").hide();
$(".yeastcircle7").hide();
$(".yeastcircle8").hide();
$(".yeastcircle9").hide();
$(".yeastcircle10").hide();
$(".yeastcircle11").hide();
$(".yeastcircle12").hide();
$(".yeastcircle13").hide();
$(".yeastcircle14").hide();
});
})
$(function(){
$('#yeast2').click(function(e)
{
e.preventDefault();
$("#yeast1").attr('src',"");
$("#yeast2").attr('src',"
");
$("#yeast2_1").attr('src',"
");
$("#yeast3").attr('src',"");
$("#yeast3_1").attr('src',"
");
$("#yeast4").attr('src',"
");
$("#yeast4_1").attr('src',"
");
$("#yeast5").attr('src',"
");
$("#yeast5_1").attr('src',"
");
$("#yeast6").attr('src',"
");
$("#yeast6_1").attr('src',"
");
$("#yeast7").attr('src',"
");
$("#yeast7_1").attr('src',"
");
$("#yeast8").attr('src',"
");
$("#yeast8_1").attr('src',"
");
$("#yeast9").attr('src',"
");
$("#yeast9_1").attr('src',"
");
$("#yeast10").attr('src',"
");
$("#yeast10_1").attr('src',"
");
$("#yeast11").attr('src',"
");
$("#yeast11_1").attr('src',"
");
$("#yeast12").attr('src',"
");
$("#yeast12_1").attr('src',"
");
$("#yeast13_1").attr('src',"
");
$("#yeast13").attr('src',"
");
$("#yeast14").attr('src',"
");
$("#yeast14_1").attr('src',"
");
$(".yeastcircle1").hide();
$(".yeastcircle2").show();
$('.yeastcircle3').hide();
$(".yeastcircle4").hide();
$(".yeastcircle5").hide();
$(".yeastcircle6").hide();
$(".yeastcircle7").hide();
$(".yeastcircle8").hide();
$(".yeastcircle9").hide();
$(".yeastcircle10").hide();
$(".yeastcircle11").hide();
$(".yeastcircle12").hide();
$(".yeastcircle13").hide();
$(".yeastcircle14").hide();
});
})
$(function(){
$('#yeast3').click(function(e)
{
e.preventDefault();
$("#yeast1").attr('src',"");
$("#yeast2").attr('src',"
");
$("#yeast2_1").attr('src',"
");
$("#yeast3").attr('src',"");
$("#yeast3_1").attr('src',"
");
$("#yeast4").attr('src',"");
$("#yeast4_1").attr('src',"
");
$("#yeast5").attr('src',"");
$("#yeast5_1").attr('src',"
");
$("#yeast6").attr('src',"
");
$("#yeast6_1").attr('src',"
");
$("#yeast7").attr('src',"
");
$("#yeast7_1").attr('src',"
");
$("#yeast8").attr('src',"
");
$("#yeast8_1").attr('src',"
");
$("#yeast9").attr('src',"
");
$("#yeast9_1").attr('src',"
");
$("#yeast10").attr('src',"
");
$("#yeast10_1").attr('src',"
");
$("#yeast11").attr('src',"
");
$("#yeast11_1").attr('src',"
");
$("#yeast12").attr('src',"
");
$("#yeast12_1").attr('src',"
");
$("#yeast13_1").attr('src',"
");
$("#yeast13").attr('src',"
");
$("#yeast14").attr('src',"
");
$("#yeast14_1").attr('src',"
");
$(".yeastcircle1").hide();
$(".yeastcircle2").hide();
$('.yeastcircle3').show();
$(".yeastcircle4").hide();
$(".yeastcircle5").hide();
$(".yeastcircle6").hide();
$(".yeastcircle7").hide();
$(".yeastcircle8").hide();
$(".yeastcircle9").hide();
$(".yeastcircle10").hide();
$(".yeastcircle11").hide();
$(".yeastcircle12").hide();
$(".yeastcircle13").hide();
$(".yeastcircle14").hide();
});
})
$(function(){
$('#yeast4').click(function(e)
{
e.preventDefault();
$("#yeast1").attr('src',"");
$("#yeast2").attr('src',"
");
$("#yeast2_1").attr('src',"
");
$("#yeast3").attr('src',"
");
$("#yeast3_1").attr('src',"
");
$("#yeast4").attr('src',"
");
$("#yeast4_1").attr('src',"
");
$("#yeast5").attr('src',"");
$("#yeast5_1").attr('src',"
");
$("#yeast6").attr('src',"
");
$("#yeast6_1").attr('src',"
");
$("#yeast7").attr('src',"
");
$("#yeast7_1").attr('src',"
");
$("#yeast8").attr('src',"
");
$("#yeast8_1").attr('src',"
");
$("#yeast9").attr('src',"
");
$("#yeast9_1").attr('src',"
");
$("#yeast10").attr('src',"
");
$("#yeast10_1").attr('src',"
");
$("#yeast11").attr('src',"
");
$("#yeast11_1").attr('src',"
");
$("#yeast12").attr('src',"
");
$("#yeast12_1").attr('src',"
");
$("#yeast13_1").attr('src',"
");
$("#yeast13").attr('src',"
");
$("#yeast14").attr('src',"
");
$("#yeast14_1").attr('src',"
");
$(".yeastcircle1").hide();
$(".yeastcircle2").hide();
$('.yeastcircle3').hide();
$(".yeastcircle4").show();
$(".yeastcircle5").hide();
$(".yeastcircle6").hide();
$(".yeastcircle7").hide();
$(".yeastcircle8").hide();
$(".yeastcircle9").hide();
$(".yeastcircle10").hide();
$(".yeastcircle11").hide();
$(".yeastcircle12").hide();
$(".yeastcircle13").hide();
$(".yeastcircle14").hide();
});
})
$(function(){
$('#yeast5').click(function(e)
{
e.preventDefault();
$("#yeast1").attr('src',"");
$("#yeast2").attr('src',"
");
$("#yeast2_1").attr('src',"
");
$("#yeast3").attr('src',"
");
$("#yeast3_1").attr('src',"
");
$("#yeast4").attr('src',"
");
$("#yeast4_1").attr('src',"
");
$("#yeast5").attr('src',"");
$("#yeast5_1").attr('src',"
");
$("#yeast6").attr('src',"");
$("#yeast6_1").attr('src',"
");
$("#yeast7").attr('src',"
");
$("#yeast7_1").attr('src',"
");
$("#yeast8").attr('src',"
");
$("#yeast8_1").attr('src',"
");
$("#yeast9").attr('src',"
");
$("#yeast9_1").attr('src',"
");
$("#yeast10").attr('src',"
");
$("#yeast10_1").attr('src',"
");
$("#yeast11").attr('src',"
");
$("#yeast11_1").attr('src',"
");
$("#yeast12").attr('src',"
");
$("#yeast12_1").attr('src',"
");
$("#yeast13_1").attr('src',"
");
$("#yeast13").attr('src',"
");
$("#yeast14").attr('src',"
");
$("#yeast14_1").attr('src',"
");
$(".yeastcircle1").hide();
$(".yeastcircle2").hide();
$('.yeastcircle3').hide();
$(".yeastcircle4").hide();
$(".yeastcircle5").show();
$(".yeastcircle6").hide();
$(".yeastcircle7").hide();
$(".yeastcircle8").hide();
$(".yeastcircle9").hide();
$(".yeastcircle10").hide();
$(".yeastcircle11").hide();
$(".yeastcircle12").hide();
$(".yeastcircle13").hide();
$(".yeastcircle14").hide();
});
})
$(function(){
$('#yeast6').click(function(e)
{
e.preventDefault();
$("#yeast1").attr('src',"");
$("#yeast2").attr('src',"
");
$("#yeast2_1").attr('src',"
");
$("#yeast3").attr('src',"
");
$("#yeast3_1").attr('src',"
");
$("#yeast4").attr('src',"
");
$("#yeast4_1").attr('src',"
");
$("#yeast5").attr('src',"");
$("#yeast5_1").attr('src',"
");
$("#yeast6").attr('src',"");
$("#yeast6_1").attr('src',"
");
$("#yeast7").attr('src',"");
$("#yeast7_1").attr('src',"
");
$("#yeast8").attr('src',"
");
$("#yeast8_1").attr('src',"
");
$("#yeast9").attr('src',"
");
$("#yeast9_1").attr('src',"
");
$("#yeast10").attr('src',"
");
$("#yeast10_1").attr('src',"
");
$("#yeast11").attr('src',"
");
$("#yeast11_1").attr('src',"
");
$("#yeast12").attr('src',"
");
$("#yeast12_1").attr('src',"
");
$("#yeast13_1").attr('src',"
");
$("#yeast13").attr('src',"
");
$("#yeast14").attr('src',"
");
$("#yeast14_1").attr('src',"
");
$(".yeastcircle1").hide();
$(".yeastcircle2").hide();
$('.yeastcircle3').hide();
$(".yeastcircle4").hide();
$(".yeastcircle5").hide();
$(".yeastcircle6").show();
$(".yeastcircle7").hide();
$(".yeastcircle8").hide();
$(".yeastcircle9").hide();
$(".yeastcircle10").hide();
$(".yeastcircle11").hide();
$(".yeastcircle12").hide();
$(".yeastcircle13").hide();
$(".yeastcircle14").hide();
});
})
$(function(){
$('#yeast7').click(function(e)
{
e.preventDefault();
$("#yeast1").attr('src',"");
$("#yeast2").attr('src',"
");
$("#yeast2_1").attr('src',"
");
$("#yeast3").attr('src',"
");
$("#yeast3_1").attr('src',"
");
$("#yeast4").attr('src',"
");
$("#yeast4_1").attr('src',"
");
$("#yeast5").attr('src',"");
$("#yeast5_1").attr('src',"
");
$("#yeast6").attr('src',"");
$("#yeast6_1").attr('src',"
");
$("#yeast7").attr('src',"");
$("#yeast7_1").attr('src',"
");
$("#yeast8").attr('src',"
");
$("#yeast8_1").attr('src',"
");
$("#yeast9").attr('src',"
");
$("#yeast9_1").attr('src',"
");
$("#yeast10").attr('src',"
");
$("#yeast10_1").attr('src',"
");
$("#yeast11").attr('src',"
");
$("#yeast11_1").attr('src',"
");
$("#yeast12").attr('src',"
");
$("#yeast12_1").attr('src',"
");
$("#yeast13_1").attr('src',"
");
$("#yeast13").attr('src',"
");
$("#yeast14").attr('src',"
");
$("#yeast14_1").attr('src',"
");
$(".yeastcircle1").hide();
$(".yeastcircle2").hide();
$('.yeastcircle3').hide();
$(".yeastcircle4").hide();
$(".yeastcircle5").hide();
$(".yeastcircle6").hide();
$(".yeastcircle7").show();
$(".yeastcircle8").hide();
$(".yeastcircle9").hide();
$(".yeastcircle10").hide();
$(".yeastcircle11").hide();
$(".yeastcircle12").hide();
$(".yeastcircle13").hide();
$(".yeastcircle14").hide();
});
})
$(function(){
$('#yeast8').click(function(e)
{
e.preventDefault();
$("#yeast1").attr('src',"");
$("#yeast2").attr('src',"
");
$("#yeast2_1").attr('src',"
");
$("#yeast3").attr('src',"
");
$("#yeast3_1").attr('src',"
");
$("#yeast4").attr('src',"
");
$("#yeast4_1").attr('src',"
");
$("#yeast5").attr('src',"
");
$("#yeast5_1").attr('src',"
");
$("#yeast6").attr('src',"
");
$("#yeast6_1").attr('src',"
");
$("#yeast7").attr('src',"
");
$("#yeast7_1").attr('src',"
");
$("#yeast8").attr('src',"
");
$("#yeast8_1").attr('src',"
");
$("#yeast9").attr('src',"
");
$("#yeast9_1").attr('src',"
");
$("#yeast10").attr('src',"
");
$("#yeast10_1").attr('src',"
");
$("#yeast11").attr('src',"
");
$("#yeast11_1").attr('src',"
");
$("#yeast12").attr('src',"
");
$("#yeast12_1").attr('src',"
");
$("#yeast13_1").attr('src',"
");
$("#yeast13").attr('src',"
");
$("#yeast14").attr('src',"
");
$("#yeast14_1").attr('src',"
");
$(".yeastcircle1").hide();
$(".yeastcircle2").hide();
$('.yeastcircle3').hide();
$(".yeastcircle4").hide();
$(".yeastcircle5").hide();
$(".yeastcircle6").hide();
$(".yeastcircle7").hide();
$(".yeastcircle8").show();
$(".yeastcircle9").hide();
$(".yeastcircle10").hide();
$(".yeastcircle11").hide();
$(".yeastcircle12").hide();
$(".yeastcircle13").hide();
$(".yeastcircle14").hide();
});
})
$(function(){
$('#yeast9').click(function(e)
{
e.preventDefault();
$("#yeast1").attr('src',"");
$("#yeast2").attr('src',"
");
$("#yeast2_1").attr('src',"
");
$("#yeast3").attr('src',"
");
$("#yeast3_1").attr('src',"
");
$("#yeast4").attr('src',"
");
$("#yeast4_1").attr('src',"
");
$("#yeast5").attr('src',"
");
$("#yeast5_1").attr('src',"
");
$("#yeast6").attr('src',"
");
$("#yeast6_1").attr('src',"
");
$("#yeast7").attr('src',"
");
$("#yeast7_1").attr('src',"
");
$("#yeast8").attr('src',"
");
$("#yeast8_1").attr('src',"
");
$("#yeast9").attr('src',"
");
$("#yeast9_1").attr('src',"
");
$("#yeast10").attr('src',"
");
$("#yeast10_1").attr('src',"
");
$("#yeast11").attr('src',"
");
$("#yeast11_1").attr('src',"
");
$("#yeast12").attr('src',"
");
$("#yeast12_1").attr('src',"
");
$("#yeast13_1").attr('src',"
");
$("#yeast13").attr('src',"
");
$("#yeast14").attr('src',"
");
$("#yeast14_1").attr('src',"
");
$(".yeastcircle1").hide();
$(".yeastcircle2").hide();
$('.yeastcircle3').hide();
$(".yeastcircle4").hide();
$(".yeastcircle5").hide();
$(".yeastcircle6").hide();
$(".yeastcircle7").hide();
$(".yeastcircle8").hide();
$(".yeastcircle9").show();
$(".yeastcircle10").hide();
$(".yeastcircle11").hide();
$(".yeastcircle12").hide();
$(".yeastcircle13").hide();
$(".yeastcircle14").hide();
});
})
$(function(){
$('#yeast10').click(function(e)
{
e.preventDefault();
$("#yeast1").attr('src',"");
$("#yeast2").attr('src',"
");
$("#yeast2_1").attr('src',"
");
$("#yeast3").attr('src',"
");
$("#yeast3_1").attr('src',"
");
$("#yeast4").attr('src',"
");
$("#yeast4_1").attr('src',"
");
$("#yeast5").attr('src',"
");
$("#yeast5_1").attr('src',"
");
$("#yeast6").attr('src',"
");
$("#yeast6_1").attr('src',"
");
$("#yeast7").attr('src',"
");
$("#yeast7_1").attr('src',"
");
$("#yeast8").attr('src',"
");
$("#yeast8_1").attr('src',"
");
$("#yeast9").attr('src',"
");
$("#yeast9_1").attr('src',"
");
$("#yeast10").attr('src',"
");
$("#yeast10_1").attr('src',"
");
$("#yeast11").attr('src',"
");
$("#yeast11_1").attr('src',"
");
$("#yeast12").attr('src',"
");
$("#yeast12_1").attr('src',"
");
$("#yeast13_1").attr('src',"
");
$("#yeast13").attr('src',"
");
$("#yeast14").attr('src',"
");
$("#yeast14_1").attr('src',"
");
$(".yeastcircle1").hide();
$(".yeastcircle2").hide();
$('.yeastcircle3').hide();
$(".yeastcircle4").hide();
$(".yeastcircle5").hide();
$(".yeastcircle6").hide();
$(".yeastcircle7").hide();
$(".yeastcircle8").hide();
$(".yeastcircle9").hide();
$(".yeastcircle10").show();
$(".yeastcircle11").hide();
$(".yeastcircle12").hide();
$(".yeastcircle13").hide();
$(".yeastcircle14").hide();
});
})
$(function(){
$('#yeast11').click(function(e)
{
e.preventDefault();
$("#yeast1").attr('src',"");
$("#yeast2").attr('src',"
");
$("#yeast2_1").attr('src',"
");
$("#yeast3").attr('src',"
");
$("#yeast3_1").attr('src',"
");
$("#yeast4").attr('src',"
");
$("#yeast4_1").attr('src',"
");
$("#yeast5").attr('src',"
");
$("#yeast5_1").attr('src',"
");
$("#yeast6").attr('src',"
");
$("#yeast6_1").attr('src',"
");
$("#yeast7").attr('src',"
");
$("#yeast7_1").attr('src',"
");
$("#yeast8").attr('src',"
");
$("#yeast8_1").attr('src',"
");
$("#yeast9").attr('src',"
");
$("#yeast9_1").attr('src',"
");
$("#yeast10").attr('src',"
");
$("#yeast10_1").attr('src',"
");
$("#yeast11").attr('src',"
");
$("#yeast11_1").attr('src',"
");
$("#yeast12").attr('src',"
");
$("#yeast12_1").attr('src',"
");
$("#yeast13_1").attr('src',"
");
$("#yeast13").attr('src',"
");
$("#yeast14").attr('src',"
");
$("#yeast14_1").attr('src',"
");
$(".yeastcircle1").hide();
$(".yeastcircle2").hide();
$('.yeastcircle3').hide();
$(".yeastcircle4").hide();
$(".yeastcircle5").hide();
$(".yeastcircle6").hide();
$(".yeastcircle7").hide();
$(".yeastcircle8").hide();
$(".yeastcircle9").hide();
$(".yeastcircle10").hide();
$(".yeastcircle11").show();
$(".yeastcircle12").hide();
$(".yeastcircle13").hide();
$(".yeastcircle14").hide();
});
})
$(function(){
$('#yeast12').click(function(e)
{
e.preventDefault();
$("#yeast1").attr('src',"");
$("#yeast2").attr('src',"
");
$("#yeast2_1").attr('src',"
");
$("#yeast3").attr('src',"
");
$("#yeast3_1").attr('src',"
");
$("#yeast4").attr('src',"
");
$("#yeast4_1").attr('src',"
");
$("#yeast5").attr('src',"
");
$("#yeast5_1").attr('src',"
");
$("#yeast6").attr('src',"
");
$("#yeast6_1").attr('src',"
");
$("#yeast7").attr('src',"
");
$("#yeast7_1").attr('src',"
");
$("#yeast8").attr('src',"
");
$("#yeast8_1").attr('src',"
");
$("#yeast9").attr('src',"
");
$("#yeast9_1").attr('src',"
");
$("#yeast10").attr('src',"
");
$("#yeast10_1").attr('src',"
");
$("#yeast11").attr('src',"
");
$("#yeast11_1").attr('src',"
");
$("#yeast12").attr('src',"");
$("#yeast12_1").attr('src',"
");
$("#yeast13_1").attr('src',"");
$("#yeast13").attr('src',"
");
$("#yeast14").attr('src',"
");
$("#yeast14_1").attr('src',"
");
$(".yeastcircle1").hide();
$(".yeastcircle2").hide();
$('.yeastcircle3').hide();
$(".yeastcircle4").hide();
$(".yeastcircle5").hide();
$(".yeastcircle6").hide();
$(".yeastcircle7").hide();
$(".yeastcircle8").hide();
$(".yeastcircle9").hide();
$(".yeastcircle10").hide();
$(".yeastcircle11").hide();
$(".yeastcircle12").show();
$(".yeastcircle13").hide();
$(".yeastcircle14").hide();
});
})
$(function(){
$('#yeast13').click(function(e)
{
e.preventDefault();
$("#yeast1").attr('src',"");
$("#yeast2").attr('src',"
");
$("#yeast2_1").attr('src',"
");
$("#yeast3").attr('src',"
");
$("#yeast3_1").attr('src',"
");
$("#yeast4").attr('src',"
");
$("#yeast4_1").attr('src',"
");
$("#yeast5").attr('src',"
");
$("#yeast5_1").attr('src',"
");
$("#yeast6").attr('src',"
");
$("#yeast6_1").attr('src',"
");
$("#yeast7").attr('src',"
");
$("#yeast7_1").attr('src',"
");
$("#yeast8").attr('src',"
");
$("#yeast8_1").attr('src',"
");
$("#yeast9").attr('src',"
");
$("#yeast9_1").attr('src',"
");
$("#yeast10").attr('src',"
");
$("#yeast10_1").attr('src',"
");
$("#yeast11").attr('src',"
");
$("#yeast11_1").attr('src',"
");
$("#yeast12").attr('src',"");
$("#yeast12_1").attr('src',"
");
$("#yeast13").attr('src',"");
$("#yeast13_1").attr('src',"
");
$("#yeast14").attr('src',"");
$("#yeast14_1").attr('src',"
");
$(".yeastcircle1").hide();
$(".yeastcircle2").hide();
$('.yeastcircle3').hide();
$(".yeastcircle4").hide();
$(".yeastcircle5").hide();
$(".yeastcircle6").hide();
$(".yeastcircle7").hide();
$(".yeastcircle8").hide();
$(".yeastcircle9").hide();
$(".yeastcircle10").hide();
$(".yeastcircle11").hide();
$(".yeastcircle12").hide();
$(".yeastcircle13").show();
$(".yeastcircle14").hide();
});
})
$(function(){
$('#yeast14').click(function(e)
{
e.preventDefault();
$("#yeast1").attr('src',"");
$("#yeast2").attr('src',"
");
$("#yeast2_1").attr('src',"
");
$("#yeast3").attr('src',"
");
$("#yeast3_1").attr('src',"
");
$("#yeast4").attr('src',"
");
$("#yeast4_1").attr('src',"
");
$("#yeast5").attr('src',"
");
$("#yeast5_1").attr('src',"
");
$("#yeast6").attr('src',"
");
$("#yeast6_1").attr('src',"
");
$("#yeast7").attr('src',"
");
$("#yeast7_1").attr('src',"
");
$("#yeast8").attr('src',"
");
$("#yeast8_1").attr('src',"
");
$("#yeast9").attr('src',"
");
$("#yeast9_1").attr('src',"
");
$("#yeast10").attr('src',"
");
$("#yeast10_1").attr('src',"
");
$("#yeast11").attr('src',"
");
$("#yeast11_1").attr('src',"
");
$("#yeast12").attr('src',"");
$("#yeast12_1").attr('src',"
");
$("#yeast13").attr('src',"");
$("#yeast13_1").attr('src',"
");
$("#yeast14").attr('src',"");
$("#yeast14_1").attr('src',"
");
$(".yeastcircle1").hide();
$(".yeastcircle2").hide();
$('.yeastcircle3').hide();
$(".yeastcircle4").hide();
$(".yeastcircle5").hide();
$(".yeastcircle6").hide();
$(".yeastcircle7").hide();
$(".yeastcircle8").hide();
$(".yeastcircle9").hide();
$(".yeastcircle10").hide();
$(".yeastcircle11").hide();
$(".yeastcircle12").hide();
$(".yeastcircle13").hide();
$(".yeastcircle14").show();
});
})
// new code for fade in and fade out
$(function(){
var text = $('.text-overflow'),
btn = $('.btn-overflow'),
h = text[0].scrollHeight;
alert(h);
var h1=h+100;
alert(h1);
if(h > 200) {
btn.addClass('less');
btn.css('display', 'block');
}
btn.click(function(e)
{
e.stopPropagation();
e.preventDefault();
if (btn.hasClass('less')) {
btn.removeClass('less'); btn.addClass('more'); //btn.text('Show less'); //btn.find('i').addClass(' fa-chevron-circle-up'); //btn.find('i').removeClass('fa-chevron-circle-down'); btn.find('i').toggleClass('fa-chevron-circle-down fa-chevron-circle-up'); text.animate({'height': h1}); } else { btn.addClass('less'); btn.removeClass('more'); //btn.text('Show more'); //btn.find('i').addClass('fa-chevron-circle-down'); //btn.find('i').removeClass('fa-chevron-circle-up'); btn.find('i').toggleClass('fa-chevron-circle-down fa-chevron-circle-up'); text.animate({'height': '200px'}); } }); });
});
})(jQuery, window);