addAttribute: In my early age of programming , i used to be very fasicinated with this method.It is used to set the attribute of any element.But when i used it i come to know that it does not work well with IE :(So better to user Jquery addClass and removeClass for adding or removing classes dynamically.
opacity:It is used to reduce the opacity of iamge,div ,input box etc.
its syntax is opacity=0.4 for mozilla and chrome.
For IE use in the range of 0 to 100. ,menas 0.40 in mozilla means 4o in IE
For IE syntax is
opacity:alpha{filter:40}
No comments:
Post a Comment