WordPress.org

Forums

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

  1. wiyono
    Member
    Posted 2 years 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 2 years 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 2 years ago #

    Hi Makarand

    Thank you, i'll try that

    Regard
    [sig moderated as per the Forum Rules]

  4. geekmat
    Member
    Posted 2 years 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

  • Advanced AJAX Page Loader
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags