Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Setting Opacity with JavaScript


  • From: bob at web-walrus.com (Robert Wall)
  • Subject: [Javascript] Setting Opacity with JavaScript
  • Date: Thu Jun 26 12:07:44 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@xxxxxxxxxxxxxx
Web Walrus Media

            "Affordable internet solutions for your business"