开发者

JQuery corner plugin with images - firefox issue

The plugin JQuery corner is designed to round the corners using jquery of containers and objects. Contrary to every example on the demo page http://jquery.malsup.com/corner/ but written in the docs I have rounded the corners of a container with an image inside it. The image has consequently also rounded.

This is working in ::

Sa开发者_StackOverflow中文版fari, Mobile Safari, Google Chrome

I cannot get it to work in Firefox or IE. I have set up a fiddle if anyone can work it out. http://jsfiddle.net/ywSar/1/

Any ideas?

Marvellous


To anyone else whom encounters this problem.

Use the plugin jquery.curvycorners instead.

  • This can handle backgrounds-images behind it rather than just being one colour.

Then change the images to background inside a DIV object instead. This will fix the problem in all browsers defaulting to CSS3 properties in modern browsers and applying the script in older ones.

Marvellous

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜