You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
377 B
JavaScript

$("button#bact1").click(function(){
$("body")
.removeClass("act1 act3 act2")
.addClass("act1");
})
$("button#bact2").click(function(){
$("body")
.removeClass("act1 act3 act2")
.addClass("act2");
})
$("button#bact3").click(function(){
$("body")
.removeClass("act1 act3 act2")
.addClass("act3");
})