AAPL Click Codes

The click codes below care useful for running any jquery that would normally be handled as the page loaded, such as changing the selected menu item in the menu bar of your site.

Suffusion Menu Changer

The following code works with the Suffusion Theme, and will change the selected menu item just like it would if you didnt use AJAX:

//menu item changer if your using "Suffusion" theme
jQuery('ul.sf-menu li').each(function() {
}); jQuery(thiss).parents('li').addClass('current_page_item');
jQuery('li.current_page_item a').addClass('current');