fabds / jquery-countdown

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

IE8 problem solved #3

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
i had a problem with this script and the ie8, the ie8 was increasing the 
margin-top for each digit at the same.  
Solved it by adding another div around the each div for a number or seperator.

      where.append('<div>');
      where.append(elem)
      where.append('</div>'); 

Original issue reported on code.google.com by milo.tis...@gmail.com on 1 Sep 2010 at 6:17

GoogleCodeExporter commented 8 years ago
FANTASTIC! Thank you.

Original comment by brianvot...@gmail.com on 11 Dec 2010 at 6:17

GoogleCodeExporter commented 8 years ago
Thank you so much! Perfect fix.

Original comment by scottdi...@tsn.cc on 22 Jul 2011 at 6:18

GoogleCodeExporter commented 8 years ago
 Thank you.

Original comment by ChaiVale...@gmail.com on 10 Oct 2011 at 9:42

GoogleCodeExporter commented 8 years ago
Thank you -- great easy fix. No more IE8 issues

Original comment by shaw3...@gmail.com on 1 Dec 2011 at 12:40

GoogleCodeExporter commented 8 years ago
Am I the only one that still can't get this script to run with IE8 despite all 
"fixes" in the other issues?

Anyone have a PROPER fix that works with: IE8, IE9, Chrome and Firefox? I can 
get it to work with all but IE8 which throws the "digits" error and 
"NaN:aN:aN:aN"

Original comment by igne...@gmail.com on 31 Dec 2011 at 2:35

GoogleCodeExporter commented 8 years ago
The code you listed for this "fix" does add a div before the elem, but not 
after.  It is not like text appending, where it wraps that text around the 
element, but uses jQuery and so the first line creates a div and appends it, 
then appends the elem, and then doesn't know what to do with "</div>" since 
that is not a proper element to create, and so it just ignores that line.  To 
wrap elem, you would do the following:

where.append($("<div>").append(elem));  

That appends elem inside of the div being created and then appends that div 
(including elem) to where.

The earlier does seem to work, but it isn't doing the intended behavior.

Original comment by behn...@gmail.com on 9 Mar 2012 at 8:24

GoogleCodeExporter commented 8 years ago
Cool working in ie8, Thanks

Original comment by mesv...@gmail.com on 1 Oct 2012 at 6:18