thanks David and Sam, the nifty way is a bit different. Nifty uses a additional stylesheet for example, which is chached by the browser, and fewer style properties have to be computed again.
Also, it has a lot more options. I you don't have to use transparency for example, your corners will get anti-aliased. Also, there are advances options like same-height, which will bring all specified containers to the same height (very handy). As you can see here, you can do advanced layouts: http://www.html.it/articoli/niftycube/nifty12.html
Other than that, there are also features missing, like Dave's bevel option and the exact size in pixels. Would be cool to merge them in a way.
2006/10/11, David Olinsky <[EMAIL PROTECTED]>:
Paul, nice implementation of nifty inside of jquery. Out of curiosity,
does nifty do rounded corners any differently then Dave's plugin?
http://methvin.com/jquery/jq-corner-demo.html
Quoting Sam Collett <[EMAIL PROTECTED]>:
> On 11/10/06, Paul Bakaus <[EMAIL PROTECTED] > wrote:
>> Hi all,
>>
>> I noticed there was an update on the famous nifty2, which does
>> rounded corners on elements without the use of graphics. When I saw
>> the parsing capabilites, I thought "Why not use jQuery for that".
>> So I went ahead and used 3 hours of my time to modify and optimize
>> the plugin as a jQuery plugin. You can check it out here:
>> http://paul.jquery.com/plugins/nifty/
>>
>> The code can probably still be optimized alot, but I don't have
>> the time. If someone wants to help, go on and grap the js :)
>>
>> See ya,
>> Paul
>>
>> --
>> Paul Bakaus
>> Web Developer
>> ------------------------
>> Hildastr. 35
>> 79102 Freiburg
>
>
> That's a nifty plugin you have done ;)
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
--
Paul Bakaus
Web Developer
------------------------
Hildastr. 35
79102 Freiburg
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
