I've moved! I've moved my online home to mikejolley.com, and thats where I'll be blogging primarily. This site will stay live for archive purposes :)

JQuery anti-aliased rounded corners plugin v1.2

March 8, 2008 | Published in: Out of the Blue | Tags: , , 7

A new version of the rounded corners plugin has been uploaded, you can grab it here or see a demo here.

This version has improved background image support and is more reliable. File size of the packed version is around 9kb.

Found this post useful? Why not buy me a coffee!

Related Entries

7 Responses to “JQuery anti-aliased rounded corners plugin v1.2”

RSS feed for comments on this post.

  1. Mark Zuckerberg says:

    Mike, why exactly did you put this line in your javascript: var returnColour = “#ffffff”; if(colour != “” && colour != “transparent”)? I was curious because when trying to apply a transparent PNG background this function makes all curves come out white, rather than transparent like I intended. I commented parts of that line out so that it wouldn’t replace transparent PNGs with the color white anymore, now it works perfectly. I was just curious why you made that coding decision?

    Comment made on March 8, 2008 at 8:19 am

  2. Mike Jolley says:

    I think Its there so the function returns something in all cases. Perhaps I made a mistake. I will consider removing it to fix the transparency. Thanks for noticing!

    Comment made on March 8, 2008 at 10:51 am

  3. Mark Zuckerberg says:

    I did notice that the curves stop displaying in IE6 when applying a transparent PNG background after my change to the code. I do realize that transparent backgrounds don’t work in IE6 by default, but even after using Dean Edwards’ javascript library IE7 that forces IE6 to behave like a standards compliant browser, it still didn’t work. My point is, maybe that is why you included that function, because of IE’s failure to recognize transparent PNG bgs? I will state this, after altering the script it works perfectly in Firefox, but isn’t that always the case ;) Regradless, I enjoy this adaptation of the curvy Corners script, it seems very popular. Keep up the good work.

    Comment made on March 8, 2008 at 7:04 pm

  4. David Merwin says:

    Non related question: Why did you disable focus for your form field? The real question has to do with printing pages that have the Curvy Corners plugin. How can I get the bars and corners to NOT print. Lemme know.

    Comment made on March 12, 2008 at 12:01 am

  5. Mike Jolley says:

    @Mark – thanks! Perhaps it was, I really can’t remember. Maybe I should comment more lol

    @David – Tricky. If your using autopad you could modify the plugin to add a class to the autopad div, then in the print stylesheet make all the divs in the curvy corner div hidden with display:none except for the autopad.

    Comment made on March 12, 2008 at 1:14 am

  6. David Merwin says:

    Yeah, that was what I was thinking, but then I am creating a “branch” off of trunk. Wanted to keep it as is. Hmmm. Thanks.

    Comment made on March 12, 2008 at 4:44 pm

  7. Lawrence says:

    Using the latest version (1.5). When the element that gets the corner has a border color of say “red” it fails in IE. The border color must always be of the format #[0-9]{6}, so instead of “red”, use “#ff0000″.

    Comment made on June 26, 2008 at 8:51 am

The comments are closed.

About this site

Blue Anvil is the online web design journal & portfolio of , a web designer from Norfolk, England. Read More »
MiniCard Theme for WordPress
  • Featured work - More

    • Beefjack
    • Integrity
    • theotaku.com
  • Latest Tweet - More

    • RT @obox: Handmade eCommerce is now live! http://t.co/qaCvW1XZ powered by Woocommerce
  • Out of the blue - More

    • Download Monitor 3.3.5 Tagged for release

      The latest update to Download Monitor for WordPress has been released; this version comes with a many fixes and some new features, such as improved sorting. For full details view the readme; you can grab the plugin here.

    • Closing the Forums

      Just posting to let current users know that I’m closing the forum on Blue-Anvil. This is mainly due to spam-registrations getting out of hand and being a general nuisance. I will be posting good topics as FAQ items within posts if applicable.

      Please note that you can still post and get help for my plugins/themes by posting on the wordpress.org website.

    • Show off your MiniCard!

      Are you a user of the WordPress MiniCard theme? Its been downloaded over 14,000 times so far!

      If you have used it as-is, made your own child-theme or done something creative with it, please show off your MiniCard’s in the comments, I’d love to see how the theme is being used!

    • Spam Stopper updated for WordPress 3.0

      My Spam Stopper plugin has been updated for WordPress 3.0 (version 3.1.3) – you can grab it here. Sorry this update took longer than my other plugins but this one gets less lovin’ – if you want to change that feel free to donate, spread the word, or rate it on the WordPress.org plugin page.