ChavezArquitectos / curvycorners

Automatically exported from code.google.com/p/curvycorners
0 stars 0 forks source link

'style.display' is null or not an object when using jQuery's UI Tabs #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. This appears in any version of IE and references line 416 (when using
the .src file)
2. jQuery UI's Tabs appears to be the conflict

What version of the product are you using? On what operating system?

Version 2.0.4 IE (6, 7 or 8)

Please provide any additional information below.

Line 416 is the culprit: 
if (boxDisp.style.display === 'none') break;

When using this with jQuery UI Tabs (and perhaps other UI elements) you get
the error in IE. I fixed it by wrapping it in a check for null:

      if (boxDisp.style != null){
              if (boxDisp.style.display === 'none') break;
      };

I am not sure what repercussions that fix may have for other browsers. 

Original issue reported on code.google.com by dali...@gmail.com on 29 Dec 2009 at 3:54

GoogleCodeExporter commented 8 years ago
If this is still a problem with the latest version of the source, please 
re-open. The 
code here has been considerably rewritten since 2.0.4.

Original comment by c.1%smit...@gtempaccount.com on 2 Jan 2010 at 4:27

GoogleCodeExporter commented 8 years ago
I'm a confused about "The code here has been considerably rewritten since 2.0.4"

Is 2.0.4 not the latest released version?

Original comment by dali...@gmail.com on 13 Jan 2010 at 9:26

GoogleCodeExporter commented 8 years ago
Yes, but it is not the latest available version. The tip revision here on 
Google Code 
has fixed a great many bugs since 2.0.4. Please consult the documentation for 
instructions on how to get the latest version, or (if on the site here) click 
the 
"source" tab, go to trunk (indicated on the left) and click the revision link 
appearing 
on the right, which is currently (and this link will work too) r151.

Original comment by c.1%smit...@gtempaccount.com on 14 Jan 2010 at 2:24

GoogleCodeExporter commented 8 years ago
Make sure you apply the curvyCorners to a div and it works.

Original comment by tcho...@gmail.com on 26 Apr 2010 at 10:05