jQuery - Supersleight & filter through background-image properties -
I want to apply SuperSlight for my transparent PNG pictures on my site, so far I have only images with a PNG image I apply it to src
in the attribute.
I now want to filter through all elements of a background-image
property that contains '.png'.
Can someone please suggest a question?
Thank you in advance.
Never used superllight but it should keep you on the right track.
$ ("*"). Each (function () {if ($ (this) .Css ("background") .indexOf (".png")! = -1) {$ (this). SuperSlight ();}});
Comments
Post a Comment