use of swfobject interferes with rounded_corners in internet explorer 6 (ie6)

greenmachine - February 20, 2008 - 02:53
Project:Rounded corners
Version:5.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:active
Description

This is actually a problem with the javascript itself, but there's no bug tracker for that as far as I can see. If you've talked to the author about his/her javascript maybe you can drop a line about this issue.

rounded_corners works fine for IE6. However, if I use swfobject.js to place a flash element on a page where rounded_corners is working, the rounded_corners behavior will be inconsistent and usually broken. In my case, this has taken the form of corners not being rounded at all or only some corners being rounded (not all specified). Occasionally (usually with a shift+refresh) the corners work as intended. I don't see a pattern.

I've tested this outside of Drupal with swfobject 1.5 and jquery.corners.js 1.7. SWFObject is pretty popular, so this might be worth fixing as long as IE6 is clinging horribly to some market share.

Other browsers seem to be unaffected.

#1

greenmachine - February 22, 2008 - 18:53

Running swfobject through jquery (rather than regular inline javascript) following this method resolves the issue:

http://blog.deconcept.com/swfobject/forum/discussion/540/

 
 

Drupal is a registered trademark of Dries Buytaert.