]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#t366] simplified demo example
authorScottDowne <sdowne@learn.senecac.on.ca>
Wed, 22 Jun 2011 15:32:40 +0000 (11:32 -0400)
committerScottDowne <sdowne@learn.senecac.on.ca>
Wed, 22 Jun 2011 15:32:40 +0000 (11:32 -0400)
effects/applyclass/popcorn.applyclass.html
effects/applyclass/style.css

index 35b28605dbd55c713d5f31c89e3328097c817faa..461ffdadeac7e193cb0332970bc8fd67a04d5488 100644 (file)
@@ -18,7 +18,7 @@
         target: "footnotediv",
         text: "This video made exclusively for drumbeat.org",
         effect: "applyclass",
-        applyclass: "applyoverlay: .overlay, hover: parent"
+        applyclass: "test1, test2"
       })
       .footnote({
         start: 20, // seconds
@@ -34,8 +34,8 @@
 </head>
 <body>
   <h1 id="qunit-header">Popcorn flash effect Demo</h1>
-  <p> A footnote with a red flash displaying This video made exclusively for drumbeat.org' will appear at 5 seconds and disappear at 15 seconds.</p>
-  <p> A footnote with a green flash displaying 'Visit webmademovies.org for more details' will appear at 20 seconds and disappear at 45 seconds.</p>
+  <p> A footnote with a css class displaying This video made exclusively for drumbeat.org' will appear at 5 seconds and disappear at 15 seconds.</p>
+  <p> A footnote with a css class displaying 'Visit webmademovies.org for more details' will appear at 20 seconds and disappear at 45 seconds.</p>
   <div>
     <video id='video' 
       controls preload='none' 
index acfaa28e27ca168984a391bbede627a409db9489..686ddf8e5a285c5f9e506d4a6f0ef2b374fbe2ad 100644 (file)
@@ -24,3 +24,13 @@ section.hover {
   background: #FFF;
 }
 
+.test1 {
+  background: green
+}
+
+.test2 {
+  -webkit-box-shadow: -1px 1px 1px #bdc7c6;
+  -moz-box-shadow: -1px 1px 1px #bdc7c6;
+  box-shadow:  -1px 1px 1px #bdc7c6;
+  border: 1px solid #333;
+}