Difference between revisions of "Template:RHIT"

Line 143: Line 143:
  
 
$('#BUTTON').click(function (){
 
$('#BUTTON').click(function (){
   $('link[href="https://2015.igem.org/Team:RHIT/StyleSheet1?action=raw&ctype=text/css"]').attr('href','https://2015.igem.org/Team:RHIT/StyleSheet2?action=raw&ctype=text/css');
+
   $('link[href="https://2015.igem.org/Team:RHIT/StyleSheet1?action=raw&ctype=text/css"]').({href : "https://2015.igem.org/Team:RHIT/StyleSheet2?action=raw&ctype=text/css"});
});
+
});
 
$('#BUTTON2').click(function (){
 
$('#BUTTON2').click(function (){
   $('link[href="https://2015.igem.org/Team:RHIT/StyleSheet2?action=raw&ctype=text/css"]').attr('href','https://2015.igem.org/Team:RHIT/StyleSheet1?action=raw&ctype=text/css');
+
   $('link[href="https://2015.igem.org/Team:RHIT/StyleSheet2?action=raw&ctype=text/css"]').({href : "https://2015.igem.org/Team:RHIT/StyleSheet1?action=raw&ctype=text/css"});
 
});
 
});
 
   
 
   

Revision as of 13:42, 13 August 2015