[jQuery] Re: advanced selector question

2007-10-16 Thread tpneumat
Thanks. That looks workable. I should try to reduce the selector some. On Oct 16, 5:22 pm, Wizzud <[EMAIL PROTECTED]> wrote: > Using a filter is the only thing I could think of... > > $('*').filter(function(){ return /\.png/.test($ > (this).css('backgroundImage')); }).ifix.png(); > > Refining th

[jQuery] Re: advanced selector question

2007-10-16 Thread Wizzud
Using a filter is the only thing I could think of... $('*').filter(function(){ return /\.png/.test($ (this).css('backgroundImage')); }).ifix.png(); Refining the initial selector it would help. On Oct 16, 7:29 pm, tpneumat <[EMAIL PROTECTED]> wrote: > Was thinking something like this...which of

[jQuery] Re: advanced selector question

2007-10-16 Thread tpneumat
Was thinking something like this...which of course dosn't work. $("*[style.background-image*='.png']").ifixpng(); On Oct 16, 12:46 pm, tpneumat <[EMAIL PROTECTED]> wrote: > Hi, I am trying to implement ifixpng for all elements that have a .png > as the background image. > > Is there a way to gra