Border-radius for IE too? or what methods do u use?

Hi there,

I am trying to find a way that not using images to make rounded corners for IE. and i have found the javascript which works quite ok but i have no idea how to use that with drupal.

So, 1) is there a better way to do that?
2) or how can i use the script for drupal for IE only??

http://www.dillerdesign.com/experiment/DD_roundies/#usage

many thanks.

Groups:
Login to post comments

I'd go with a jQuery plugin

dalin's picture
dalin - Mon, 2009-10-05 11:08

I'd go with a jQuery plugin rather than a custom javascript function. There's already a module for this here:
http://drupal.org/project/rounded_corners
http://groups.drupal.org/node/5455

No need to do anything specific for IE. It should be fairly plug-n-play.

--
Dave Hansen-Lange
Web Developer
Advomatic LLC
East Asia Office
Hong Kong


thx dalin

foodbo - Sun, 2009-10-11 02:58

I have tried the rounded_corners's jquery plugin but it uses the native method for firefox and safari (-webkit-border-top-left-radius etc) and just use pixel for the IE so, it doesn't actually looks rounded for the IE.

so i guess most ppl just use images instead?


jQuery Canvas Rounded

moni-gdo's picture
moni-gdo - Sun, 2009-10-11 03:56

Is that what u use??

foodbo - Mon, 2009-10-12 01:40

They both do not work in IE 8, :-(, u might considering to update them....

http://jrc.rctonline.nl/demo/corners.html


yes,, you are right,, the

moni-gdo's picture
moni-gdo - Mon, 2009-10-12 11:42

yes,, you are right,, the scripts are outdated,,