Sweet!

That was a nice and simple solution. It works but I realized that I'll
have to change some of the CSS... :)

Many Thanks!

Müfit

On Sep 21, 9:57 am, "Joel Birch" <[EMAIL PROTECTED]> wrote:
> I just thought of a really simple solution for this. Before
> initialising Superfish simply dynamically add one common class to the
> elements that are of any of three WordPress classes.
>
> $('document').ready(function(){
>   $('ul.sf-menu')
>   
> .find('li.current_page_item,li.current_page_parent,li.current_page_ancestor')
>     .addClass('current')
>     .end()
>   .superfish({
>     pathClass : 'current'
>   });
>
> });
>
> Joel Birch.
>
> On 18/09/2008,kiper<[EMAIL PROTECTED]> wrote:
>
>
>
> > Hi Joel!
>
> > I am just happy if I can contribute to make Superfish even better!
>
> > All the best,
>
> > Müfit
>
> > On Sep 18, 5:29 am, "Joel Birch" <[EMAIL PROTECTED]> wrote:
> >> Hi Müfit,
>
> >> Thanks for your well-articulated thoughts on this. I agree that being
> >> able to specify more that one pathClass would be very useful for
> >> WordPress generated menus. I will aim to get this in as a Superfish
> >> feature as soon as possible, although I'm snowed under with work for
> >> the next few weeks.
>
> >> Thanks again for the great feedback. I wish I could offer more immediate
> >> help.
>
> >> Joel Birch.

Reply via email to