Pre-Conference Session: Using insight from neuroscience to improve education

‘, placeHolder = gadgetHorMenu.parents(‘.WaLayoutPlaceHolder’), placeHolderId = placeHolder && placeHolder.attr(‘data-componentId’), mobileState = false, rsStateWidth2 = 617; function resizeMenu() { var i, len, fitMenuWidth = 0, menuItemPhantomWidth = 80; // background track gadgetHorMenu.find(‘.menuBackground’).css( { ‘width’: jq$(‘body’).width(), ‘left’: ( ( jq$(‘body’).width() – gadgetHorMenu.width() ) * -0.5 ) }); firstLevelMenu.html( holderInitialMenu).removeClass(‘adapted’).css({ width: ‘auto’ }); // restore initial menu if( !gadgetHorMenuContainer.find(‘.menuButton’).size() ) { gadgetHorMenuContainer.prepend(”); gadgetHorMenuContainer.find(‘.menuButton’).on(“click”,function() { gadgetHorMenuContainer.find(‘ul.firstLevel’).toggle(); return false; }); jq$(‘body’).on(“click”,function() { if( mobileState ) gadgetHorMenuContainer.find(‘ul.firstLevel’).hide(); }); } // for state 3 if( jq$(window).width() = rsStateWidth2 ) { gadgetHorMenuContainer.find(‘ul.firstLevel’).attr(‘style’,”); mobileState = false; } if( firstLevelMenu.width() > gadgetHorMenuContainer.width() ) // if menu oversize { menuItemPhantomWidth = firstLevelMenu.addClass(‘adapted’).append( phantomElement).children(‘.phantom’).width(); for( i = 0, len = holderInitialMenu.size(); i gadgetHorMenuContainer.width() ) { outsideItems = firstLevelMenu.children(‘:gt(‘+(i-1)+’):not(.phantom)’).remove(); firstLevelMenu.find(‘.phantom > .item > ul’).append( outsideItems); break; } } gadgetHorMenu.find(‘.phantom > .item > a’).click(function(){…


Link to Full Article: Pre-Conference Session: Using insight from neuroscience to improve education