Difference between revisions of "Team:UMaryland/about"

Line 1,201: Line 1,201:
 
     $('nav').mouseover(
 
     $('nav').mouseover(
 
             function() {
 
             function() {
                 $('#img-logo').css('transition', '.35s ease-in');
+
                 $('#img-logo').css('transition', '.35s ease-in')
                $('#img-logo').css('opacity', '1');
+
                    .css('opacity', '1');
 
                 $('nav ul').addClass("hover");
 
                 $('nav ul').addClass("hover");
 
             }
 
             }
Line 1,210: Line 1,210:
 
                 var scroll = $(window).scrollTop();
 
                 var scroll = $(window).scrollTop();
 
                 if (scroll > 0) {
 
                 if (scroll > 0) {
                     if ($(window).width() >= 980) {
+
                     if ($(window).width() >= 1090) {
 
                         var pushed = $('body').hasClass('pushed');
 
                         var pushed = $('body').hasClass('pushed');
 
                         if (pushed == false) {
 
                         if (pushed == false) {
                             $('#img-logo').css('transition', '.25s ease');
+
                             $('#img-logo').css('transition', '.25s ease')
                            $('#img-logo').css('opacity', '0');
+
                                .css('opacity', '0');
 
                             $('nav ul').removeClass("hover");
 
                             $('nav ul').removeClass("hover");
 
                             $('nav').css('transition', '.5s ease');
 
                             $('nav').css('transition', '.5s ease');
Line 1,240: Line 1,240:
  
 
             function checkWidth() {
 
             function checkWidth() {
                 if ($(window).width() < 980 || $('nav').hasClass('pushed')) {
+
                 if ($(window).width() < 1090 || $('nav').hasClass('pushed')) {
 
                     $('nav li').css('display', 'none');
 
                     $('nav li').css('display', 'none');
 
                     $('#img-more').css('display', 'block');
 
                     $('#img-more').css('display', 'block');
 
                     $('nav ul').addClass("hover");
 
                     $('nav ul').addClass("hover");
                     $('#img-logo').css('transition', '.35s ease-in');
+
                     $('#img-logo').css('transition', '.35s ease-in')
                    $('#img-logo').css('opacity', '1');
+
                        .css('opacity', '1');
 
                 } else {
 
                 } else {
 
                     $('nav li').css('display', 'inline');
 
                     $('nav li').css('display', 'inline');
Line 1,251: Line 1,251:
 
                     $('nav ul').removeClass("hover");
 
                     $('nav ul').removeClass("hover");
 
                     if ($(window).scrollTop() > 0) {
 
                     if ($(window).scrollTop() > 0) {
                         $('#img-logo').css('transition', '.25s ease');
+
                         $('#img-logo').css('transition', '.25s ease')
                        $('#img-logo').css('opacity', '0');
+
                            .css('opacity', '0');
 
                         $('nav ul').addClass("scrolled");
 
                         $('nav ul').addClass("scrolled");
 
                     }
 
                     }
Line 1,282: Line 1,282:
 
         $('nav img').toggleClass('pushed');
 
         $('nav img').toggleClass('pushed');
 
         $('body').toggleClass('pushed');
 
         $('body').toggleClass('pushed');
         if ($(window).width() >= 980) {
+
         if ($(window).width() >= 1090) {
 
             var pushed = $('body').hasClass('pushed');
 
             var pushed = $('body').hasClass('pushed');
 
             if (pushed == false) {
 
             if (pushed == false) {
Line 1,288: Line 1,288:
 
                 $('#img-more').css('display', 'none');
 
                 $('#img-more').css('display', 'none');
 
                 $('nav ul').removeClass("hover");
 
                 $('nav ul').removeClass("hover");
                $('#img-logo').css('transition', '.25s ease');
 
                $('#img-logo').css('opacity', '0');
 
 
             }
 
             }
 
         }
 
         }
Line 1,298: Line 1,296:
 
         var scroll = $(window).scrollTop();
 
         var scroll = $(window).scrollTop();
 
         if (scroll > 0) {
 
         if (scroll > 0) {
             if ($(window).width() >= 980) {
+
             if ($(window).width() >= 1090) {
 
                 nav.addClass("scrolled");
 
                 nav.addClass("scrolled");
 
                 nav.removeClass("hover");
 
                 nav.removeClass("hover");
                 $('#img-logo').css('transition', '.25s ease');
+
                 $('#img-logo').css('transition', '.25s ease')
                $('#img-logo').css('opacity', '0');
+
                    .css('opacity', '0');
 
             }
 
             }
 
         } else {
 
         } else {
 
             nav.removeClass("scrolled");
 
             nav.removeClass("scrolled");
             $('#img-logo').css('transition', '.35s ease-in');
+
             $('#img-logo').css('transition', '.35s ease-in')
            $('#img-logo').css('opacity', '1');
+
                .css('opacity', '1');
 
         }
 
         }
 
     });
 
     });
Line 1,364: Line 1,362:
 
     //$('#top_menu_14').css('display', 'none');
 
     //$('#top_menu_14').css('display', 'none');
 
     $('#top_menu_under').css('display', 'none');
 
     $('#top_menu_under').css('display', 'none');
     $('#content').removeClass('mw-body');
+
     $('#content').removeClass('mw-body')
    $('#content').attr('role', 'dummy2')
+
        .attr('role', 'dummy2')
    $('#content').attr('id', 'dummy')
+
        .attr('id', 'dummy');
 
     $('#HQ_page').attr("id", "iGEM"); //voids all dumb CSS iGEM HQ wrote which overrides our code
 
     $('#HQ_page').attr("id", "iGEM"); //voids all dumb CSS iGEM HQ wrote which overrides our code
 
     $('#mw-content-text').attr("id", "overruled").removeClass('mw-content-ltr');
 
     $('#mw-content-text').attr("id", "overruled").removeClass('mw-content-ltr');

Revision as of 01:57, 11 October 2016

</div> </div> About Our Team

Our Team
Training the Next Generation of Synthetic Biologists
Solving major global and local issues under the adivising of faculty and graduate advisors.