Kendracorral (Talk | contribs) |
Kendracorral (Talk | contribs) |
||
Line 81: | Line 81: | ||
data: postData, | data: postData, | ||
complete: function(r) { | complete: function(r) { | ||
− | if(language == "english") | + | var url = ""; |
− | else | + | $('#popupBlocked').removeClass("hidden"); |
+ | if(language == "english") url = "https://static.igem.org/mediawiki/2016/4/49/T--Tec-Chihuahua--document-full-english.pdf"; | ||
+ | else url = "https://static.igem.org/mediawiki/2016/b/b8/T--Tec-Chihuahua--document-full-spanish.pdf"; | ||
+ | $('#popupBlocked a').attr('href', url); | ||
+ | window.open(url, '_blank'); | ||
} | } | ||
}); | }); |
Revision as of 06:46, 19 October 2016
var slideTimeout;
$(function () {
header.init(); calendar.init(); parallax.init(); try { $('#fullpage').fullpage({ scrollBar: true, menu: '#slideMenu', onLeave: function (index, nextIndex, direction) { if (nextIndex == $('#fullpage .section').length || nextIndex == 1) { $('.slide-menu').removeClass('show'); if (nextIndex == 1) { $('#upArrow').addClass('nope'); } else { $('#downArrow').addClass('nope'); $('#upArrow').addClass('go-down'); } } else { $('.slide-menu').addClass('show'); $('.slide-menu li').animate({ opacity: 1 }, 400); $('.control-arrows span').removeClass('nope'); $('#upArrow').removeClass('go-down'); clearTimeout(slideTimeout); slideTimeout = setTimeout(function () { $('.slide-menu li').animate({ opacity: 0 }, 1200); $('.slide-menu').one("mouseenter", function () { $('.slide-menu li').animate({ opacity: 1 }, 400); }); }, 4000); } } }); } 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();
$('#bodyContent > p').remove();
$('#HQ_page').attr('id', 'HQ_page-tec');
$('#getDocument').submit(function(e){ e.preventDefault(); var postData = { email: $('#email').val(), name: $('#name').val(), country: $('#country').val(), language: $('#language').val() } $.ajax({ url: "http://igem.jaquez.mx/download", method: "post", data: postData, complete: function(r) { var url = ""; $('#popupBlocked').removeClass("hidden"); if(language == "english") url = "https://static.igem.org/mediawiki/2016/4/49/T--Tec-Chihuahua--document-full-english.pdf"; else url = "https://static.igem.org/mediawiki/2016/b/b8/T--Tec-Chihuahua--document-full-spanish.pdf"; $('#popupBlocked a').attr('href', url); window.open(url, '_blank'); } }); });
});
var header = {
init: function () { var $meta = $('#meta'), activePage = $meta.data('thisPage'); $(".option-item[data-pageTitle=" + activePage + "]").addClass('active');
$(document).on('click', '.option.header:not(.active-menu)', function () { var $this = $(this), $dropdown = $this.siblings('.option-dropdown'), $parent = $this.parent(); if (!$(this)[0].hasAttribute('href')) { if ($(window).width() > 767) { if ($('.active-menu').length > 0) { $('.active-menu').click(); } else { var tgtLeft = $('#menuStart').offset().left - $this.offset().left; $('.option-item').not($parent).addClass('traslucent'); $parent.css({ left: tgtLeft, border: 'none', zIndex: 100 }); $dropdown.css({ left: $parent.width(), width: $('#optionsWrapper').width() - $parent.width() }) $(this).addClass('active-menu'); $dropdown.find('.option').each(function (i, elem) { setTimeout(function () { $(elem).css('transform', 'translate(0)'); }, 60 * i); }); } } else { header.toggleHeader($dropdown); } } });
$(document).on('click', '.active-menu', function () { var $this = $(this), $dropdown = $this.siblings('.option-dropdown'), $parent = $this.parent(); $('.option-item').not($this).removeClass('traslucent'); $this.removeClass('active-menu'); $parent.removeAttr('style'); $dropdown.removeAttr('style'); $dropdown.find('.option').removeAttr('style');
});
$('.toggle-menu').click(function () { $('.main-nav').addClass('open'); if ($('#globalWrapper').length > 0) {$('#HQ_page-tec').append('');
} else {$('body').append('');
} $('.black-overlay').one('click', function () { $('.main-nav').removeClass('open'); $('.black-overlay').remove(); }); }); },
toggleHeader: function ($dropdown) { $('.option-dropdown').not($dropdown).each(function () { var $otherDd = $(this); if ($otherDd.hasClass('open')) { $otherDd.css('max-height', 0); $otherDd.removeClass('open'); } }); if ($dropdown.hasClass('open')) { $dropdown.css('max-height', 0); } else { $dropdown.css('max-height', $dropdown.find('.option').length * 36); } $dropdown.toggleClass('open'); },
openHeader: function ($dropdown) { $('.option-dropdown').not($dropdown).each(function () { var $otherDd = $(this); if ($otherDd.hasClass('open')) { $otherDd.css('max-height', 0); $otherDd.removeClass('open'); } }); $dropdown.css('max-height', $dropdown.find('.option').length * 30); $dropdown.addClass('open'); }
}
var calendar = {
monthNames: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December" ],
categories: { "Meeting": "", "Collaboration": "", "Project": "", "Human Practices": "", "Diffusion": "", "iGEM": "", "Sensor": ""
},
data: [ // enero [{ Título: "First official meeting of the team", Categoría: "Meeting", Mes: "01", Día: "7", Imagen_principal: [""], Texto: "Today we had our first official meeting!
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." }],
//febrero [
],
// marzo [{ Título: "ConocerTEC", Categoría: "Diffusion", Mes: "03", Día: "12", Imagen_principal: ["", "" ],
Texto: "We went to our school’s open house to speak about biotechnology, iGEM and our project to bachelor students", },
],
//abril [
],
//mayo [{ Título: "Training begins!", Categoría: "Project", Mes: "05", Día: "23", Imagen_principal: ["", "", "" ], 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: [""], 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.", },
{ Text: "- Preparation of LB and nutrient medium
- Preparation of TE Buffer
- Inoculation in broth and plate of DH5- E. coli", Mes: "05", Día: "23", },
{ Text: "- Total DNA extraction (Bollet method) of DH5- E. coli", Mes: "05", Día: "24", },
{ Text: "- Agarose gel electrophoresis (1.5X)", Mes: "05", Día: "25", },
{ Text: "- Agarose gel electrophoresis (1.5X) again", Mes: "05", Día: "26", },
{ Text: "- Repetition of Total DNA extraction of DH5-alpha E. coli and agarose gel electrophoresis (1.5X)
Preparation of TAE 1X and 50X for future protocols ", Mes: "05", Día: "27", },
{ Text: "- Stock of Ampicillin (25mg/mL)
- Inoculation of transformed cells in LB broth ", Mes: "05", Día: "30", },
{ Text: "- Second inoculation of transformed cells in LB + Ampicillin broth", Mes: "05", Día: "31", },
],
//junio [{ Título: "Meeting with LATAM Ambassador Ana Sifuentes", Categoría: "Meeting", Mes: "06", Día: "8", Imagen_principal: [""], 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: ["", "" ], 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: ["", "" ], 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: [""], 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: ["", "" ], 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: ["", "", "" ], 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: ["", "" ], 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: ["", "", "" ], 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: ["", "", "" ], 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: [""], 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: ["", "", "" ], 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: [""], Texto: "We finally have a logo! Thanks to Ana Yakari Carrasco Berumen for her beautiful design for our team and project" },
{ Text: "- Transformation of OneShot Mach 1TM competent cells", Mes: "06", Día: "1", },
{ Text: "- Seeding of transformed cells in LB + Ampicillin (50mg/mL) broth", Mes: "06", Día: "2", },
{ Text: "- Plasmid DNA extraction", Mes: "06", Día: "3", },
{ Text: "- Transformation of competent cells (OneShot Mach 1TM) with pUC19", Mes: "06", Día: "7", },
{ Text: "- X-GAL preparation
- Repetition of Transformation of competent cells ", Mes: "06", Día: "8", },
{ Text: "- Repetition of Enzymatic digestion", Mes: "06", Día: "16", },
{ Text: "- Seeding of transformed cells in LB + Ampicillin broth", Mes: "06", Día: "9", },
{ Text: "- Plasmid DNA extraction PureLink Quick Plasmid Miniprep Kit
- Agarose gel electrophoresis (1.5X)", Mes: "06", Día: "10", },
{ Text: "- Enzymatic digestión with BioBrick Assembly Kit of New England
- Agarose gel electrophoresis (2X)", Mes: "06", Día: "14", },
{ Text: "- PCR of HPV Template DNA
-Agarose gel electrophoresis(1 X)", Mes: "06", Día: "20", },
{ Text: "- Repetition of PCR HPV Template DNA
- Agarose gel electrophoresis (1x)", Mes: "06", Día: "21", },
{ Text: "- Preparation of TOPO Mix (TOPO TA Cloning Kit) with HPV PCR product
- Transformation of OneShot cells with TOPO vector", Mes: "06", Día: "23", },
{ Text: "- Field sampling and inoculation of crop fungi on PDA agar", Mes: "06", Día: "24", },
{ Text: "- Field sampling in Rosales city and inoculation of crop fungi on PDA agar ", Mes: "06", Día: "29", },
{ Título: "Sampling in the cut", Categoría: "Project", Mes: "06", Día: "29", Imagen_principal: ["", "" ], 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 ", } ],
//julio
[
{ Título: "First Photoresistor test", Categoría: "Sensor", Mes: "07", Día: "6", Imagen_principal: ["", ""], Texto: "After developing the concept of a device that could scan the surface of a petri dish, in which all the experiments were to be carried out, a prototype was to be built.
Tests were carried out in order to test the feasibility of using the photoresistors as effective sensors. The light source was later changed to a red LED to fit better the sensitivity of the photo resistor." },
{ Título: "Arrangement of testing", Categoría: "Sensor", Mes: "07", Día: "20", Imagen_principal: [""], Texto: "This arrangement was used to test each of the photoresistors. The BH1750 light sensor is shown close to the photoresistor. Each photoresistor had to be calibrated with the sensor. In order to do this, the value of the each of the resistors at the same level of light was registered. After this, an LED was lit so that it would fall over the photoresistor. After three changes in light, its values were registered and compared to the values given by the BH1750 light sensor. With this,a direct relation was established between the determined value of a photoresistor and its correspondent value in lux, given by the BH1750 light sensor. With every value established, a given hysteresis might be applied by tweaking the code. " },
{ Título: "Arrangement of the sensors", Categoría: "Sensor", Mes: "07", Día: "29", Imagen_principal: [""], Texto: "The proposed arrangement for the sensors is a line of photosensors aligned so that they form an X axis. This line of sensor is to be moved by a mechanism following a Y axis. WIth this, the entire surface is covered.The multiplexers are devices that allow to switch between two or more signals using a single wire. They are used because there are 11 photoresistors and there is only six channels to read them. By using a multiplexer, up to four photoresistor signals can use one channel using a single wire. Multiplexers are also shown in the picture with the arrangement of the sensors." },
{ Text: "- Preparation of Ampicillin Stock (25mg/mL)
- Growth of OneShot MachTM cells on LB broth
- Inoculation of Rhizoctonia solani on PDA agar
- Macro and microanalysis of previously inoculated fungi", Mes: "07", Día: "5", },
{ Título: "We learned to electropore!", Categoría: "Project", Mes: "07", Día: "13", Imagen_principal: [""], Texto: "Today the Professor Salvador Eguiarte came to the lab to teach us how to electropore. We learnt how to handle the equipment and cleared up questions about the protocol we’ll use" },
{ Título: "About our Project and About our Lab delivery", Categoría: "iGEM", Mes: "07", Día: "15", Imagen_principal: ["", "", "", "", "", "", ""], Texto: "We completed and delivered the reports requested by iGEM concerning our lab and our project. Workspace and biosafety are really important!" },
{ Text: "- Reseeding of fungi on PDA agar", Mes: "07", Día: "18", },
{ Text: "- Bacterial quantifying
- Myxobacteria purification", Mes: "07", Día: "19", },
{ Text: "- Inoculation of Myxobacteria on nutrient broth", Mes: "07", Día: "20", },
{ Título: "Bacterial quantification", Categoría: "Project", Mes: "07", Día: "21", Imagen_principal: [""], Texto: "We stayed awake until 1 o’clock taking care of the optical density of our baby bacterias. Lab work never ends!", },
{ Text: "- Chloramphenicol finally arrived!", Mes: "07", Día: "23", },
{ Título: "Field trip: Cuauhtémoc!", Categoría: "Human Practices", Mes: "07", Día: "25", Texto: "Some members of the team visited the Credit Union from Cuauhtémoc Agricultors to make some interviews, as well as visit some other small businesses", Imagen_principal: ["", "", "", ""] },
{ Text: "- Preparation of Chloramphenicol Stock (35mg/mL)
- Preparation of Medium with Chloramphenicol ", Mes: "07", Día: "25", },
{ Text: "- Growth of OneShot Mach™1 cells
- Preparation of Ampicillin Stock (25mg/mL)
- Preparation of Medium with Ampicillin", Mes: "07", Día: "26", },
{ Título: "iGEM Match Registry", Categoría: "Collaboration", Mes: "07", Día: "26", Imagen_principal: [""], Texto: "Today we registered on the iGEM Match Platform, created by the UC Davis Team. It helped us search for new collaborations among the iGEM teams " },
{ Text: "- Competent cells Test (iGEM)", Mes: "07", Día: "27", },
{ Text: "- Competent cells test by pUC19 transformation", Mes: "07", Día: "28", },
{ Text: "- Competent cells protocol
- Transformation of competent cells
- Electrocompetent cells protocol", Mes: "07", Día: "29", },
{ Título: "Photoshoot and purification of fungus culture", Categoría: "Project", Mes: "07", Día: "18", Imagen_principal: ["", "", "", "", "", "", "", "", "", "" ], Texto: "The purification we did today consisted on inoculation on solid PDA media by piercing with a straight inoculation loop", containSlider: true },
{ Título: "Fungus characterization", Categoría: "Project", Mes: "07", Día: "20", Imagen_principal: ["", ""], Texto: "Rhizopus oryzae is one of the most common fungus that lives in dead organic matter and it’s isolated from plant and soil material. We could characterize this fungus thanks to its macro and microscopic characteristics that we observed:
Macroscopic:
Color: brownish-black and yellowish base
Texture: wooly
Bottom view: yellowish
Elevation: medium (sporangiophore)
Microscopic:
Stolon: (serial hyphae)
Sporangiophores
Brownish sporangium.", },
{ Título: "Confrontations fungus-bacteria", Categoría: "Project", Mes: "07", Día: "21", Imagen_principal: ["", "", "", "", "", "", "", "", "", "", "", "" ], containSlider: true, Texto: "We photoshooted the fungi and Myxobacteria confrontations in different time periods (24 hours and one week), but in the same conditions (incubated at 37 ºC)." },
],
//agosto
[
{ Título: "India conference via Google Hangouts", Categoría: "Collaboration", Mes: "08", Día: "1", Texto: "Today we spoke once again with the SVCE Chennai Team to collaborate and share our advances", Imagen_principal: [""] },
{ Text: "- Resuspension of BioBricks to be used on the Project
- Transformation with OneShot Mach™ cells", Mes: "08", Día: "2", },
{ Text: "- Preparation of Chloramphenicol stock (35mg/mL)
- Fungi reseeding on PDA agar and lactophenol cotton blue staining for microscopic observation", Mes: "08", Día: "3", },
{ Título: "Guanajuato Meet-up: Biología Sintética en México", Categoría: "Collaboration", Mes: "08", Día: "5", Texto: "We had the opportunity to attend the Meet-up “Biología Sintética en México” organized by the Guanajuato Mx team.We presented our project and were able to listen to the projects of other Mexico teams, such as Pumas Mexico, Tec - CEM and Tec - Monterrey. We also got to know the city by visiting some representative tourist places.", Imagen_principal: ["", "", "", ""] },
{ Text: "- Transformation of BioBrick 8 of the project", Mes: "08", Día: "9", },
{ Text: "- Competent cells protocol", Mes: "08", Día: "12", },
{ Text: "- Plasmid DNA extraction", Mes: "08", Día: "16", },
{ Text: "- 3A Assembly (1)", Mes: "08", Día: "18", },
{ Título: "General Meeting with Drs.", Categoría: "Meeting", Mes: "08", Día: "18", Imagen_principal: [""], Texto: "We had a meeting to report our advances so far with our main advisors", },
{ Título: "Switzerland EPFL Conference via Skype", Categoría: "Collaboration", Mes: "08", Día: "18", Imagen_principal: [""], Texto: "", },
{ Text: "- Repetition of 3A Assembly", Mes: "08", Día: "19", },
{ Título: "Westminster conference via Skype", Categoría: "Collaboration", Mes: "08", Día: "19", Imagen_principal: [""], Texto: "", },
{ Text: "- Competent cells protocol
- Transformation using assembles", Mes: "08", Día: "22", },
{ Text: "- Reseeding of Transformed assembled cells ", Mes: "08", Día: "23", },
{ Título: "Welcoming the new generation of Biotechnology students", Categoría: "Diffusion", Mes: "08", Día: "24", Imagen_principal: [""], Texto: "The iGEM team had the honor of delivering lab coats to some of the new biotechnology students. Welcome to this new generation of Biotechnologists!" },
{ Título: "Interlab attempt", Categoría: "iGEM", Mes: "08", Día: "24", Imagen_principal: [""], Texto: "We begun to work on the Interlab by transforming with the kit sent by iGEM. Unfortunately, we couldn’t succesfully carry out the experiment, it appears the pack with the DNA wasn’t properly sealed when sent :(" },
{ Text: "- 3A Assembly", Mes: "08", Día: "29", },
{ Text: "- Agarose gel electrophoresis", Mes: "08", Día: "30", },
],
//September
[{ Text: "- 3A Assembly
- Competent cells protocol
- Transformation of First 3A", Mes: "09", Día: "1", },
{ Título: "Burger Day", Categoría: "Diffusion", Mes: "09", Día: "3", Imagen_principal: ["", "", "", "", "", ""], Texto: "We set-up a burger day in order to raise some funds. Long and tiring day, but fun… Hey, put some more charcoal on the grill, we are not finished!", },
{ Text: "- Competent cells protocol", Mes: "09", Día: "5", },
{ Título: "Arrival of competent cells", Categoría: "Project", Mes: "09", Día: "8", Imagen_principal: [""], Texto: "We have new material to work with! And also some dry ice to play with… (note Armando’s face of fun and satisfaction)", },
{ Text: "- Agarose gel electrophoresis", Mes: "09", Día: "8", },
{ Text: "- Clones Selection", Mes: "09", Día: "9", },
{ Text: "- Preparation of LB + Chloramphenicol Agar", Mes: "09", Día: "13", },
{ Text: "- Preparation of LB + Ampicillin Agar
- Preparation of MiniPrep solutions
- Transformation of competent cells", Mes: "09", Día: "14", },
{ Text: "- Competent cells protocol
- Transformation of competent cells", Mes: "09", Día: "16", },
{ Text: "- Reseeding of transformed cells to LB broth", Mes: "09", Día: "17", },
{ Text: "- Competent cells protocol
- DNA Plasmid extraction by Alkaline lysis
- Plasmid quantification on NanoDrop2000
- Resuspension of bricks
- Transformation of competent cells", Mes: "09", Día: "18", },
{ Text: "- Agarose gel electrophoresis", Mes: "09", Día: "20", },
{ Text: "- DNA Plasmid extraction by Alkaline lysis", Mes: "09", Día: "23", },
{ Text: "- Preparation of Kanamycin stock (25mg/mL)
- Preparation of Chloramphenicol stock", Mes: "09", Día: "24", },
{ Text: "- Reseeding of transformed cells", Mes: "09", Día: "25", },
{ Text: "- DNA Plasmid extraction", Mes: "09", Día: "26", },
{ Text: "- Competent cells protocol", Mes: "09", Día: "27", },
{ Text: "- Transformation of competent cells ", Mes: "09", Día: "28", },
{ Text: "- Reseeding of transformed cells on LB broth ", Mes: "09", Día: "29", },
{ Text: "- Competent cells protocol
- Transformation of competent cells
- DNA plasmid extraction", Mes: "09", Día: "30", },
],
// october [
{ Título: "Incorporation to the Arduino", Categoría: "Sensor", Mes: "10", Día: "14", Imagen_principal: [""], Texto: "The sensor was incorporated to the Arduino (the hardware of the sensor) and wires were labeled for their easy identification." }, { Título: "Sensor assembly", Categoría: "Sensor", Mes: "10", Día: "10", Imagen_principal: ["", "", ""], Texto: "The components were ready to be soldered to the perfboard. In the images, the sensors were The bases for the multiplexers and the photoresistors were soldered. All the wiring was incorporated as well." },
{ Título: "DVD drive alligning", Categoría: "Sensor", Mes: "10", Día: "16", Imagen_principal: [""], Texto: "The photoresistors were aligned under the DVD drive. The red LEDs as light sources are also shown." },
{
Título: "DVD Drive Disassembling 1", Categoría: "Sensor", Mes: "10", Día: "3", containSlider: true, Texto: "Some parts of the DVD Drive were removed to mount the new components. Slide to see a step-by-step explanation ", Imagen_principal: ["", "", "", "", "", "", "", "", ""] },
{ Text: "- Team video planning
- Reseeding of transformed cells", Mes: "10", Día: "1", },
{ Text: "Plasmid extraction
3A Assembly", Mes: "10", Día: "4", },
{ Text: "Intermediates extraction", Mes: "10", Día: "8", },
{ Título: "Banner ready", Mes: "10", Categoría: "iGEM", Día: "6", Texto: "We sent our banner for the Giant Jamboree. Thanks to Antonio Alejandro Flores Quintanilla and Daniel Estrada Ortega for their help in this beautiful design!", Imagen_principal: [""], },
{ Título: "Introduction video shooting", Categoría: "Diffusion", Mes: "10", Día: "9", Imagen_principal: [""], Texto: "The guys from Productora 206 came to the lab to shoot the first part of our introduction video. It was tiring but we had a lot of fun. CUT!!", },
{ Título: "Judging form delivery", Categoría: "iGEM", Mes: "10", Día: "14", Texto: "Intense work to deliver the Judging form on time! The team got together to sort out some final details", Imagen_principal: [""] },
{ Título: "Official Difussion Event", Categoría: "Diffusion", Mes: "10", Día: "18", Texto: "In front of an audience of students, teachers, parents, administrators and members of the TEC community we carried out our event to present the project, pamphlet and the final text of Human Practices for this edition of iGEM. For almost two hours the team interacted with the audience explaining and answering questions that came up. Likewise we took the opportunity to hand over the official t-shirts that will identify our team in the Giant Jamboree. The presentation was given by some team members that will not be with us in Boston and also we used this opportunity to increase the general interest about the importance of Synthetic Biology to solve actual problems. #RoadToBoston", Imagen_principal: [""] }
]
],
init: function () { if ($('#calendar').length > 0) { var currentMonth = new Date().getMonth(); calendar.loadMonth(currentMonth); calendar.setEvents(); } },
loadMonth: function (monthNum, animate) { if (monthNum < 0 || monthNum >= 12) return false; var date = new Date(2016, monthNum), header = calendar.monthNames[date.getMonth()] + " " + date.getFullYear(), firstDay = date.getDay(), days = new Date(2016, monthNum + 1, 0).getDate(), $calendar = $('#calendar'), prevHtml = $calendar.find('.calendar-days').html(), prevNum = parseInt($calendar.data('currentMonth')); $calendar.data('currentMonth', monthNum); $calendar.find('.calendar-header .month-name').html(header); $calendar.find('#dropdownMonth').html(calendar.monthNames[date.getMonth()] + ' '); for (var i = 0, day = 1; i < 42; i++) { if (i >= 35 && day <= days && $('.calendar-row').length < 6) {$('.calendar-days').append('
');
} else if (i < 35 && day <= days && $('.calendar-row').length > 5) { $('.calendar-row').last().remove(); }
var $cell = $('.calendar-row').eq(Math.floor(i / 7)).find('.calendar-grid').eq(i % 7); if (i < firstDay || day > days) { $cell.html(' '); } else {$cell.html('
' + day++ + '
');
} } if (monthNum == 0) { $('.calendar-header .controls .glyphicon').eq(0).addClass('disabled') } else if (monthNum == 11) { $('.calendar-header .controls .glyphicon').eq(1).addClass('disabled') } else { $('.calendar-header .controls .glyphicon').removeClass('disabled') } calendar.populateMonth(monthNum); if (animate) {$('#calendarWrapper').append('');
$('#oldCalendar').html(prevHtml); $('#calendar').css('overflow', 'hidden'); if (monthNum > prevNum) { $('#calendar .calendar-days:not(#oldCalendar)').css({ position: "absolute", left: "100%", width: "100%" }); $("#calendarWrapper").addClass('left'); } else { $('#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 (monthNum) { var $grids = $('#calendar div.calendar-grid'); $grids.removeClass('has-event'); $.each(calendar.data[monthNum], function (i, v) { var $day = $grids.find('[data-day=' + v.Día + ']').first().parent();if ($day.find('.event').length == 0) $day.prepend("");
if (typeof (v.Text) == "undefined") { $day.find('.event').append("<img src='" + calendar.categories[v.Categoría] + "'/>"); $day.find('.event img').last().data('key', monthNum + '-' + i); } else { if (!$day.hasClass('has-event')) { $day.addClass('has-event');$day.append('');
}$day.find('.igemtooltip').append("
" + v.Text + "
");} }); },
setEvents: function () { $('.calendar-header .controls .glyphicon').click(function () { var currentMonth = parseInt($('#calendar').data('currentMonth')), tgtMonth = currentMonth + ($(this).index() == 0 ? -1 : 1); calendar.loadMonth(tgtMonth, true); });
$('.calendar-header .controls .dropdown ul li').click(function () { var tgtMonth = $(this).index(); calendar.loadMonth(tgtMonth, true); });
$('.calendar-legend li').on('mouseenter click', function () { var $li = $(this); if ($li.find('.igemtooltip').length == 0) {$li.append(''); $li.find('.igemtooltip').html('
' + $li.data('tooltip') + '
').fadeIn();} });
$(document).on('mouseleave click', '.igemtooltip', function (e) { var $tooltip = $(this); $tooltip.fadeOut(function () { if ($(this).closest('.calendar-grid').length == 0) $tooltip.remove(); }); });
$(document).on('click', '.has-event', function (e) { var $tooltip = $(this).find('.igemtooltip').fadeIn(); });
$(document).on('click', '.event img', function (e) { e.stopPropagation(); var key = $(this).data('key').split('-'), data = calendar.data[key[0]][key[1]]; $('#eventModal .modal-title').html(data.Título); $('#imageWrapper > div').addClass('hidden'); if (data.Imagen_principal.length > 1) { $("#modalSlider .carousel-inner").html(); $("#modalSlider .carousel-indicators").html(); $.each(data.Imagen_principal, function (i, v) {var d = "
",
indicator = "";
$("#modalSlider .carousel-inner").append(d); $('#modalSlider .carousel-indicators').append(indicator); }); $("#modalSlider .carousel-inner .item").first().addClass('active'); $("#modalSlider .carousel-indicators li").first().addClass('active'); $("#modalSlider").carousel("pause").removeData(); $("#modalSlider").carousel(0); $('#sliderWrapper').removeClass("hidden"); if (typeof (data.containSlider) !== "undefined") { $('#modalSlider .slider-img').css({ backgroundSize: "auto 95%", }); $('.carousel-inner').addClass('no-after'); $('#modalSlider .carousel-indicators').addClass("left"); } else { $('.carousel-inner').removeClass('no-after'); $('#modalSlider .carousel-indicators').removeClass("left"); $('#modalSlider .slider-img').css({ backgroundSize: "cover", }); } } else { $('#eventModal #mainImage').removeClass('hidden').html('<img class="modal-main-image" src="' + data.Imagen_principal[0] + '" />') } $('#eventModal .modal-text').html(data.Texto); $('#eventModal').modal('show'); }); }
}
var parallax = {
init: function () { $(window).scroll(function () { $('[data-parallax]').each(function () { var scrollTop = $(window).scrollTop(), offset = $(this).offset().top, windowHeight = $(window).innerHeight(), bottomUp = $(this).data('parallax') == 'bottom', divHeight = $(this).outerHeight(), newPosition; if (scrollTop + windowHeight > offset) { newPosition = 100 * (offset - scrollTop) / windowHeight if (!bottomUp) { newPosition = newPosition; } $(this).css('background-position', '50% ' + newPosition + "%"); } }); }).scroll();
}
}