[jQuery] Re: Does anyone know what $('div.myclass img[src$=png]').click(function(){ $(this).parents('div.myclass').hide('slow'); }) does?

2008-09-05 Thread Karl Swedberg
His name is gas giant too? oh, you said *almost* exactly the same. glass giant? sag giant? gas gnat? sorry. Friday afternoon here. :-p --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Sep 5, 2008, at 4:03 PM, GasGiant wrote: Gee, I wonder if I would get

[jQuery] Re: Does anyone know what $('div.myclass img[src$=png]').click(function(){ $(this).parents('div.myclass').hide('slow'); }) does?

2008-09-05 Thread GasGiant
Gee, I wonder if I would get any special consideration because my name is almost exactly the same as his? :-p

[jQuery] Re: Does anyone know what $('div.myclass img[src$=png]').click(function(){ $(this).parents('div.myclass').hide('slow'); }) does?

2008-09-05 Thread Michael Geary
Naturally, you wouldn't put it all on one line like that. The code probably looks more like: > $('div.myclass img[src$=png]').click(function(){ > $(this).parents('div.myclass').hide('slow'); > }); The first thing I'd ask is why you're doing the .hide('slow'). Sometimes people use that and .s

[jQuery] Re: Does anyone know what $('div.myclass img[src$=png]').click(function(){ $(this).parents('div.myclass').hide('slow'); }) does?

2008-09-05 Thread [EMAIL PROTECTED]
I'm a little new at this... but fade out of div of .myclass on click of any png in a div of .myclass? had to take a shot :) jeremyBass On Sep 5, 8:49 am, Syn-UX <[EMAIL PROTECTED]> wrote: > If you can, then I would shamelessly ask you to go to right > wayhttp://www.synacor.com/jobsand discover

[jQuery] Re: Does anyone know what $('div.myclass img[src$=png]').click(function(){ $(this).parents('div.myclass').hide('slow'); }) does?

2008-09-05 Thread Ca-Phun Ung
I know!!! That is too simple for a top jQuery hacker. I think you'd find most people in this list knows the answer too! Tempted to give the answer but don't want to spoil it for others :P