From f6df4e931ea045a9b50da6f4abf73b3d28207419 Mon Sep 17 00:00:00 2001 From: hitman Date: Thu, 01 Oct 2009 06:32:10 +0000 Subject: fixed problem where monkey in congratulations screen was semi-transparent when it should have been fully opaque --- diff --git a/examples/adding_up_to_10/index.html b/examples/adding_up_to_10/index.html index 2f769b8..6a861d1 100755 --- a/examples/adding_up_to_10/index.html +++ b/examples/adding_up_to_10/index.html @@ -74,7 +74,7 @@ - +
diff --git a/examples/adding_up_to_10/js/lesson.js b/examples/adding_up_to_10/js/lesson.js index 6de97dc..ef878d3 100755 --- a/examples/adding_up_to_10/js/lesson.js +++ b/examples/adding_up_to_10/js/lesson.js @@ -312,9 +312,9 @@ k.main(function() { var congratsText; stopGame(); - $('#overlayPaper').css({"position": "absolute", - "background": "white", "opacity": "0.8", - "z-index": "100"}); + $('#overlay').css({"position": "absolute", "background": "white", "opacity": "0.7", + "width": 800, "height": 600, "z-index": 10}); + $('#overlayPaper').css({"position": "absolute", "z-index": "100", "opacity": 1}); congratsChimp = overlayCard.paper.image( k.library.images.happyChimp.src, 200, 100, 300, 400); congratsChimp.attr({"fill-opacity": "1", "opacity": "1"}); @@ -323,7 +323,7 @@ k.main(function() { overlayCard.set.push(congratsChimp, congratsText); congratsChimp.node.addEventListener('click', function(){ - $('#overlayPaper').css({"opacity": 0}); + $('#overlay').css({"opacity": 0}); overlayCard.set.remove(); }, false); diff --git a/index.html b/index.html index 72fb026..5619a3e 100755 --- a/index.html +++ b/index.html @@ -3,7 +3,7 @@ Chakra (Alpha) - + -- cgit v0.9.1