Menu
Log in
Home
Who we are
Board of Directors
Staff
Member Directory
Ethics Statement
What we do
Our Work
Accomplishments
Join us
Stay Current
News
Events
Contact Us
Resources
Remember me
Forgot password
Log in
Home
Who we are
Board of Directors
Staff
Member Directory
Ethics Statement
What we do
Our Work
Accomplishments
Join us
Stay Current
News
Events
Contact Us
Resources
', placeHolder = gadgetHorMenu.parents('.WaLayoutPlaceHolder'), placeHolderId = placeHolder && placeHolder.attr('data-componentId'), mobileState = false, isTouchSupported = !!(('ontouchstart' in window) || (window.DocumentTouch && document instanceof DocumentTouch) || (navigator.msPointerEnabled && navigator.msMaxTouchPoints)); function resizeMenu() { var i, len, fitMenuWidth = 0, menuItemPhantomWidth = 80; firstLevelMenu.html( holderInitialMenu).removeClass('adapted').css({ width: 'auto' }); // restore initial menu if( firstLevelMenu.width() > gadgetHorMenuContainer.width() ) // if menu oversize { menuItemPhantomWidth = firstLevelMenu.addClass('adapted').append( phantomElement).children('.phantom').width(); for( i = 0, len = holderInitialMenu.size(); i <= len; i++ ) { fitMenuWidth += jq$( holderInitialMenu.get(i) ).width(); if( fitMenuWidth + menuItemPhantomWidth > gadgetHorMenuContainer.width() ) { outsideItems = firstLevelMenu.children(':gt('+(i-1)+'):not(.phantom)').remove(); firstLevelMenu.find('.phantom > .item > ul').append( outsideItems); gadgetHorMenuContainer.css('overflow','visible'); break; } } gadgetHorMenu.find('.phantom > .item > a').click(function(){ return false; }); } disableFirstTouch(); firstLevelMenu.css( 'width', '' ); // restore initial menu width firstLevelMenu.children().removeClass('last-child').eq(-1).addClass('last-child'); // add last-child mark } jq$(window).resize(function() { resizeMenu(); }); function onLayoutColumnResized(sender, args) { args = args || {}; if (placeHolderId && (placeHolderId == args.leftColPlaceHolderId || placeHolderId == args.rightColPlaceHolderId)) { resizeMenu(); } } BonaPage.addPageStateHandler(BonaPage.PAGE_PARSED, function() { WA.Gadgets.LayoutColumnResized.addHandler(onLayoutColumnResized); }); BonaPage.addPageStateHandler(BonaPage.PAGE_UNLOADED, function() { WA.Gadgets.LayoutColumnResized.removeHandler(onLayoutColumnResized); }); function disableFirstTouch() { if (!isTouchSupported) return; jq$('#id_4hd6lD7').find('.menuInner li.dir > .item > a').on( 'click', function(event) { if( !this.touchCounter ) this.touchCounter = 0; if( this.touchCounter >= 1 ) { this.touchCounter = 0; return true; } this.touchCounter++; if (!mobileState) { WA.stopEventDefault(event); } }); jq$('#id_4hd6lD7').find('.menuInner li.dir > .item > a').on( 'mouseout', function(event) { if( !this.touchCounter ) this.touchCounter = 0; this.touchCounter = 0; }); } disableFirstTouch(); });
UPCOMING EVENTS
America/Denver
REIA-NM December Board Meeting
10 Dec 2024 3:30 PM
Online
NEWS
SEIA's 2024 Solar Means Business Report
20 Nov 2024 11:45 AM
Anonymous
NREL's Community Power Accelerator Prize Series
25 Oct 2024 10:34 AM
Anonymous
NM PRC's Annual Powering New Mexico Seminar
18 Oct 2024 12:01 PM
Anonymous
REIA-NM PO Box 27179, Albuquerque, NM 87125
[email protected]
Subscribe to Our Newsletter
Powered by
Wild Apricot
Membership Software