Trying to create a function that lets you animate any number of numerical properties with a given easing function, but it doesn't quite work... calling it doesn't result in any motion. Everything is set up correctly as when I change what the...
I have the following function:  Math.easeIn = function (val, min, max) {   strength = 4;   val /= max;   return (max-1)*Math.pow(val, strength) + min; };   Given Math.easeIn(5, 1, 10), I get 1.5625. I would like a function that given a val of 1.5625,...
I have created a search-bar that eases in and out of hidden and visible using fixed widths. I'm using jQuery UI to toggle the widths with easing, however, I'm having issues with getting the widths to ease in properly. Rather than easing in, i...
I've got a menubar that uses a bit of javascript for a nice effect. The hover effect runs smoothly in google chrome, safari and even internet explorer.  I've tried removing the images, that doesn't seem to do it. I tried disable   Here...
I have written a function that when invoked, will scroll the page downwards in a smooth fashion.  The problem is that the amount scrolled is not precise. It can be off by one pixel or so depending on the distance scrolled and the duration of the scro...
I would like to know what the name of this effect: http://www.thefeebles.com/ (hover the links on the left). They are using TweenLite, but I dont know how can i do this effect!  I tried but it's not the same: http://maiconfurtado.com.br/fabio/  A...
I'm new to jQuery and I'm using quite a few libraries. I believe they are conflicting because I'm getting an error:  Uncaught TypeError: Property 'undefined' of object #<Object> is not a function                    jquery.ea...
Adobe After Effects (an animation / compositing app) has a scripting language (Expressions) that's based on JavaScript, and it comes with a bunch of After Effects-specific functions built on top of JS. The function linear() is one of these. It co...
For example, the easing functions presented in this gist: https://gist.github.com/gre/1650294 would be perfect, but I have no idea how to modify them so that they take v0, v1 and t parameters, like this lerp function I currently have:  _lerp2: functi...
I'm using Bill Miller's Interactive Decision guide code.  http://www.guiideas.com/2013/09/interactive-decision-guide.html  To scroll new questions into view at the bottom of the page he uses window.scrollTo      //scroll code to bring next qu...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.