photomix/app/assets/javascripts/application.js

60 lines
1.7 KiB
JavaScript
Raw Normal View History

2012-07-24 23:26:16 +02:00
// This is a manifest file that'll be compiled into including all the files listed below.
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
// be included in the compiled file accessible from http://example.com/assets/application.js
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
// the compiled file.
//
//= require jquery
//= require jquery_ujs
2012-07-26 22:26:23 +02:00
//= require jquery.easing.1.3
2012-07-27 01:08:25 +02:00
//= require jquery.noisy.min
2012-07-29 00:33:03 +02:00
//= require jquery.mousewheel
//= require fancybox/jquery.fancybox.pack
//= require fancybox/helpers/jquery.fancybox-buttons
//= require fancybox/helpers/jquery.fancybox-media
//= require fancybox/helpers/jquery.fancybox-thumbs
2012-07-24 23:26:16 +02:00
//= require twitter/bootstrap
//= require plupload
//= require jquery.plupload.queue
//= require plupload.flash
//= require plupload.silverlight
//= require plupload.html4
//= require plupload.html5
//= require plupload.gears
//= require plupload.browserplus
//= require_tree .
2012-07-27 01:08:25 +02:00
$(document).ready(function () {
$('body').noisy({
'intensity':10,
'size':200,
2012-07-29 00:33:03 +02:00
'opacity':0.120,
2012-07-27 01:08:25 +02:00
'fallback':'',
'monochrome':false
}).css('background-color', '#fefefe');
2012-07-29 00:33:03 +02:00
$('.icon-popover').popover()
$(".fancybox-thumb").fancybox({
prevEffect : 'none',
nextEffect : 'none',
helpers : {
title : {
type: 'outside'
},
overlay : {
opacity : 0.8,
css : {
'background-color' : '#000'
}
},
thumbs : {
width : 50,
height : 50
}
}
});
2012-07-27 01:08:25 +02:00
});