From: Daniel Hodgin Date: Mon, 5 Jul 2010 19:17:48 +0000 (-0400) Subject: #75 overlay color flashing notification added X-Git-Tag: v0.1~39^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=6c2dae57e698a8367605dac02fad85009fe2186a;p=popcorn-js.git #75 overlay color flashing notification added --- diff --git a/popcorn.js b/popcorn.js index 535464f..2ce7cf8 100644 --- a/popcorn.js +++ b/popcorn.js @@ -45,13 +45,9 @@ commandObject = manager.commandObjects[i]; if (commandObject.running && (commandObject.params["in"] > t || commandObject.params["out"] < t)) { commandObject.running = false; - - if (VideoCommand.active[commandObject.params.target] <= 0 || --VideoCommand.active[commandObject.params.target] <= 0) { $("#" + commandObject.params.target + " .inactive").fadeIn(500); } - - commandObject.onOut(); commandObject.removeOverlay(); } diff --git a/style.css b/style.css index 12e6b3d..01d6c71 100644 --- a/style.css +++ b/style.css @@ -360,8 +360,8 @@ z-index: 9001; display: none; top: 0px; left: 0px; -opacity: 0.4; -filter: alpha(opacity=40); +opacity: 0.2; +filter: alpha(opacity=20); height: 100%; width: 100%; background: red; @@ -373,8 +373,8 @@ z-index: 9001; display: inline; top: 0px; left: 0px; -opacity: 0.4; -filter: alpha(opacity=40); +opacity: 0.2; +filter: alpha(opacity=20); height: 100%; width: 100%; background: grey;