From: Nick Cammarata Date: Wed, 30 Jun 2010 20:37:03 +0000 (-0400) Subject: Added credits to new interface X-Git-Tag: v0.1~60^2~1^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=55edbc9d7a3a18662fb62731a7beb0719c287fef;p=popcorn-js.git Added credits to new interface --- diff --git a/index.html b/index.html index fd63842..5ba3514 100644 --- a/index.html +++ b/index.html @@ -70,6 +70,10 @@
+
diff --git a/popcorn.js b/popcorn.js index 732999d..7b087de 100644 --- a/popcorn.js +++ b/popcorn.js @@ -183,11 +183,6 @@ //////////////////////////////////////////////////////////////////////////// // Credits Command //////////////////////////////////////////////////////////////////////////// - var credits = { - add: function() { - - } - } var CreditsCommand = function(name, params, text, videoManager) { VideoCommand.call(this, name, params, text, videoManager); $("#credits") diff --git a/style.css b/style.css index b04ba45..6b3011a 100644 --- a/style.css +++ b/style.css @@ -497,3 +497,43 @@ text-shadow:black 1px 1px 3px; width:820px; font-size:22px; } + +/* Credits */ +#credits { +position:absolute; +overflow:hidden; +background-color:#333; +border-left:1px solid #333; +} + +#credits .column { +float:left; +position:absolute; +height:100%; +top:0px; +margin:0px; +padding:0px; +background-color:#555; +overflow:auto; +border-right:1px #666 solid; +} + +#credits li { + list-style-type:none; +} + #credits li.selected { border-left:2px solid #FADBAF; } + + #credits li a { + display:block; + text-decoration:none; + color:#efefef; + font-weight:bold; + font-family:sans-serif; + text-shadow:black 1px 1px 3px; + padding:12px 14px; + border-bottom:1px solid #666; + } + + #credits li a:hover { + color:#FADBAF; + }