Jump to content

Recommended Posts

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);
  });

 

Link to comment
https://forums.phpfreaks.com/topic/262185-the-limits-of-jquery/
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.