Get ride of "transition in and out"

35 views
Skip to first unread message

Guillaume

unread,
May 18, 2012, 5:38:03 PM5/18/12
to fancybox
Hello,

I would like to delete the resize effect of the window between two
pictures.
I read the doc and see the "transition".
So to get ride of "transition in and out" I'm using this :


// Lightbox Init
var fancyboxArgs = {
padding: 0,
overlayColor: "#fff",
overlayOpacity: 0.9,
titleShow: true,
mouseWheel: true,
transitionIn: "none",
transitionOut: "none",
autoPlay: true,
playSpeed: 5000
};
$('.gallery-icon a').attr('rel', 'post-gallery');
$("a[rel='gallery'], a[rel='lightbox'], .gallery-icon
a, .colorbox").fancybox( fancyboxArgs );


I thought these lines would do the trick but I still have the
transition between pictures :

transitionIn: "none",
transitionOut: "none",

Maybe I'm wrong, the resize of the window between two images is
perhaps not the "transition".

Can someone help me out on this one ?
Here is the address to for : http://www.acielouvert.net/heygee/
Thanks a lot

Guillaume

unread,
May 19, 2012, 3:45:00 PM5/19/12
to fancybox
Hello,

I go further on this one.
transition in and out are in fact the way the fancyBox open and close.

So I was mistaken.
Can someone told me on to delete the "elastic" transition between the
photos ?

Thanks a lot
Reply all
Reply to author
Forward
0 new messages