template/copy/script/navigation/enhancednav.js
function serializeNavState()
   {
      var checkboxMap = {};

      $('.navigation .nav-accordion-menu').find('input[type="checkbox"]').each(function()
      {
         checkboxMap[$(this).attr('name')] = $(this).is(':checked');
      });

      var navID = $('.navigation .nav-accordion-menu').data('nav-id');

      if (sessionStorage) { sessionStorage.setItem(navID + '-accordion-state', JSON.stringify(checkboxMap))}
   }
function serializeNavState()
   {
      var checkboxMap = {};

      $('.navigation .nav-accordion-menu').find('input[type="checkbox"]').each(function()
      {
         checkboxMap[$(this).attr('name')] = $(this).is(':checked');
      });

      var navID = $('.navigation .nav-accordion-menu').data('nav-id');

      if (sessionStorage) { sessionStorage.setItem(navID + '-accordion-state', JSON.stringify(checkboxMap))}
   }
function serializeNavState ( ) { var checkboxMap = { } ; $ ( '.navigation .nav-accordion-menu' ) . find ( 'input[type="checkbox"]' ) . each ( function ( ) { checkboxMap [ $ ( this ) . attr ( 'name' ) ] = $ ( this ) . is ( ':checked' ) ; } ) ; var navID = $ ( '.navigation .nav-accordion-menu' ) . data ( 'nav-id' ) ; if ( sessionStorage ) { sessionStorage . setItem ( navID + '-accordion-state' , JSON . stringify ( checkboxMap ) ) } }
Serializes to session storage the navigation menu accordion state.
Serializes to session storage the navigation menu accordion state .