Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhitman <bryan@olenepal.org>2009-10-01 06:32:10 (GMT)
committer hitman <bryan@olenepal.org>2009-10-01 06:32:10 (GMT)
commitf6df4e931ea045a9b50da6f4abf73b3d28207419 (patch)
tree3cb90177f9bdd0ae5f7d5d718299fbb8781b92ce
parentff521747564707068966f455f9efdbcf38e40fee (diff)
fixed problem where monkey in congratulations screen was semi-transparent
when it should have been fully opaque
-rwxr-xr-xexamples/adding_up_to_10/index.html2
-rwxr-xr-xexamples/adding_up_to_10/js/lesson.js8
-rwxr-xr-xindex.html2
3 files changed, 6 insertions, 6 deletions
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 @@
</div>
-
+ <div id="overlay"></div>
<div id="overlayPaper"></div>
</div>
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 @@
<head>
<title>Chakra (Alpha)</title>
<meta name="keywords" content="karma javascript html5 sugar sugarlabs gsoc ole nepal"/>
-<meta charset="UTF-8">
+<meta charset="UTF-8"/>
<link rel="stylesheet" href="css/chakra.css" type="text/css"/>