`queue` is a method of jQuery library that allows to show or manipulate the queue of functions to be executed on the matched element.
Questions tagged [jquery-queue]
10 questions
2
votes
1 answer
Use jQuery.queue instead of setTimeout
I want to append an element to the DOM and then add a class with transition to apply a sliding effect. Currently I'm using setInterval() with delay of 0, otherwise transition won't happen (demo):
var $block = $('', {class:…

Pavlo
- 43,301
- 14
- 77
- 113
1
vote
0 answers
Multiple steps animation, delay() and queue() not working
I am trying to animate some text. Fade in, change text, change color, fade out and so on. Unfortunately there seems to be an issue with delay() that doesn't work with html() or text(). So I tried to make it work with queue() or setTimeout(), but…

user838531
- 478
- 5
- 14
1
vote
1 answer
How to trigger an action once with a jQuery queue() loop
I have a jQuery object with a number of elements, e.g. $('.items'). I have these items going through some processing inside a queue(), and depending on conditions, I want to change a variable. After the queue has completed, I want to check that…

t-jam
- 811
- 1
- 6
- 21
1
vote
1 answer
JQuery Queue issues
I am having some serious issues making the JQuery queue work. All the defined functions execute at once, so the class change occurs before the animation- we want it to fade out, then change class, THEN fade back in.
function animatePlusMinus(){
…

Jess
- 345
- 1
- 3
- 17
1
vote
1 answer
Auto-start jQuery custom queue
As explained in another question, If the queue being queued is fx and the queue is not already in progress, dequeue is called..
That is great that the default queue is smart enough to auto start. But how can I replicate the same functionality, auto…

Luke Shaheen
- 4,262
- 12
- 52
- 82
0
votes
0 answers
jQuery animate queue:true happening simultaneously
I have been hammering at this code trying every which way to get my animations to happen one at a time but they both animate at the same time. FYI I am not using any CSS transitions so that would not be a factor in this case.
Here is the…

Dan Rollans
- 3
- 3
0
votes
0 answers
Best way to show/hide message from the server to the user and reset timer?
I have been working with JQuery and Bootstrap 3. On my Login form I have and option where user can click on forgot password link. That will open Modal box where they can enter their email and submit that form. However, this all works fine but I have…

espresso_coffee
- 5,980
- 11
- 83
- 193
0
votes
0 answers
Run function after animations complete
I have a dropdown that allows selecting different shipping methods. When selecting one, a different div displays, hiding the other two. I'm using jQuery to smoothly fade the divs in and out. After the animations are done, I need to run the…

Connie DeCinko
- 996
- 5
- 19
- 39
0
votes
1 answer
jQuery animate start
Is there a way to call a function right before jQuery animation starts? I want to have a method that is fired before each animation in a potentially long queue.
I know .animate() function has start option, but it's being called when animation is…

user3926949
- 3
- 1
-1
votes
2 answers
Queue functionality issue in a simple program
I am trying to queue some of the changes by jQuery using the .queue() functionality. I can see the 'background yellow' and 'border turning orange' but I dont see shifting of the paragraph! Kindly help why its not moving leftwise by 250px! (I've…

Deadpool
- 7,811
- 9
- 44
- 88