WordPress.org

Ready to get started?Download WordPress

Forums

Advanced AJAX Page Loader
Current menu problem..... (4 posts)

  1. wiyono
    Member
    Posted 1 year ago #

    it try to use this but i can't create current menu, can someone help me?

    thank you

    Regard
    wiyono

    http://wordpress.org/extend/plugins/advanced-ajax-page-loader/

  2. Makarand Mane
    Member
    Posted 1 year ago #

    Hi wiyono

    i modified click code like this.

    // highlight the current menu item
    jQuery('ul.menu li').each(function() {
    	jQuery(this).removeClass('current-menu-item current_page_item');
    });
    jQuery('ul.menus li').each(function() {
    	jQuery(this).removeClass('current-menu-item current_page_item');
    });
    jQuery(thiss).parents('li').addClass('current-menu-item');

    check class of your menu (Class of UL )

  3. wiyono
    Member
    Posted 1 year ago #

    Hi Makarand

    Thank you, i'll try that

    Regard
    [sig moderated as per the Forum Rules]

  4. geekmat
    Member
    Posted 1 year ago #

    Makarand,

    I just wanted to thank you for this. This has helped me too! Great stuff!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags