Re: [jQuery] Some jQuery tips and tricks

2007-02-17 Thread Dmitrii 'Mamut' Dimandt
I've changed the examples and their look a bit. Also, added RSS 2.0 feed: http://dmitriid.com/jquery/en/rss.xml Dmitrii Dimandt wrote: 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

Re: [jQuery] Some jQuery tips and tricks

2007-02-16 Thread Dmitrii 'Mamut' Dimandt
for the confusion! Rick *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Dmitrii 'Mamut' Dimandt *Sent:* Thursday, February 15, 2007 3:50 AM *To:* jQuery Discussion. *Subject:* Re: [jQuery] Some jQuery tips and tricks Yes, thank you. I will change the example to include

Re: [jQuery] Some jQuery tips and tricks

2007-02-16 Thread agent2026
www.englishrules.com www.learningjquery.com -- View this message in context: http://www.nabble.com/Some-jQuery-tips-and-tricks-tf3219479.html#a9002620 Sent from the JQuery mailing list archive at Nabble.com. ___ jQuery mailing list discuss@jquery.com http

Re: [jQuery] Some jQuery tips and tricks

2007-02-16 Thread Dmitrii 'Mamut' Dimandt
I personally prefer writing $(document).ready(fn) in full because it is easier to spot agent2026 wrote: Why wouldn't you use $(fn) here instead of $(document).ready(fn)? Adam Karl Swedberg-2 wrote: $(document).ready(function() { $('#wrapper p').hide() $('#wrapper

Re: [jQuery] Some jQuery tips and tricks

2007-02-15 Thread Dmitrii 'Mamut' Dimandt
and was confused. Does that make any sense? :o) Rick *From:* [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] *On Behalf Of *Dmitrii Dimandt *Sent:* Wednesday, February 14, 2007 10:40 AM *To:* jQuery Discussion. *Subject:* Re: [jQuery] Some jQuery tips and tricks On 2/13/07, *Rick

Re: [jQuery] Some jQuery tips and tricks

2007-02-15 Thread Dmitrii 'Mamut' Dimandt
Thank you! I will incorporate those changes! Kenneth wrote: Interesting site, I was actually thinking of compiling something similar myself, but more to do with either obtuse uses of $(). However, I did notice a few things about your examples and thought I'd mention them to you. These are

Re: [jQuery] Some jQuery tips and tricks

2007-02-15 Thread Rick Faircloth
jQuery tips and tricks Yes, thank you. I will change the example to include different approaches ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] Some jQuery tips and tricks

2007-02-14 Thread R. Rajesh Jeba Anbiah
On Feb 13, 10:47 pm, Karl Swedberg [EMAIL PROTECTED] wrote: On Feb 13, 2007, at 11:22 AM, R. Rajesh Jeba Anbiah wrote: For #1, what about: $(document).ready(function() { $(#wrapper p).hide(); //hide initially $(#wrapper h2).click (function() { $(p,

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-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 Rick Faircloth
Dimandt Sent: Wednesday, February 14, 2007 10:40 AM To: jQuery Discussion. Subject: Re: [jQuery] Some jQuery tips and tricks 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

Re: [jQuery] Some jQuery tips and tricks

2007-02-14 Thread Kenneth
Interesting site, I was actually thinking of compiling something similar myself, but more to do with either obtuse uses of $(). However, I did notice a few things about your examples and thought I'd mention them to you. These are merely suggestions; I won't be offended if you ignore me :) In

[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

Re: [jQuery] Some jQuery tips and tricks

2007-02-13 Thread Rafael Santos
Just one comment, i dont like to repeat ID's =) 2007/2/13, Dmitrii Dimandt [EMAIL PROTECTED]: 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

Re: [jQuery] Some jQuery tips and tricks

2007-02-13 Thread Klaus Hartl
Dmitrii Dimandt schrieb: 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

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: ul id=wrapper li h2Title 1/h2 pBody 1/p /li li h2Title 2/h2 pBody 2/p /li li h2Title

Re: [jQuery] Some jQuery tips and tricks

2007-02-13 Thread R. Rajesh Jeba Anbiah
On Feb 13, 2:23 pm, Dmitrii Dimandt [EMAIL PROTECTED] wrote: 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/

Re: [jQuery] Some jQuery tips and tricks

2007-02-13 Thread Karl Swedberg
On Feb 13, 2007, at 11:22 AM, R. Rajesh Jeba Anbiah wrote: For #1, what about: $(document).ready(function() { $(#wrapper p).hide(); //hide initially $(#wrapper h2).click (function() { $(p, $(this).parent()).slideToggle(slow); }); }); Looks good to me.