Nelsonsanu / jquery-countdown

Automatically exported from code.google.com/p/jquery-countdown
0 stars 0 forks source link

Doesn't work with current jQuery (1.8.2) in Chrome #55

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Use jQuery 1.8.2 (latest version) instead of 1.3.2

What is the expected output? What do you see instead?
Expected: It should just be counting down.
Instead: It sort of runs away, it exponentially increases margin-top of the 
right seconds digit, above 0. 

What version of the product are you using? On what operating system?
jQuery 1.8.2 in Chrome on Windows 7 64b

Please provide any additional information below.
I can confirm that it does work with 1.3.2, but it would be convenient to have 
it run on the latest version.

Original issue reported on code.google.com by Michiel....@gmail.com on 29 Oct 2012 at 1:30

GoogleCodeExporter commented 9 years ago
Same here, doesn't seem to work on Chrome anymore, but it used to.

Original comment by tjhard...@gmail.com on 13 Nov 2012 at 8:16

GoogleCodeExporter commented 9 years ago
Same here but I was using the dev build of Chrome not the production version. 

It still works with the current production version of Chrome and jQuery 1.7.1. 
It doesn't work with the production version of Chrome and the latest version of 
jQuery.

Original comment by grahamcr...@gmail.com on 4 Dec 2012 at 10:37

GoogleCodeExporter commented 9 years ago
There seems to be a new version at github: 
https://github.com/Reflejo/jquery-countdown

Original comment by stefan.m...@gmail.com on 8 Jan 2013 at 12:42

GoogleCodeExporter commented 9 years ago
I fix it!
Use this function:

var margin = function(elem, val) {
    if (val !== undefined){
        digits[elem].margin = val;
        return digits[elem].css({'marginTop': val + 'px'});
    }
    return digits[elem].margin;
};

Original comment by bw.lebe...@gmail.com on 25 Nov 2013 at 12:32