Showing posts with label animation. Show all posts
Showing posts with label animation. Show all posts

Monday, May 21, 2012

jQuery slideUp().remove() doesn"t seem to show the slideUp animation before remove occurs


I have this line of JavaScript and the behavior I am seeing is that the selectedLi instantly disappears without "sliding up". This is not the behavior that I expected.

Tuesday, May 8, 2012

Thursday, May 3, 2012

CSS 3 equivalent to jQuery slideUp and slideDown?


My application is performing poorly with jQuery's slideDown and slideUp. I'm looking to use a CSS 3 equivalent in browsers which support it.

jQuery elastic easing equation


How can I modify this jQuery easing function to produce a less exaggerated bounce?

Tuesday, May 1, 2012

how can I use animation in cocos2d?


I am trying to develop a Roulette game for iPhone. How can I animation (spin) the Roulette board?

jQuery callbacks apparently repeat on failure?


I seem to be observing at least one case where a callback function passed to a jQuery effect function will execute repeatedly if there's an error while it's executing.

Friday, April 27, 2012

Android — How to position View off-screen?


I'm trying to animate a simple ImageView in my application and I want it to slide in from the bottom of the screen and come to a resting position where the top 50px of the view is off the top of the screen (e.g. the final position of the ImageView should be -50px in X). I've tried to use the AbsoluteLayout to do this, but this actually cuts off the top 50px of the ImageView such that the top 50px is never rendered. I need to have the top 50px of the ImageView visible/rendered while it's animating and then simply have it come to a rest slightly off-screen. I hope I've explained that well enough.

Monday, April 16, 2012

Android animation does not repeat


I'm trying to make simple animation that is repeated several times (or infinite).

Tuesday, April 10, 2012

Android animation does not repeat


I'm trying to make simple animation that is repeated several times (or infinite).

Thursday, April 5, 2012

jQuery using append with effects


How can I use .append() with effects like show('slow')



Having effects on append doesn't seem to work at all, and it give the same result as normal show() . No transitions, no animations.

Thursday, February 16, 2012

Android animate drop down/up view proper


Okay I'm trying to do a proper slide down animation. The view that slides down should push all views bellow it down in one smooth movement and again when it slides up all the views should follow in one smooth movement.

Thursday, January 12, 2012

Simulate top scroll using javacsript setInterval & clearInterval


I want to simulate scroll by moving body/html frame to the top/upwards by arbitrary amount. I know jQuery scroll or animate function, .scroll() and .animate() . But I have decided not to use it since it caused conflict between scrollTop property in animate and .scroll() jQuery native function when the animation happens and is still ongoing AND the .scroll gets called..

Wednesday, January 11, 2012

How can I highlight search terms using animated color change


I have a word cloud and I want to pick a few unique pre-defined words from it and smoothly change their color. Basically I want to do this,

How do I buffer an image, show it when I want to, and be able to move it


I looked forever for how to do this but can't figure out how. The best I have done is made an image with HTML. I tried to edit the image settings after it was made like how you use document.getElementById() to change text, but I couldn't get it to work.