Difference between revisions of "Team:IISER-Kolkata/common.js"

(Created page with "$(window).on('resize',function() { location.reload(); });")
 
Line 1: Line 1:
 
$(window).on('resize',function() {
 
$(window).on('resize',function() {
 
     location.reload();
 
     location.reload();
 +
});
 +
 +
$("#menuicon").click(function(){
 +
$("#menuicon").toggleClass("change");
 +
$("#sidenav").toggleClass("visible");
 
});
 
});

Revision as of 05:56, 11 October 2018

$(window).on('resize',function() {

   location.reload();

});

$("#menuicon").click(function(){ $("#menuicon").toggleClass("change"); $("#sidenav").toggleClass("visible"); });