» Home » delay » Page 1
JS/jQuery delay loop to get desire result (delay() not working)
Category : 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);

View Replies

jquery delay() doesn't delay attr() in the queue
Category : 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! :'(


View Replies

.delay doesn't seem to delay .fadeOut/.fadeIn
Category : 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

View Replies

Fiddler: request-trickle-delay and response-trickle-delay not working?
Category : 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

View Replies

how do i map <c-j> without a delay
Category : 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.

View Replies

TAGS : without delay

How to Add Delay to an LED
Category : 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

View Replies

TAGS : Delay

Run Function After Delay
Category : 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() {

View Replies

Delay when using AudioQueueStart()
Category : 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

View Replies

Delay with hoverintent
Category : Programming Languages
var config = {
sensitivity: 3,
interval: 5000,
timeout: 5000,
$("#cart-summary").hoverIntent(function () {
}, function() {

View Replies

Delay without sleep in vb 6
Category : 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

View Replies

2012 / 2017 Copyrights BigHow , All Rights Reserved .