Shadowing Posted May 7, 2012 Share Posted May 7, 2012 Hey guys im having a problem while moving a object accross the screen and trying to make it hide() while its still moving. if you look at my page below it will get you a some what idea of what im doing. the problem is im wanting to blow something up while its moving and im having problems doing this. one problem is while using jquery animation i cant tell a element what to do until the animation is done with that element. another thing i hate how jquery animation slows down right before stoping. Im assuming thats jquery doing that? because im trying to blow up a fast moving ship i cant have it be slowing down to a stop then blow up. My home page isnt showing the faster ships im working on atm but will still give you an idea what im doing. would really appreciate some help im at a halt now. http://www.stargatesystemlords.com $('.'+tag)[effect](0,function(){ $(this).animate({'margin-left': '+='+left , 'margin-top': '+='+top , 'width': '+='+width ,'height': '+='+height}, +speed); }); Quote Link to comment https://forums.phpfreaks.com/topic/262185-the-limits-of-jquery/ Share on other sites More sharing options...
Shadowing Posted May 7, 2012 Author Share Posted May 7, 2012 I found out how to stop a animated object from slowing down to a stop using linear after the duration parameter Quote Link to comment https://forums.phpfreaks.com/topic/262185-the-limits-of-jquery/#findComment-1343762 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.