Re: [jQuery] Some jQuery tips and tricks

2007-02-14 Thread Dmitrii Dimandt
On 2/13/07, Rick Faircloth <[EMAIL PROTECTED]> wrote: I know I'm very new to jQuery, but I thought my understanding of what was going on had been set back a few light years… :o) What exactly do you mean? :) What i like about jQuery is that you can "go with the flow" of your thoughts. If you

Re: [jQuery] Some jQuery tips and tricks

2007-02-14 Thread Dmitrii Dimandt
On 2/13/07, Karl Swedberg <[EMAIL PROTECTED]> wrote: Looks good to me. Also, instead of this... $("p", $(this).parent()).slideToggle("slow"); ...you could do this: $(this).siblings('p').slideToggle('slow'); Thank you. I completely overlooked this possibility :) _

Re: [jQuery] Some jQuery tips and tricks

2007-02-13 Thread Dmitrii Dimandt
Thank you! The example has been updated! On 2/13/07, Klaus Hartl <[EMAIL PROTECTED]> wrote: Here's more semantic markup I'd use for that: Title 1 Body 1 Title 2 Body 2 Title 3 Body 3 The good thing ab

[jQuery] Some jQuery tips and tricks

2007-02-13 Thread Dmitrii Dimandt
Hi all I've started collecting some examples I've come across while solving problems using jQuery. I guess they could be interesting to the community as a whole. These (sort of) tricks are available here: http://dmitriid.com/jquery/en/ I hope to add more examples with time. Hopefully, this wil

Re: [jQuery] How does one add children to a DOM element using jQuery?

2007-01-20 Thread Dmitrii Dimandt
Oops : I completely missed the fact that append() "appends content to the inside of every matched element.", http://visualjquery.com/ My mistake :) On 1/20/07, Jacky <[EMAIL PROTECTED]> wrote: append() can add child by html/dom object. Can u give an example? What is your response format