Commits

Matthew Turk committed 5832574

Getitng closer to a nice notification

Comments (0)

Files changed (2)

     top: 0;
     left: 0;
     width: 100%;
-	/*background: #4a8f43;*/
     background: white;
     z-index:100;
     display: none;
     text-align: center;
+    font-size: 22px;
+    line-height: 30px;
+    padding-top: 4px;
+    color: #000000;
+	font-family: Bebas, Arial, sans-serif;
+	font-weight: normal
+    height:30px;
 }
 
 /* the overlayed element */
                             {username:'chummels', reponame:'yt-chummels'},
                           ]);*/
 
-   $('#notification').delay(1000).show('slow').delay(10000).hide('slow');
-   $('#notification').delay(20000).hide('slow');
+   $('#notification').delay(1000).show('slow');
+   $('#notification').delay(30000).hide('slow');
    $("a[rel]").overlay({
         onBeforeLoad: function() {
+            $("#slider-cycle").cycle("pause");
             var wrap = this.getOverlay().find(".content_wrap");
             wrap.html("<iframe src=\"http://player.vimeo.com/video/20201648\" width=\"640\" height=\"320\" frameborder=\"0\"></iframe>");
-        }
+        },
+        onBeforeClose: function() { $("#slider-cycle").cycle("resume"); }
         }); 
 });	//END of jQuery