I inherited the following JavaScript method to set the opacity for images in IE. However, apparently if the image does not have an initial style similar to style="filter:alpha(opacity=100)", the code will not work as a result of the if statement on line 8. Is there a way to create an initial style in JavaScript if one does not exists?
Jay Damon
Ranch Hand
Joined: Jul 31, 2001
Posts: 279
posted
0
The JavaScript code is:
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.