[Javascript] Setting Opacity with JavaScript

Robert Wall bob at web-walrus.com
Thu Jun 26 12:06:22 CDT 2003


Ok, here's the deal:

I've got an image (img1.jpg, let's say).  I want to be able to change the
transparency of the image (filter:Alpha CSS property) when the user clicks
on a link.

I'm wondering what the syntax for changing the style attribute is, and any
comments as to the best way of handling it would be appreciated.

-----
Robert Wall						(715) 855-0189
Systems Administrator                                   bob at web-walrus.com
Web Walrus Media

            "Affordable internet solutions for your business"



More information about the Javascript mailing list