[jQuery] JQUERY SELECTOR based on image path

2007-05-03 Thread millionmonkey
Hi folks, This works - but I was wondering if there is a cleaner more jquery way to do the same thing? Perhpas there is a selector that I missed in the docs? $(function() { s = $(img).eq(0).attr(src) if (s.search(images/m)0) { $(img).eq(0).addClass(newimage) } }); tia, George

[jQuery] Re: JQUERY SELECTOR based on image path

2007-05-03 Thread millionmonkey
Thanks Aaron and Scott - that works perfectly. And Aaron, thanks for the link - I had looked at that area but didn't connect the dots. This opens up a lot for me. thanks again George On May 3, 3:01 pm, millionmonkey [EMAIL PROTECTED] wrote: Hi folks, This works - but I was wondering

[jQuery] Re: newsticker plugin updated

2007-04-29 Thread millionmonkey
Sam, thanks for the update. Just in the nick of time for me as well. Newsticker Example: http://www.levelfield.com/newsticker1.html On Apr 27, 12:06 pm, Sam Collett [EMAIL PROTECTED] wrote: I've updated my news ticker plugin with some bug fixes and added a few more examples of how to use