fancybox fancybox openEffect elastic openSpeed 200 closeEffect elastic

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
$(".fancybox").fancybox(
{
openEffect : 'elastic',
openSpeed : 200,
closeEffect : 'elastic',
closeSpeed : 200,
closeClick : true,
nextEffect : 'none',
prevEffect : 'none',
padding : 20,
maxWidth: 960,
wrapCSS: 'fancybox-custom',
helpers:
{
title:
{
type: 'inside'
},
overlay:
{
css:
{
'background' : 'rgba(238,238,238,0.85)'
}
}
}
});
});