Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8431321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T05:49:24+00:00 2026-06-10T05:49:24+00:00

I have something like : $(‘#test’).bind(‘go’, function(event, top, left,w,h) { $(‘#test’).animate({left: left, top :

  • 0

I have something like :

$('#test').bind('go', function(event, top, left,w,h) {
  $('#test').animate({left: left, top : top, width: w,height: h},1000,function() {
     $('#test').animate({left: 0, top :0, width: w,height: h},1000)  ;      
  })
});

$('#test').trigger('go', [150, 200,100,80]);
$('#test').trigger('go', [250, 200,100,80]);
$('#test').trigger('go', [350, 200,100,80]);

but the 2nd et 3rd trigger start before the end of the first one. i want the next main.trigger start when the previous is complete.

Try it : http://jsfiddle.net/9NLrR/6/

thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T05:49:26+00:00Added an answer on June 10, 2026 at 5:49 am

    test this:

    <div style="height:100px; width:100px; background-color:red; position:absolute;" id="test"></div>​
    

    and script:

    <script type="text/javascript">
        $('#test').bind('go', function(event, top, left,w,h) {
            $('#test').animate({left: left, top : top, width: w,height: h},1000);  
            $('#test').animate({left: 0, top : 0, width: w,height: h},1000);     
        });
    
        $('#test').trigger('go', [150, 200,100,80]);
        $('#test').trigger('go', [250, 200,100,80]);
        $('#test').trigger('go', [350, 200,100,80]);
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have something like this: <img style=background:url(/theRealImage.jpg) no-repate 0 0; height:90px; width:92px;) src=notTheRealImage.jpg/> I
I have something like that: <div style=width:100px;float:left>menu</div> <div style=float:left>content</div> both floats are neccesary. I
I have something like this: function showFunction () { // need position and place
I have something like the following: var myTimeout; function delayStuffUntil( when ){ if( myTimeout)
I have something like: $(document).ready(function() { var numberOfTables = 3; }); Is there anyway
I have something like this in my page: <div id=test> <div class=item>Test</div> <div class=item>Test</div>
I have something like this: <a href=# id=lol>LOL</a> <script type=text/javascript> $('#lol').click(function(){ $.get(<?php echo $host.'/index.php'?>,
I have something like this: var Something = function(){ this.render = function(){}; $(window).resize(function(){ this.render();
I have something like this: $.getJSON('/scripts/commons/theScriptDoTravelBackInTime.php',{ }, function(){ // etc.. etc... } }); Is
I have something like: string result = Selenium.GetText(/html/body/form/div[2]); if (result.Contains(test) { bool found =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.