FancyBox Disable Fade Effect - fancybox

The image zoom effect on FancyBox works great. However, for this particular case, I need to disable the fade effect that happens along the zoom effect.
Is it possible to disable the fade effect, while leaving the zoom animation
active?
Help would be appreciated.
Thanks in advance, Mariano

I've found the answer by using these methods:
openOpacity : false,
closeOpacity : false,

Related

Image animation problems in Unity

I state that I am not very experienced in Unity.
I am working on a project in which I have some pictures. To these images I have added an animation that modifies the viewing scale (x,y,z), in such a way as to obtain a pulsation effect. ("ImageEffectPingPong")
To these same images, however, I added another animation that when the image is clicked, a fade effect is obtained, in such a way as to make the image disappear.("fadeOut_x")
When I go to make transition one of the two animations to the animator, it works as it should. the problem is when I try to merge them.
The ImageEffectPingPong animation is set in loop, while the other is activated by setting a bool to the onclick event.
animator.SetBool($"img_{pos}",true);
This is my animator
I tried a combination like this, but when I hit the first image, the fade works, but I no longer get the "pingpong" effect I want.
So how do i get the pingpong effect and when i click on an image, the fade effect, without losing the pingpong effect on the other images?
PS: to create the first effect I created a single animation that changes the scale of each image at the same time, while for the fade effect, each image has its own animation. Images can disappear following the correct sequence.
Sorry for my bad English, I hope I have explained myself as well as possible, I remain available for any misunderstandings. thank you
in case anyone has the same problem as me, I was able to solve it by adding a layer. In the first layer I run the fade animation, while in the second the pingpong effect. It is important to set the weight of the layer.

Keep touchZoom centered?

I am using Leaflet in a mobile app and want to get rid of the two zooming buttons in the top corner, but I need the exact same effect (zooming without the possibility of panning around with it) but using a pinching gesture. Alas, the default pinching gesture does not keep the view centred!
I don't know why, but keeping the zoom centred when using the mousewheel or doubleclick are available options for the map object:
If passed 'center', double-click zoom will zoom to the center of the view regardless of where the mouse was.
If passed 'center', it will zoom to the center of the view regardless of where the mouse was.
But not for touchZoom, I tried. maybe the nice people at Leaflet thought the effect doesn't "feel" nice, but I really wish I could try it nonetheless and judge it by myself.
Anyone knows how to get a similar effect? I don't really want to end up calling setView() at every "zoom" event call, if that even was an option...
Found out that I could use the maxBounds option. If you set both corners on a single point (the one you'd use for setView, for example), the map won't be able to pan away from it.

ECSlidingDrawer theming and animation

so I have an app and I have a sliding drawer on the left that can be pulled out/revealed by a button tap or a gesture. It looks like this.
I wanted to animate the drawer so it had a folding animation kind of similar to this.
I have looked around the internet extensively and didn't find anything.
Does anyone know whether this is possible? Thanks.
The following article describes the folding animation using CATransfromLayer. I think this might help.
http://markpospesel.wordpress.com/tag/catransformlayer/

slideshow using touch sequence for the next image

in xcode just doing the transition. set of image in the nsarray,like slide show. have to change the image using transition for right to left using touch
I think you have to describe your question briefly.You can use Page control for that.It may be more useful to you.
You can get sample code in below link "http://developer.apple.com/library/ios/#samplecode/PageControl/Introduction/Intro.html"
use the leftswiping gestures and right swiping gestures.

Making an icon "jump" with iPhone core animation

What would be the best way to make an icon seem to "jump" from a toolbar into a UITabBarItem.
I have found the CAKeyframeAnimation class which looks promising but I just can't get it to work. I have been using code similar to this : http://www.bdunagan.com/2009/04/26/core-animation-on-the-iphone/ but no matter what I set my endPoint to, the icon always ends up in the top of the screen.
I'm trying to achieve something similar to the effect used when you move a message in the Mail application. Is CAKeyframeAnimation suitable or is there an easier way to do this?
Thanks in advance.
When you say "the icon always ends up in the top of the screen", do you mean that the animation runs, but the icon hops back to the top of the screen at its completion? If so, make sure that you've set the animation's fillMode to kCAFillModeForwards and its removedOnCompletion property to NO.
For another example of a CAKeyframeAnimation that animates an object along a curve, see my answer to this question.