[jQuery] Re: improve my working code

2007-05-23 Thread Richard D. Worth
On 5/23/07, tlob [EMAIL PROTECTED] wrote: [code] $(document).ready(function(){ $(#linkDetail1).click(function(){ $(#detail1).slideToggle(slow); return false; });

[jQuery] Re: improve my working code

2007-05-23 Thread Michael Geary
I'm pretty new to jQuery and JS in general. I managed to build something. I learned a lot! THX jQuery guys. When you look into my code, could it be shorter, smarter, sharper? especially this part: [code] $(document).ready(function(){

[jQuery] Re: improve my working code

2007-05-23 Thread Scott Sauyet
tlob wrote: Hy there. I'm pretty new to jQuery and JS in general. I managed to build something. I learned a lot! THX jQuery guys. When you look into my code, could it be shorter, smarter, sharper? especially this part: [code] $(document).ready(function(){

[jQuery] Re: improve my working code

2007-05-23 Thread Jean Nascimento
How he said is the better way, i think $(.classLink).click( function(){ $(.classDetail).slideToggle(slow); return false; }); On 5/23/07, Richard D. Worth [EMAIL PROTECTED] wrote: On 5/23/07, tlob [EMAIL PROTECTED] wrote: