» Home » delay » Page 1
JS/jQuery delay loop to get desire result (delay() not working)
by IeraseU in Web Design

I'm trying to create an loading icon by moving the css 'background-position' of an image in a loop:


$('#LoginButton').click(function () {
var i = 1, h = 0, top;
for (i = 0; i <= 12; i++) {
h = i * 40;
top = h + 'px';
$('#ajaxLoading').css('background-position', '0 -' + top).delay(800);
}
});

jquery delay() doesn't delay attr() in the queue
by Kronvict in Programming Languages

what is wrong in this code? I'm trying to get this effect: fadeOut(500) and attr('class','myClass') delayed by 600 millisecs.. then delay(600) again, and fadeIn(500). The delays happen correctly but the attr() is not being delayed, it fires when #myDiv is still fading! :'(


$('#myDiv').fadeOut(500)
.delay(600)
.attr('class','myClass')

.delay doesn't seem to delay .fadeOut/.fadeIn
by Comfly in Programming Languages

I'm having an issue with the following line of code.


$("#chicken").delay(scrolllen).fadeOut(0).removeClass("flipped").css({ left: 900 + "px" , top : 2370 + "px"}).fadeIn(0).animate({ left: 1500 + "px" , top : 2370 + "px"}, 5000, 'linear');

So I'm having other animations happen. They take scrolllen so I have the delay so that it waits for the end


Fiddler: request-trickle-delay and response-trickle-delay not working?
by Jeeebus in Development Tools & Services

I'm scratching my head trying to get Fiddler to delay in a manner that replicates one of our broadband internet connections. I've got a WCF Visual Studio 2012 project where I want Fiddler to throttle. It seems that if I set the request-trickle-delay and response-trickle-delay to numbers as low as "2" it still continues to act as if it should delay using the default settings (or maybe worse, i


how do i map <c-j> without a delay
by cmt95 in Development Tools & Services

I dont care what <c-j> does (I think new line or something?)


I've been using kj very quickly to enter normal mode instead of <esc> but im finding this irritating every time i type a k or j it jumbles them up. It never affects the code because as soon as i type past it they fix instantly but im still getting tired of seeing that.

TAGS : without delay

How to Add Delay to an LED
by Deledrius in Computers
A simple way to add turn-on and turn-off delay to an LED circuit is to connect a resistor and capacitor in series to form an RC circuit. It takes time for a capacitor to charge/discharge through a resistor. The time is determined by T = R x C, where R is the resistance in ohms, C is the capacitance in Farads and T is time in seconds. The value of RC is actually the time it takes for the capacitor
TAGS : Delay

Run Function After Delay
by Mansur in Programming Languages

I have the below global jQuery function stored, but on page load, I want to execute it after a 1000 delay. Is there something wrong with my syntax? I know the delay always goes before the function. I it is not responding.


Thank you stack gods.


Global function:


function showpanel() {
$(".navigation").hide();
$(".page").children(

C# TCP First Message Delay
by tanknique in Network & Servers

greetings,


i am writng a socket program using sockets in c# (asynchronous).


the issue is, when a client connects to the server it kinda happens quiet fast. then..


when the first message is sent there is a delay in responding.


this only happens to the very first data being sent over the connection. and boh client and server suffers from this behavi


Delay without sleep in vb 6
by Nate Childers in Programming Languages

I have a requirement in visual basic6 where I want to send commands to a machine connected to my PC. I can send the command only after getting the acknowledgement from it.It is like this. Sleep after I send the first command will make the program inactive and I cannot receive the acknowledgment.


So I am thinking of using variables or flags and increment in the subsequent modules fo


Delay when using AudioQueueStart()
by javascript in Mobile Programming

I am using the Audio Queue services to record audio on the iPhone. I am having a latency issue though when starting recording. Here is the code (approx):


OSStatus status = AudioQueueNewInput(
&recordState.dataFormat, // 1
AudioInputCallback, // 2
&recordState, // 3
CFRunLoopGetCurrent(), // 4
kCFRunLoopCommonModes, // 5
0, // 6

Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .