5168 shaares
38 private links
38 private links
I made quick work of the buttons for those browsers that support border-radius, but that left Opera and IE out of the fun. For them, I developed a different way of rounding the corners, but then I needed a quick way to tell which browsers to give the simple border-radius solution, and which to give the more complex solution.
Enter jQuery. The following tiny script extends the jQuery.support object to include border-radius information.