[jQuery] Re: idTabs Plugin working with class and not id

2007-09-27 Thread mockmock
Hi! Thanks for your reply! I understand your trick. But it doesn't seem to work and I don't know why. I tried to do a document.write('.'+id.substr(1)) and it returns me the right class. But all my and remain visible and nothing happens after a click. Here's my code: Content 1

[jQuery] Re: idTabs Plugin working with class and not id

2007-09-22 Thread Sean Catchpole
Hiya, You bet, try this: HTML Tab JAVASCRIPT $("#textcontent").idTabs(function(id,list,set){ $("a",set).removeClass("selected") .filter("[EMAIL PROTECTED]'"+id+"']",set).addClass("selected"); for(i in list) $(list[i]).hide(); $('.'+id.substr(1)).fadeIn(2000); return false;