diff --git a/stage.css b/stage.css new file mode 100644 index 0000000..c7fd39f --- /dev/null +++ b/stage.css @@ -0,0 +1,12 @@ +.act { + display: none; +} +body.act1 #act1{ + display:block; +} +body.act2 #act2{ + display:block; +} +body.act3 #act3{ + display:block; +} \ No newline at end of file diff --git a/stage.html b/stage.html new file mode 100644 index 0000000..56ba314 --- /dev/null +++ b/stage.html @@ -0,0 +1,19 @@ + + + + stage + + + + + + +
act1
+
act2
+
act3
+ + + + + + \ No newline at end of file diff --git a/stage.js b/stage.js new file mode 100644 index 0000000..60cdb48 --- /dev/null +++ b/stage.js @@ -0,0 +1,20 @@ +$("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"); + +}) \ No newline at end of file diff --git a/start.html b/start.html index 2a05e43..3a2299d 100644 --- a/start.html +++ b/start.html @@ -65,7 +65,6 @@ Maybe you want to ,