Snafen45 Posted April 23, 2011 Share Posted April 23, 2011 Hi guys,I’m a novice at jquery and was wondering if someone could please help implement ‘easing’ on a CSS Sprite menu. I would like to have the menu ‘states’ fade in and out for the following menu, but without altering the actual structure of the menu code.CSS Sprite Menuhttp://buildinternet.com/2010/01/how-to-ma...e-powered-menu/Any help would be greatly appreciated.Thank you. Link to comment Share on other sites More sharing options...
Snafen45 Posted May 2, 2011 Author Share Posted May 2, 2011 Anyone please? Link to comment Share on other sites More sharing options...
roundcorners Posted May 2, 2011 Share Posted May 2, 2011 If you are using JQuery, you can use the animate() method and alter the opacity, width, height, position etc. Animate also takes a duration argument and an easing argument, that tells the method how to apply the properties you defined, like opacity, height, ...Link: http://api.jquery.com/animate/Example:$.animate({opacity: 0.2,margin-right: '12%'}, 200, 'swing',); Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.