JQuery - onMouseOver(save current opacity, set opacity to 1.0) - onMouseOut( set opacity to saved value) - please help
Posted on 2009-02-16
Well th Q Title propably says it al - but here it goes.
On a intranet page, I append DIV's to a page from a XML file using JQuery. If a data-set meets certain criteria, the DIV is faded to 0.4.
Now I want the DIV to fade back to 1.0 when the user Hovers, but when when the user (unhover ?) the DIV should fade back to original value.
This is because not all DIV's are faded to 0.4, some to 0.75 depending on "value" - I found that this makes it alot easier to focus on the elements that need user attention.
Anyone out there willing to make a few JQuery lines for me :-)