[jQuery] Re: Does a plugin like this excist allready

2009-02-26 Thread Frederik Ring
Just use "$('#id').show(speed);" and "$('#id').hide(speed);" See: http://docs.jquery.com/Effects/show#speedcallback

[jQuery] Re: Apply class to range of child elements

2009-02-26 Thread mkmanning
It's possible. Here's a more traditional way: $('a').each(function(i,link){ if(i<10){$(link).addClass('first');} else if (i>9 && i<20){$(link).addClass('second');} else if (i>19&&i<30){$(link).addClass('third');} else if (i>29&&i<40){$(l

[jQuery] Does a plugin like this excist allready

2009-02-26 Thread Armand Datema
Hi I am looking for a plugin with same functionality as http://www.bbc.co.uk/ notice the + - and when clicked it expands or contracts one. Before we start on this, is such a plugin or code allready avaiable that I missed thanks Armand

[jQuery] $('#tab1 tr:gt(0)>td').filter(':nth-child(2n+1)') select also 1st td in row - aargghh

2009-02-26 Thread ggerri
Hi guys this drives me crazy. why does this also select the first td in each a row? $('#tab1 tr:gt(0)>td').filter(':nth-child(2n+1)') Please give me a hint :-) Thanks a lot Gerald

<    1   2   3