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

Events happening in the community are now at Drupal community events on www.drupal.org.
foodbo's picture

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.

Comments

I'd go with a jQuery plugin

dalin's picture

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
Director of Technical Strategy, Advomatic.com
Pronouns: he/him/his

thx dalin

foodbo's picture

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

Is that what u use??

foodbo's picture

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

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

DrupalHK

Group categories

HKDUG Vocabulary

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: