Fancybox plugin added to show large screenshot images.

This commit is contained in:
Christoph Haas 2013-08-11 23:19:24 +02:00
parent 35510212ba
commit 857a2706b0
6 changed files with 33 additions and 4 deletions

View file

@ -12,5 +12,6 @@
//
//= require jquery
//= require jquery_ujs
//= require fancybox
//= require turbolinks
//= require_tree .

View file

@ -1,3 +1,15 @@
# Place all the behaviors and hooks related to the matching controller here.
# All this logic will automatically be available in application.js.
# You can use CoffeeScript in this file: http://coffeescript.org/
jQuery ->
$("a.fancybox").fancybox({
openEffect : 'elastic',
closeEffect : 'elastic',
helpers : {
title : {
type : 'inside'
}
}
})