Sean McCullough Learn, Understand, Apply, Share and repeat

13Apr/0912

jQuery’s curvycorners issue with the IE’s

Hey readers,

I've recently started diving into jQuery plug-ins over at work and came across a bug this afternoon.
Using jQuery 1.3(.1/.2/.3) and a plug-in I found from blue-anvil.com that rounds corners on HTML elements... it's pretty handy.

Anyways I was using jQuery minified 1.3.2 and blue anvil's latest version of curvycorners ver. 1.8.1 (here is a link)
I kept getting an error in IE6 & 7, but not FF3, Safari, Opera, Chrome. A little digging around in the issues logs for that plug-in on the jQuery site found me this. http://plugins.jquery.com/node/5756
(bottom of the comments)

After looking at that I tried to find:
$($$ +" *").css("zoom","normal");

and couldn’t, I then did a search for:
" *"

in the jquery.curvycorners.packed.js (ver. 1.8.1) and found this:
$(c+" *").css("zoom","normal")
instead.

I then just switch to this:
$("*", c).css("zoom","normal")
and it fixed the error I was getting in IE6 & 7.

Tested in IE6 (Stand alone from Multiple IE) & IE7 with
jquery-1.3.min.js

Good luck :)

Your friendly neighbourhood,
Smccullough

Bookmark and Share
Filed under: jQuery Leave a comment
Comments (12) Trackbacks (0)
  1. UPDATE:
    Works with jquery-1.3.2.min.js…. both IE6 & 7

  2. You the man! I had this problem and was knocking my head against the wall trying to figure it out. Your little fix fixed things right up. Thanks!

  3. Worked for me as well. Awesome! Thanks for the fix :-)

    Did you submit this to the curvycorners project? I tried the most recent 2.0.2 alpha in my attempts to fix this and it still wasn’t working…

  4. @Mathieu Martin
    Glad I could help! :)

    No, I haven’t submitted this to the project… yet.
    If newer versions are having the same issue then it’s probably the best time to do so.

    I’m not a big fan of using Beta or even Alpha versions of plug-ins simply because those versions are just to unpredictable for a production level.

    I wanted to check out that 2.0.2 version though, but blue-anvil’s site is down at the moment :(

    Your friendly neighbourhood,
    Smccullough

  5. @Daniel Florien
    Thanks Dan, just trying to make it easier for us! ;)
    Hope I can help further with future posts!

    Your friendly neighbourhood,
    Smccullough

  6. Awesome! Thanks for the fix.
    In addition to the normal IE7, it works in IE7 standalone too. :)

  7. Very glad I found the link to your site from reading the comments at Blue Anvil. Thanks for posting this fix!

    Cheers,

    Malcolm.

  8. Awesome, thanks for posting this. It fixed my issue!

  9. Sean, thank you for this fix. Now, it’s really pleasure use curvycorners plugin in my projects!

  10. Thanks man! So glad I finally fixed it.

    Stupid IE.

  11. How to fix IE7 and IE8 issues for JQuery Curvy Corners 2.0.2 Beta 3?
    version 2.0.2 Beta 3 – http://jquerycurvycorners.googlecode.com/files/jquerycurvycorners%202.zip
    Print Screen from IE7 – http://img193.imageshack.us/img193/8000/jquerycurvycorners202be.jpg

  12. jQuery Curvy Corners 2.0.2 Beta 3 with jQuery 1.4 looks like is working on IE7 and IE8.


Leave a comment


No trackbacks yet.