[jQuery] Combination selector

2008-07-18 Thread zerowing
Hi all, I want to know if I can do a combination of selector? If want to select both class and id, how can I do that? In my css I have this (.openBloc #blc2 { ... } ) but when I wrote this in javascript $(' div.openBloc > #blc2 ') it's not working in IE6. I need to select both because I have the

[jQuery] Re: Need help with div selection

2008-07-16 Thread zerowing
I understand that but I need to call the function .ifixpgn() in #blc2, while I have to be specific about .openBloc #blc2 and closeBloc #blc2

[jQuery] Need help with div selection

2008-07-16 Thread zerowing
How can I select the #blc2? HTML Some text Some title Script $(document).ready(function(){ $('div#blc1').ifixpng(); $('.openBloc > #blc2').ifixpng(); }); CSS #blc1 { Background:URL(../img/blc-1.png) no-repeat; Display: