Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

IE Opacity with jQuery

Name: Anonymous 2010-04-17 17:17

/prog/ Gods,

I have searched and searched on for the jQuery syntax needed for the 'filter:alpha(opacity=x)' css property.  I have tried many variations of the following with no avail:

$("#testdiv").css({filter:alpha(opacity=50)});
$("#testdiv").css({filter:"alpha(opacity=50)"});
$("#testdiv").css({filter:"alpha('opacity=50')"});

Any help would be greatly appreciated!!

Name: Anonymous 2010-04-17 17:40

$("#testdiv").css({filter:win32("alpha", "opacity=50", NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL)});

Name: Anonymous 2010-04-17 17:44

Tip number one: [code] tags
Also read SICP

Name: Anonymous 2010-04-17 18:05

got it to work:

$("#testdiv").css({'filter': 'alpha(opacity=100)' });


thanks for nothing! <3

Name: Anonymous 2010-04-17 18:07

What the hell is this? Go away.

Name: Anonymous 2010-04-18 9:26

>jQuery
Take you fanboy stuff back to Stack Overflow

Name: Anonymous 2010-04-18 10:18

OP, you are fucking retarded.

$("#testdiv").css({opacity:0.5});

Name: Anonymous 2011-01-31 20:14

<-- check em dubz

Name: Anonymous 2011-02-04 18:14

Don't change these.
Name: Email:
Entire Thread Thread List