Prototype

-

-

1)How to make html  elements look opaque or transparent

OR

How to overcome browser inconsistency in css opacity property

Element.setOpacity(element, opacity) -> [HTMLElement...]

It's example can be

1) var element = $('myelement');

where my element can be any id used or element itself
The argument should be between 0 1nd 1 where value of 0 is fully transparent
and 1 is fully opaque.
This way we can overcome cross browser inconsistencies for opacity

Leave a Reply