Difference between revisions of "Template:Team:UofC Calgary/Test1"

Line 588: Line 588:
 
       $('.yeastiesTD').css('opacity','0.5');
 
       $('.yeastiesTD').css('opacity','0.5');
 
       $('.yeastiesNM').css('opacity','1');
 
       $('.yeastiesNM').css('opacity','1');
 +
    });
 +
 +
$('.yeastiesDan').click(function () {
 +
      $('#teamInfo').html("");
 +
      $('#teamInfo').addClass('content1');
 +
      $('#teamInfo').removeClass('content2');
 +
      $('#teamInfo').css('color','white');
 +
      $('.headerName').html('CHASSIS');
 +
      $('.headerName').css('display','block');
 +
 +
      $('.yeastiesDan').css('opacity','1');
 +
      $('.yeastiesNick').css('opacity','0.5');
 +
      $('.yeastiesRai').css('opacity','0.5');
 +
      $('.yeastiesAinna').css('opacity','0.5');
 +
    });
 +
$('.yeastiesNick').click(function () {
 +
      $('#teamInfo').html("");
 +
      $('#teamInfo').addClass('content1');
 +
      $('#teamInfo').removeClass('content2');
 +
      $('#teamInfo').css('color','white');
 +
      $('.headerName').html('CHASSIS');
 +
      $('.headerName').css('display','block');
 +
 +
      $('.yeastiesDan').css('opacity','0.5');
 +
      $('.yeastiesNick').css('opacity','1');
 +
      $('.yeastiesRai').css('opacity','0.5');
 +
      $('.yeastiesAinna').css('opacity','0.5');
 +
    });
 +
$('.yeastiesRai').click(function () {
 +
      $('#teamInfo').html("");
 +
      $('#teamInfo').addClass('content1');
 +
      $('#teamInfo').removeClass('content2');
 +
      $('#teamInfo').css('color','white');
 +
      $('.headerName').html('CHASSIS');
 +
      $('.headerName').css('display','block');
 +
 +
      $('.yeastiesDan').css('opacity','0.5');
 +
      $('.yeastiesNick').css('opacity','0.5');
 +
      $('.yeastiesRai').css('opacity','1');
 +
      $('.yeastiesAinna').css('opacity','0.5');
 +
    });
 +
$('.yeastiesAinna').click(function () {
 +
      $('#teamInfo').html("");
 +
      $('#teamInfo').addClass('content1');
 +
      $('#teamInfo').removeClass('content2');
 +
      $('#teamInfo').css('color','white');
 +
      $('.headerName').html('CHASSIS');
 +
      $('.headerName').css('display','block');
 +
 +
      $('.yeastiesDan').css('opacity','0.5');
 +
      $('.yeastiesNick').css('opacity','0.5');
 +
      $('.yeastiesRai').css('opacity','0.5');
 +
      $('.yeastiesAinna').css('opacity','1');
 
     });
 
     });
  

Revision as of 21:47, 26 August 2016