Kendracorral (Talk | contribs) |
Kendracorral (Talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | $(function(){header.init(),calendar.init();try{$("#fullpage").fullpage({scrollBar:!0,menu:"#slideMenu",onLeave:function(e,a,i){6==a||1==a?($(".slide-menu").removeClass("show"),1==a?$("#upArrow").addClass("nope"):($("#downArrow").addClass("nope"),$("#upArrow").addClass("go-down"))):($(".slide-menu").addClass("show"),$(".control-arrows span").removeClass("nope"),$("#upArrow").removeClass("go-down"))}})}catch(e){}try{window.sr=ScrollReveal(),sr.reveal(".team-member"),sr.reveal(".std-section > h2"),sr.reveal(".calendar"),sr.reveal(".calendar-legend")}catch(e){}$("#upArrow").click(function(){$.fn.fullpage.moveSectionUp()}),$("#downArrow").click(function(){$.fn.fullpage.moveSectionDown()}),$("pre > *").unwrap()});var header={init:function(){var e=$("#meta"),a=e.data("thisPage");$(".option-item[data-pageTitle="+a+"]").addClass("active"),$(document).on("click",".option.header:not(.active-menu)",function(){var e=$(this),a=e.siblings(".option-dropdown"),i=e.parent();if(!$(this)[0].hasAttribute("href"))if($(window).width()>767)if($(".active-menu").length>0)$(".active-menu").click();else{var t=$("#menuStart").offset().left-e.offset().left;$(".option-item").not(i).addClass("traslucent"),i.css({left:t,border:"none",zIndex:100}),a.css({left:i.width(),width:$("#optionsWrapper").width()-i.width()}),$(this).addClass("active-menu"),a.find(".option").each(function(e,a){setTimeout(function(){$(a).css("transform","translate(0)")},60*e)})}else header.toggleHeader(a)}),$(document).on("click",".active-menu",function(){var e=$(this),a=e.siblings(".option-dropdown"),i=e.parent();$(".option-item").not(e).removeClass("traslucent"),e.removeClass("active-menu"),i.removeAttr("style"),a.removeAttr("style"),a.find(".option").removeAttr("style")}),$(".toggle-menu").click(function(){$(".main-nav").addClass("open"),$("body").append('<div class="black-overlay"></div>'),$(".black-overlay").one("click",function(){$(".main-nav").removeClass("open"),$(".black-overlay").remove()})})},toggleHeader:function(e){$(".option-dropdown").not(e).each(function(){var e=$(this);e.hasClass("open")&&(e.css("max-height",0),e.removeClass("open"))}),e.hasClass("open")?e.css("max-height",0):e.css("max-height",30*e.find(".option").length),e.toggleClass("open")},openHeader:function(e){$(".option-dropdown").not(e).each(function(){var e=$(this);e.hasClass("open")&&(e.css("max-height",0),e.removeClass("open"))}),e.css("max-height",30*e.find(".option").length),e.addClass("open")}},calendar={monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],categories:{Meeting:"https://static.igem.org/mediawiki/igem.org/thumb/a/a2/T--Tec-Chihuahua--Meeting.jpg/308px-T--Tec-Chihuahua--Meeting.jpg.png",Collaboration:"https://static.igem.org/mediawiki/igem.org/thumb/3/3c/T--Tec-Chihuahua--Collaboration.jpg/320px-T--Tec-Chihuahua--Collaboration.jpg.png",Project:"https://static.igem.org/mediawiki/igem.org/thumb/2/2d/T--Tec-Chihuahua--ProjectDN.jpg/155px-T--Tec-Chihuahua--ProjectDN.jpg.png","Human Practices":"https://static.igem.org/mediawiki/igem.org/thumb/f/f2/T--Tec-Chihuahua--HP.jpg/282px-T--Tec-Chihuahua--HP.jpg.png",Diffusion:"https://static.igem.org/mediawiki/igem.org/thumb/0/0f/T--Tec-Chihuahua--Diffusion.jpg/200px-T--Tec-Chihuahua--Diffusion.jpg.png",iGEM:"https://static.igem.org/mediawiki/2016/3/30/T--Tec-Chihuahua--igem-small.png"},data:[[{"Título":"First official meeting of the team","Categoría":"Meeting",Mes:"01","Día":"7",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/thumb/1/10/7enero.jpg/800px-7enero.jpg"],Texto:"Today we had our first official meeting!<br>iGEM Tec Chihuahua is integrated by 14 undergraduate students from 3rd, 5th and 7th semester of Engineering Biotechnology, and our two advisors: Cd.Ph.D. Cynthia Lorena González Trevizo and Ph.D. Silvia Lorena Montes Fonseca."}],[],[{"Título":"ConocerTEC","Categoría":"Diffusion",Mes:"03","Día":"12",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/thumb/4/41/12marzoa.jpg/800px-12marzoa.jpg","https://static.igem.org/mediawiki/igem.org/b/b9/12marzob.jpg"],Texto:"We went to our school’s open house to speak about biotechnology, iGEM and our project to bachelor students"}],[],[{"Título":"Training begins!","Categoría":"Project",Mes:"05","Día":"23",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/thumb/1/1d/23mayoa.jpg/800px-23mayoa.jpg","https://static.igem.org/mediawiki/igem.org/thumb/b/b2/23mayob.jpg/800px-23mayob.jpg","https://static.igem.org/mediawiki/igem.org/thumb/b/bf/23mayoc.jpg/800px-23mayoc.jpg"],Texto:"After we officially finished the semester and we were out on summer vacations, the whole team started doing training practices so we all knew how to do every lab procedure."},{"Título":"Today we FINALLY decided our project!","Categoría":"Project",Mes:"05","Día":"26",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/5/5c/26mayo.jpg"],Texto:"After going through a lot of project ideas and a lot of deliberation, we finally settled on the use of Myxobacterias for fungal control in alfalfa crops."}],[{"Título":"Meeting with LATAM Ambassador Ana Sifuentes","Categoría":"Meeting",Mes:"06","Día":"8",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/6/67/Staff_hq_ana.jpg"],Texto:"Today we presented our project and perspectives to the Ambassador of Latin America Ana Sifuentes. She made some suggestions and commented on our ideas to help us enhance it."},{"Título":"Full team meeting (including other career members)","Categoría":"Meeting",Mes:"06","Día":"14",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/thumb/7/73/14junioa.jpg/800px-14junioa.jpg","https://static.igem.org/mediawiki/igem.org/thumb/8/8d/14juniob.jpg/800px-14juniob.jpg"],Texto:"This day was the meeting with all the team members, we exposed the progress of the differents areas of the project, we settled the things to do and established the organization of the new tasks."},{"Título":"Gram Staining","Categoría":"Project",Mes:"06","Día":"14",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/3/37/14junio1.jpg","https://static.igem.org/mediawiki/igem.org/7/7c/14junio2.jpg"],Texto:"After reviving one of the myxobacteria species that was stored frozen, (presumably Myxococcus xanthus), and cultivating it until we had decent size colonies, we proceeded to do gram staining in order to see if we indeed had the correct bacterias"},{"Título":"Official Picture","Categoría":"iGEM",Mes:"06","Día":"16",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/7/70/16junio.jpg"],Texto:"Now that the the whole team knew each other, we arranged a photoshoot in order to have group and individual photos."},{"Título":"Visit to cultivations: interviews to the labor union","Categoría":"Human Practices",Mes:"06","Día":"17",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/thumb/3/33/17junioa.jpg/800px-17junioa.jpg","https://static.igem.org/mediawiki/igem.org/thumb/7/7c/17juniob.jpg/800px-17juniob.jpg"],Texto:"We established our first contact with the director of a biofertilizer company; to know what he thought of our project, see if he could contact us with some people and if he would allow us to do some sampling in the future."},{"Título":"Meeting the future Biotechnology students","Categoría":"Diffusion",Mes:"06","Día":"22",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/thumb/6/61/22junio1.jpg/800px-22junio1.jpg","https://static.igem.org/mediawiki/igem.org/9/97/22junio2.jpg","https://static.igem.org/mediawiki/igem.org/4/46/22junio3.jpg"],Texto:"We were invited to talk about our project to the next generation of biotechnology engineering students at our University, ITESM campus Chihuahua. After this we had a little get together in which we socialized with them (and then we went to a bar and Kevin got really drunk)."},{"Título":"Visit to cultivations: interviews","Categoría":"Human Practices",Mes:"06","Día":"23",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/thumb/5/56/23junio1.jpg/800px-23junio1.jpg","https://static.igem.org/mediawiki/igem.org/a/a3/23junio2.jpg"],Texto:"We went for the first time to visit agricultors that were experiencing problems with their crops (we were interested especially in pudrición texana). They were really eager to help us with our project and our interviews"},{"Título":"Our kit finally arrived!","Categoría":"iGEM",Mes:"06","Día":"24",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/thumb/9/93/24junio1.jpg/800px-24junio1.jpg","https://static.igem.org/mediawiki/igem.org/thumb/4/49/24junio2.jpg/800px-24junio2.jpg","https://static.igem.org/mediawiki/igem.org/thumb/f/f3/24junio3.jpg/800px-24junio3.jpg"],Texto:"Our advisor Cynthia informed us about our iGEM kit arrival. We are really excited!"},{"Título":"Visit to cultivations: sampling","Categoría":"Project",Mes:"06","Día":"24",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/thumb/e/ee/24junio4.jpg/800px-24junio4.jpg","https://static.igem.org/mediawiki/igem.org/thumb/2/26/24junio5.jpg/800px-24junio5.jpg","https://static.igem.org/mediawiki/igem.org/9/96/24junio6.jpg"],Texto:"We went on doing sampling and had the opportunity to talk with agricultors, as well as do little interviews"},{"Título":"Videocall with the Chennai SVCE team","Categoría":"Collaboration",Mes:"06","Día":"27",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/thumb/0/07/27junio.jpg/800px-27junio.jpg"],Texto:"We arranged a meeting via videocall with the Chennai SVCE team, where we discussed in which ways we could collaborate and work together."},{"Título":"Visit to cultivations: sampling","Categoría":"Project",Mes:"06","Día":"27",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/9/90/27junio1.jpg","https://static.igem.org/mediawiki/igem.org/thumb/b/b8/27junio2.jpg/800px-27junio2.jpg","https://static.igem.org/mediawiki/igem.org/1/17/27junio3.jpg"],Texto:"We visited cultivations to do some sampling. We found that the roots were rotten, as well as a lot of cuscuta in the crop. We also asked some questions related to our project to the agricultors."},{"Título":"Official logo","Categoría":"Diffusion",Mes:"06","Día":"28",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/1/11/28junio.jpg"],Texto:"We finally have a logo! Thanks to Ana Yakari Carrasco Berumen for her beautiful design for our team and project"},{"Título":"Sampling in the cut","Categoría":"Project",Mes:"06","Día":"29",Imagen_principal:["https://static.igem.org/mediawiki/igem.org/thumb/2/29/29junio.jpg/450px-29junio.jpg","https://static.igem.org/mediawiki/igem.org/thumb/f/f4/29junioa.jpg/800px-29junioa.jpg"],Texto:"We arrived to a cultivation where Mr. Franco showed us an infected sector with white fungus. We did sampling, and found fungus in the root and stem of the alfafa. We visited another cultivations but only found one kind of infection: cuscuta. We went to the lab and prepared the material for its analysis "}]],init:function(){if($("#calendar").length>0){var e=(new Date).getMonth();calendar.loadMonth(e),calendar.setEvents()}},loadMonth:function(e,a){if(0>e||e>=12)return!1;var i=new Date(2016,e),t=calendar.monthNames[i.getMonth()]+" "+i.getFullYear(),o=i.getDay(),n=new Date(2016,e+1,0).getDate(),r=$("#calendar"),s=r.find(".calendar-days").html(),l=parseInt(r.data("currentMonth"));r.data("currentMonth",e),r.find(".calendar-header .month-name").html(t),r.find("#dropdownMonth").html(calendar.monthNames[i.getMonth()]+' <span class="caret"></span>');for(var d=0,g=1;42>d;d++){d>=35&&n>=g&&$(".calendar-row").length<6?$(".calendar-days").append('<div class="calendar-row"><div class="calendar-grid"></div><div class="calendar-grid"></div><div class="calendar-grid"></div><div class="calendar-grid"></div><div class="calendar-grid"></div><div class="calendar-grid"></div><div class="calendar-grid"></div></div>'):35>d&&n>=g&&$(".calendar-row").length>5&&$(".calendar-row").last().remove();var c=$(".calendar-row").eq(Math.floor(d/7)).find(".calendar-grid").eq(d%7);o>d||g>n?c.html(" "):c.html('<div class="day-number" data-day="'+g+'">'+g++ +"</div>")}0==e?$(".calendar-header .controls .glyphicon").eq(0).addClass("disabled"):11==e?$(".calendar-header .controls .glyphicon").eq(1).addClass("disabled"):$(".calendar-header .controls .glyphicon").removeClass("disabled"),calendar.populateMonth(e),a&&($("#calendarWrapper").append('<div class="calendar-days" id="oldCalendar"></div>'),$("#oldCalendar").html(s),$("#calendar").css("overflow","hidden"),e>l?($("#calendar .calendar-days:not(#oldCalendar)").css({position:"absolute",left:"100%",width:"100%"}),$("#calendarWrapper").addClass("left")):($("#calendar .calendar-days:not(#oldCalendar)").css({position:"absolute",right:"100%",width:"100%"}),$("#calendarWrapper").addClass("right")),setTimeout(function(){$("#calendar").css("overflow",""),$("#calendarWrapper").removeClass("left").removeClass("right"),$("#oldCalendar").remove(),$("#calendar .calendar-days").removeAttr("style")},610))},populateMonth:function(e){var a=$("div.calendar-grid");$.each(calendar.data[e],function(i,t){var o=a.find("[data-day="+t.Día+"]").first().parent();0==o.find(".event").length&&o.prepend("<div class='event'></div>"),o.find(".event").append("<img src='"+calendar.categories[t.Categoría]+"'/>"),o.find(".event img").last().data("key",e+"-"+i)})},setEvents:function(){$(".calendar-header .controls .glyphicon").click(function(){var e=parseInt($("#calendar").data("currentMonth")),a=e+(0==$(this).index()?-1:1);calendar.loadMonth(a,!0)}),$(".calendar-header .controls .dropdown ul li").click(function(){var e=$(this).index();calendar.loadMonth(e,!0)}),$(".calendar-legend li").on("mouseenter click",function(){var e=$(this);0==e.find(".igemtooltip").length&&(e.append('<div class="igemtooltip"></div>'),e.find(".igemtooltip").html("<p>"+e.data("tooltip")+"</p>").fadeIn())}),$(document).on("mouseleave click",".igemtooltip",function(e){var a=$(this);a.fadeOut(function(){a.remove()})}),$(document).on("click",".event img",function(){var e=$(this).data("key").split("-"),a=calendar.data[e[0]][e[1]];$("#eventModal .modal-title").html(a.Título),$("#imageWrapper > div").addClass("hidden"),a.Imagen_principal.length>1?($("#modalSlider .carousel-inner").html(""),$("#modalSlider .carousel-indicators").html(""),$.each(a.Imagen_principal,function(e,a){var i="<div class='item'><div class='slider-img' style='background-image: url("+a+");'></div></div>",t="<li data-target='#modalSlider' data-slide-to='"+e+"'></li>";$("#modalSlider .carousel-inner").append(i),$("#modalSlider .carousel-indicators").append(t)}),$("#modalSlider .carousel-inner .item").first().addClass("active"),$("#modalSlider .carousel-indicators li").first().addClass("active"),$("#modalSlider").carousel("pause").removeData(),$("#modalSlider").carousel(0),$("#sliderWrapper").removeClass("hidden")):$("#eventModal #mainImage").removeClass("hidden").html('<img class="modal-main-image" src="'+a.Imagen_principal[0]+'" />'),$("#eventModal .modal-text").html(a.Texto),$("#eventModal").modal("show")})}}; |
Revision as of 17:55, 29 September 2016
$(function(){header.init(),calendar.init();try{$("#fullpage").fullpage({scrollBar:!0,menu:"#slideMenu",onLeave:function(e,a,i){6==a||1==a?($(".slide-menu").removeClass("show"),1==a?$("#upArrow").addClass("nope"):($("#downArrow").addClass("nope"),$("#upArrow").addClass("go-down"))):($(".slide-menu").addClass("show"),$(".control-arrows span").removeClass("nope"),$("#upArrow").removeClass("go-down"))}})}catch(e){}try{window.sr=ScrollReveal(),sr.reveal(".team-member"),sr.reveal(".std-section > h2"),sr.reveal(".calendar"),sr.reveal(".calendar-legend")}catch(e){}$("#upArrow").click(function(){$.fn.fullpage.moveSectionUp()}),$("#downArrow").click(function(){$.fn.fullpage.moveSectionDown()}),$("pre > *").unwrap()});var header={init:function(){var e=$("#meta"),a=e.data("thisPage");$(".option-item[data-pageTitle="+a+"]").addClass("active"),$(document).on("click",".option.header:not(.active-menu)",function(){var e=$(this),a=e.siblings(".option-dropdown"),i=e.parent();if(!$(this)[0].hasAttribute("href"))if($(window).width()>767)if($(".active-menu").length>0)$(".active-menu").click();else{var t=$("#menuStart").offset().left-e.offset().left;$(".option-item").not(i).addClass("traslucent"),i.css({left:t,border:"none",zIndex:100}),a.css({left:i.width(),width:$("#optionsWrapper").width()-i.width()}),$(this).addClass("active-menu"),a.find(".option").each(function(e,a){setTimeout(function(){$(a).css("transform","translate(0)")},60*e)})}else header.toggleHeader(a)}),$(document).on("click",".active-menu",function(){var e=$(this),a=e.siblings(".option-dropdown"),i=e.parent();$(".option-item").not(e).removeClass("traslucent"),e.removeClass("active-menu"),i.removeAttr("style"),a.removeAttr("style"),a.find(".option").removeAttr("style")}),$(".toggle-menu").click(function(){$(".main-nav").addClass("open"),$("body").append(''),$(".black-overlay").one("click",function(){$(".main-nav").removeClass("open"),$(".black-overlay").remove()})})},toggleHeader:function(e){$(".option-dropdown").not(e).each(function(){var e=$(this);e.hasClass("open")&&(e.css("max-height",0),e.removeClass("open"))}),e.hasClass("open")?e.css("max-height",0):e.css("max-height",30*e.find(".option").length),e.toggleClass("open")},openHeader:function(e){$(".option-dropdown").not(e).each(function(){var e=$(this);e.hasClass("open")&&(e.css("max-height",0),e.removeClass("open"))}),e.css("max-height",30*e.find(".option").length),e.addClass("open")}},calendar={monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],categories:{Meeting:"![308px-T--Tec-Chihuahua--Meeting.jpg.png](https://static.igem.org/mediawiki/igem.org/thumb/a/a2/T--Tec-Chihuahua--Meeting.jpg/308px-T--Tec-Chihuahua--Meeting.jpg.png)
![320px-T--Tec-Chihuahua--Collaboration.jpg.png](https://static.igem.org/mediawiki/igem.org/thumb/3/3c/T--Tec-Chihuahua--Collaboration.jpg/320px-T--Tec-Chihuahua--Collaboration.jpg.png)
![155px-T--Tec-Chihuahua--ProjectDN.jpg.png](https://static.igem.org/mediawiki/igem.org/thumb/2/2d/T--Tec-Chihuahua--ProjectDN.jpg/155px-T--Tec-Chihuahua--ProjectDN.jpg.png)
![282px-T--Tec-Chihuahua--HP.jpg.png](https://static.igem.org/mediawiki/igem.org/thumb/f/f2/T--Tec-Chihuahua--HP.jpg/282px-T--Tec-Chihuahua--HP.jpg.png)
![200px-T--Tec-Chihuahua--Diffusion.jpg.png](https://static.igem.org/mediawiki/igem.org/thumb/0/0f/T--Tec-Chihuahua--Diffusion.jpg/200px-T--Tec-Chihuahua--Diffusion.jpg.png)
![T--Tec-Chihuahua--igem-small.png](https://static.igem.org/mediawiki/2016/3/30/T--Tec-Chihuahua--igem-small.png)
![800px-7enero.jpg](https://static.igem.org/mediawiki/igem.org/thumb/1/10/7enero.jpg/800px-7enero.jpg)
iGEM Tec Chihuahua is integrated by 14 undergraduate students from 3rd, 5th and 7th semester of Engineering Biotechnology, and our two advisors: Cd.Ph.D. Cynthia Lorena González Trevizo and Ph.D. Silvia Lorena Montes Fonseca."}],[],[{"Título":"ConocerTEC","Categoría":"Diffusion",Mes:"03","Día":"12",Imagen_principal:["
![800px-12marzoa.jpg](https://static.igem.org/mediawiki/igem.org/thumb/4/41/12marzoa.jpg/800px-12marzoa.jpg)
![12marzob.jpg](https://static.igem.org/mediawiki/igem.org/b/b9/12marzob.jpg)
![800px-23mayoa.jpg](https://static.igem.org/mediawiki/igem.org/thumb/1/1d/23mayoa.jpg/800px-23mayoa.jpg)
![800px-23mayob.jpg](https://static.igem.org/mediawiki/igem.org/thumb/b/b2/23mayob.jpg/800px-23mayob.jpg)
![800px-23mayoc.jpg](https://static.igem.org/mediawiki/igem.org/thumb/b/bf/23mayoc.jpg/800px-23mayoc.jpg)
![26mayo.jpg](https://static.igem.org/mediawiki/igem.org/5/5c/26mayo.jpg)
![Staff_hq_ana.jpg](https://static.igem.org/mediawiki/igem.org/6/67/Staff_hq_ana.jpg)
![800px-14junioa.jpg](https://static.igem.org/mediawiki/igem.org/thumb/7/73/14junioa.jpg/800px-14junioa.jpg)
![800px-14juniob.jpg](https://static.igem.org/mediawiki/igem.org/thumb/8/8d/14juniob.jpg/800px-14juniob.jpg)
![14junio1.jpg](https://static.igem.org/mediawiki/igem.org/3/37/14junio1.jpg)
![14junio2.jpg](https://static.igem.org/mediawiki/igem.org/7/7c/14junio2.jpg)
![16junio.jpg](https://static.igem.org/mediawiki/igem.org/7/70/16junio.jpg)
![800px-17junioa.jpg](https://static.igem.org/mediawiki/igem.org/thumb/3/33/17junioa.jpg/800px-17junioa.jpg)
![800px-17juniob.jpg](https://static.igem.org/mediawiki/igem.org/thumb/7/7c/17juniob.jpg/800px-17juniob.jpg)
![800px-22junio1.jpg](https://static.igem.org/mediawiki/igem.org/thumb/6/61/22junio1.jpg/800px-22junio1.jpg)
![22junio2.jpg](https://static.igem.org/mediawiki/igem.org/9/97/22junio2.jpg)
![22junio3.jpg](https://static.igem.org/mediawiki/igem.org/4/46/22junio3.jpg)
![800px-23junio1.jpg](https://static.igem.org/mediawiki/igem.org/thumb/5/56/23junio1.jpg/800px-23junio1.jpg)
![23junio2.jpg](https://static.igem.org/mediawiki/igem.org/a/a3/23junio2.jpg)
![800px-24junio1.jpg](https://static.igem.org/mediawiki/igem.org/thumb/9/93/24junio1.jpg/800px-24junio1.jpg)
![800px-24junio2.jpg](https://static.igem.org/mediawiki/igem.org/thumb/4/49/24junio2.jpg/800px-24junio2.jpg)
![800px-24junio3.jpg](https://static.igem.org/mediawiki/igem.org/thumb/f/f3/24junio3.jpg/800px-24junio3.jpg)
![800px-24junio4.jpg](https://static.igem.org/mediawiki/igem.org/thumb/e/ee/24junio4.jpg/800px-24junio4.jpg)
![800px-24junio5.jpg](https://static.igem.org/mediawiki/igem.org/thumb/2/26/24junio5.jpg/800px-24junio5.jpg)
![24junio6.jpg](https://static.igem.org/mediawiki/igem.org/9/96/24junio6.jpg)
![800px-27junio.jpg](https://static.igem.org/mediawiki/igem.org/thumb/0/07/27junio.jpg/800px-27junio.jpg)
![27junio1.jpg](https://static.igem.org/mediawiki/igem.org/9/90/27junio1.jpg)
![800px-27junio2.jpg](https://static.igem.org/mediawiki/igem.org/thumb/b/b8/27junio2.jpg/800px-27junio2.jpg)
![27junio3.jpg](https://static.igem.org/mediawiki/igem.org/1/17/27junio3.jpg)
![28junio.jpg](https://static.igem.org/mediawiki/igem.org/1/11/28junio.jpg)
![450px-29junio.jpg](https://static.igem.org/mediawiki/igem.org/thumb/2/29/29junio.jpg/450px-29junio.jpg)
![800px-29junioa.jpg](https://static.igem.org/mediawiki/igem.org/thumb/f/f4/29junioa.jpg/800px-29junioa.jpg)
'):35>d&&n>=g&&$(".calendar-row").length>5&&$(".calendar-row").last().remove();var c=$(".calendar-row").eq(Math.floor(d/7)).find(".calendar-grid").eq(d%7);o>d||g>n?c.html(" "):c.html('
'+g++ +"
")}0==e?$(".calendar-header .controls .glyphicon").eq(0).addClass("disabled"):11==e?$(".calendar-header .controls .glyphicon").eq(1).addClass("disabled"):$(".calendar-header .controls .glyphicon").removeClass("disabled"),calendar.populateMonth(e),a&&($("#calendarWrapper").append(''),$("#oldCalendar").html(s),$("#calendar").css("overflow","hidden"),e>l?($("#calendar .calendar-days:not(#oldCalendar)").css({position:"absolute",left:"100%",width:"100%"}),$("#calendarWrapper").addClass("left")):($("#calendar .calendar-days:not(#oldCalendar)").css({position:"absolute",right:"100%",width:"100%"}),$("#calendarWrapper").addClass("right")),setTimeout(function(){$("#calendar").css("overflow",""),$("#calendarWrapper").removeClass("left").removeClass("right"),$("#oldCalendar").remove(),$("#calendar .calendar-days").removeAttr("style")},610))},populateMonth:function(e){var a=$("div.calendar-grid");$.each(calendar.data[e],function(i,t){var o=a.find("[data-day="+t.Día+"]").first().parent();0==o.find(".event").length&&o.prepend(""),o.find(".event").append("<img src='"+calendar.categories[t.Categoría]+"'/>"),o.find(".event img").last().data("key",e+"-"+i)})},setEvents:function(){$(".calendar-header .controls .glyphicon").click(function(){var e=parseInt($("#calendar").data("currentMonth")),a=e+(0==$(this).index()?-1:1);calendar.loadMonth(a,!0)}),$(".calendar-header .controls .dropdown ul li").click(function(){var e=$(this).index();calendar.loadMonth(e,!0)}),$(".calendar-legend li").on("mouseenter click",function(){var e=$(this);0==e.find(".igemtooltip").length&&(e.append(''),e.find(".igemtooltip").html(""+e.data("tooltip")+"
").fadeIn())}),$(document).on("mouseleave click",".igemtooltip",function(e){var a=$(this);a.fadeOut(function(){a.remove()})}),$(document).on("click",".event img",function(){var e=$(this).data("key").split("-"),a=calendar.data[e[0]][e[1]];$("#eventModal .modal-title").html(a.Título),$("#imageWrapper > div").addClass("hidden"),a.Imagen_principal.length>1?($("#modalSlider .carousel-inner").html(""),$("#modalSlider .carousel-indicators").html(""),$.each(a.Imagen_principal,function(e,a){var i="",t="";$("#modalSlider .carousel-inner").append(i),$("#modalSlider .carousel-indicators").append(t)}),$("#modalSlider .carousel-inner .item").first().addClass("active"),$("#modalSlider .carousel-indicators li").first().addClass("active"),$("#modalSlider").carousel("pause").removeData(),$("#modalSlider").carousel(0),$("#sliderWrapper").removeClass("hidden")):$("#eventModal #mainImage").removeClass("hidden").html('<img class="modal-main-image" src="'+a.Imagen_principal[0]+'" />'),$("#eventModal .modal-text").html(a.Texto),$("#eventModal").modal("show")})}};