And, backgroundColor: '##fff' should be written '#fff' [One hex.]
On Dec 11, 2:22 pm, "Josh Nathanson" <joshnathan...@gmail.com> wrote: > Maybe try removing the quotes around .9 - it is probably looking for a > number rather than a string. I could see this borking IE. > > -- Josh > > -----Original Message----- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > > Behalf Of Eric > Sent: Thursday, December 11, 2008 11:47 AM > To: jQuery (English) > Subject: [jQuery] IE Opacity Issue > > Having a problem setting the overlay opacity in IE. The default works > fine, but as soon as I try to change it, all I get is the overlay > color at 100% opacity. > > Here's my call: > > $.blockUI({ message: $(".dialogPopup"), css: { border: 'none', > textAlign: 'left' }, overlayCSS: { backgroundColor: '##fff', opacity: > '.9' } }); > > This works fine in FF2 & 3. > > Any ideas? > > Thanks, > Eric