another big commit :D

This commit is contained in:
jomo
2013-10-07 04:59:21 +02:00
parent 2761387703
commit 5fac505a31
74 changed files with 1003 additions and 357 deletions

View File

@@ -1,9 +1,24 @@
$(function(){
$('[data-confirm]').click(function(){
var c = confirm($(this).attr('data-confirm'));
if (!c) return false;
})
$('#flash').delay(3000).fadeOut('slow');
$('.flash').click(function(){
$('.flash').animate({
opacity: 0
}, 'fast', function(){
$(this).animate({
height: 0
}, 'slow', function(){
$(this).hide();
})
});
});
setTimeout(function(){
$('.flash').animate({
opacity: 0
}, 3000, function(){
$(this).animate({
height: 0
}, 'slow', function(){
$(this).hide();
})
});
}, 4000);
})

View File

@@ -9,6 +9,6 @@
//
// WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD
// GO AFTER THE REQUIRES BELOW.
//
//= require jquery
//= require app
//= require jquery_ujs
//= require app