Airheads Community (2024)

'); /*$('.global-page-hero-wrap .carousel-bg:nth-of-type(2)').fadeOut(500, function() { $(this).remove(); });*/ $('.carousel-bg').fadeIn(800,function(){ setTimeout(function(){$('.global-page-hero-wrap .carousel-bg:nth-of-type(2)').remove();},1000); }); }; var owl = $('.owl-carousel .section1'); owl.owlCarousel({ items:1, loop:true, autoplay: true, autoplayHoverPause: true, autoplaySpeed: 4000, mouseDrag: false, touchDrag: false, pullDrag: false, checkVisible: false, dots: true, center:true, margin:10, URLhashListener:true, autoplayHoverPause:true, animateOut: 'fadeOut', animateIn: 'animate__fadeIn', onInitialized: function(property){ changebg(property); }, onChanged: function(property){ changebg(property); } }); $('.global-page-hero-wrap .overflow-hidden').append('

').append('

'); } else { $('.BreadCrumb,#PageTitleH1,.community-description').appendTo('.global-page-hero-wrap .HtmlContent .inner'); $('#PageTitleH1').show(); $('.CommunityManagementGear').appendTo('#PageTitleH1'); // Format for background inline style var src = $('.solfuse-hero-image-include img').attr('src'), url = "url('" + src + "')"; $('.global-page-hero-wrap').css('background-image', url); $('.global-page-hero-wrap .overflow-hidden').append('

').append('

'); } }, navUI: function(){ var headerEl = $('#MPOuterHeader > .col-md-12'); var styleElem = document.head.appendChild(document.createElement("style")); function resizeHeaderShadow(){ var leftSpace = $(document).width() - (headerEl.offset().left + headerEl.outerWidth()); var elLength = leftSpace + $('#MPOuterHeader > .col-md-12').outerWidth(); styleElem.innerHTML = '#MPOuterHeader::before {width:'+elLength+'px;}'; } resizeHeaderShadow(); $(window).bind('resize', function(e) { resizeHeaderShadow(); }); }, getBlogImages: function(){ //get Blog images $(".solfuse-widget-blogs-grid .Content ul li").each(function () { // Grab href for each news item var self = $(this), title = $(self).find("h3"), href = $(self).find("h3 a").attr("href"); var foundIn = $(self).find('div[id*="FoundIn"]'); var communityAnchor = $(foundIn).find('a[id*="CommunityLink"]'); var imgContainer = '

'; // Ajax Call for each news item if($(self).parents('.solfuse-widget-news-announcements').length==0){ // handle image $(self).prepend(imgContainer); $.ajax({ url: href, dataType: "html", success: success }); foundIn.addClass('bg-color-'+Math.floor((Math.random() * 4) + 1)); } //add wrapping anchor $(self).wrapInner(''); function success(resp) { // Get Image for each news item if ($(resp).find('.blogs-block').length) { var img = $(resp).find('.blogs-block .col-md-12 img'); } if ($(resp).find('div[id*="DetailPanel"]').length) { var img = $(resp).find( 'div[id*="DetailPanel"] .col-md-10.col-sm-10 .col-md-12 img:first-of-type' ); } if ($(img).attr('src') !== undefined) { var src = $(img).attr("src"), // Format for background inline style url = "url('" + src + "')"; // Set each news image into respective img-containers $(self).find(".img-container").css("background-image", url).removeClass("no-image"); } // Community Url //var siteURL = 'community.arubanetworks.com'; // If community.arubanetworks.com is included in URL add normal anchor else add anchor to open content in new tab //$(self).wrapInner(''); /*if (externalLink.includes(siteURL)) { $(self).wrapInner(''); } else { $(self).wrapInner(''); $(self).find('h3 a').attr("href", externalLink); $(self).find('h3 a').attr("target", "_blank"); }*/ //$(self).find(".img-container").append('' + likes + ''); } }); }, getEventsLists: function(){ /* Events page */ var jqxhr = $.ajax({ url : 'https://www.arubanetworks.com/company/events/_airheads-events-feed/', method : 'GET', /*cache: false,*/ dataType: 'json', success: function(data){ //data = JSON.parse(data); if(data.html!==''){ //console.log(data.html); processEvents(data.html); } else { processEvents('

There was a problem querying events, please try again shortly.

'); } } }); function filterStuff() { if ($('.filter-form').length == '0' || $('.filter-data').length == '0') {return false;} var requiredFields = false; var theRequiredFields; if ($('select.filter-field.required').length) { theRequiredFields = $('select.filter-field.required'); requiredFields = true; } $('select.filter-field').on('change', function (e) { var continueFlag = true; if (requiredFields) { $.each(theRequiredFields, function () { if ($(this).val() == '') { continueFlag = false; $(this).css('border', '1px solid red'); } }); } if (!continueFlag) {return false;} if (typeof theRequiredFields != 'undefined' && theRequiredFields.length) {theRequiredFields.css('border', 'none');} loopFindMatch(); }); $('input.js-view-all').on('click', function () { $('select.filter-field').val('0').change(); $('.filter-data .filter-subject').show(); }); if (window.location.hash != '') { var thisHash = window.location.hash; thisHash = thisHash.split('#')[1]; if (thisHash == '') {return false;} var len = 1; if (thisHash.search('&') > -1) { thisHash = thisHash.split('&'); len = thisHash.length; } for (i = 0; i < len; i++) { if (typeof thisHash == 'object') { var thisSplit = thisHash[i].split('='); } else { var thisSplit = thisHash.split('='); } var thisDropDown = thisSplit[0]; var thisValue = thisSplit[1]; if (thisDropDown != 'k') { if ($('select[name="' + thisDropDown + '"]').length) { $('select[name="' + thisDropDown + '"]').val(thisValue).change(); } } } } else { if ($('.filter-form-wrap .loader').length) {$('.filter-form-wrap .loader').hide();} } } function loopFindMatch() { var filterDataEl = $('.filter-data'); $('.filter-subject',filterDataEl).not('.exclude-filter').hide(); var thisFieldName = ''; if ($('.filter-form-wrap .loader').length) {$('.filter-form-wrap .loader').show();} var newLocationURL = window.location.href + '#'; var newQueryString = ''; var dataLayerDropdownSelection = ''; $.each($('select.filter-field'), function () { var thisFieldVal = $(this).val(); if ((thisFieldVal == 0) || (thisFieldVal == '')) {return true;} thisFieldName += '[data-' + $(this).attr('name') + '~="' + thisFieldVal + '"]'; newQueryString += $(this).attr('name') + '=' + thisFieldVal + '&'; var theValText = ($('option[value="' + thisFieldVal + '"]', $(this)).text()); dataLayerDropdownSelection += $(this).attr('data-select') + '=' + theValText + '&'; }); if (thisFieldName != '') { var allMatched = $('.filter-data .filter-subject' + thisFieldName); allMatched.show(); $('input.js-view-all').show(); newQueryString = newQueryString.substring(0, newQueryString.length - 1) } else { filterReset(); newQueryString = ''; $('input.js-view-all').hide(); } if ($('.filter-form-wrap .loader').length) setTimeout(function () { $('.filter-form-wrap .loader').hide(); }, 1000); if ($('.filter-data ul li:visible').length || $('.filter-data td:visible').length) { $('p.no-results').addClass('hide'); } else { $('p.no-results').removeClass('hide'); } if (typeof window.history.pushState == 'function') { window.history.pushState(null, null, '#' + newQueryString); } else { window.location.hash = (newQueryString); } } function filterReset() { if ($('.filter-form').length == '0' || $('.filter-data').length == '0') return false; var filterDataEl = $('.filter-data'); if ($('h2.filtered-toggle-title',filterDataEl).length) { $('h2,hr',filterDataEl).show(); //$('h2.filtered-toggle-title',filterDataEl).hide(); } $('.filter-subject',filterDataEl).css('display', ''); $('ul',filterDataEl).css('height','auto'); $('.paginate-more',filterDataEl).hide(); } function processEvents(data){ var eventsMarkup = data; //console.log(eventsMarkup); //eventsMarkup = decodeURIComponent(eventsMarkup); $('.events-wrapper').html(eventsMarkup); filterStuff(); $('.events-wrapper select').wrap(""); $('.table-events .meta-data').on('click',function(e){$(this).toggleClass('expanded');}); if (window.location.hash == '') { $('select.filter-field[name="wpcf-event-categories"]').val('2').change(); } var countriesWithEvents = []; $('.filter-data tr.country-tr.filter-subject').each( function() { if ( $(this).attr('data-country') !== '') { countriesWithEvents.push($(this).attr('data-country')); } }); $('.filter-form select[name=country] option').each( function() { if ( ( $(this).attr('value') != 0) && ($.inArray( $(this).attr('value'), countriesWithEvents ) < 0) ) { $(this).remove(); } }); } }, initAccordion: function(){ if(!$('.accordion-parent').length) return false; $('.accordion-parent a.toggle-product-family').on('click',function(e){ e.preventDefault(); $(this).parent('li').toggleClass('open'); }); }, addBackground: function(){ $('[class*=bg-code]').each(function(){ $(this).addClass('bg-slice-wrapper'); var temp = $(this).attr('class'), tempArr = temp.split('bg-code-')[1].split(' ')[0].split('-'); var arr = tempArr.length; var i = 0; while (i < arr) { $(this).append('

'); //$('bg'+tempArr[i],$(this)).data('position',$(this).offset().top); i++; } }); }, scrollBackground: function(){ var bgs = $(".bg-slice-wrapper"); $(window).scroll(function() { var scroll = $(window).scrollTop(); bgs.each(function(i,el){ if ($(this).isInViewport()) { var value = ($(this).offset().top) - scroll; $(".bg-slice:nth-child(odd)",$(this)).css("transform","translateY(" + Math.floor(value/2) + "px)"); $(".bg-slice:nth-child(even),.bg-slice:only-of-type",$(this)).css("transform","translateY(" + Math.floor(value/4) + "px)"); } }); }); }, /*scrollBackground: function(){ var bgs = $(".bg-slice"); $(window).scroll(function() { var scroll = $(window).scrollTop(); bgs.each(function(i,el){ if ($(this).isInViewport()) { var value = ($(this).offset().top) - scroll; $(":nth-child(odd)",$(this)).css("transform","translateY(" + Math.floor(scroll/2) + "px)"); $(":nth-child(even),:only-of-type",$(this)).css("transform","translateY(" + Math.floor(scroll/4) + "px)"); } }); }); },*/ embedpdf: function(){ if($('.viewthread.interior').length || $('.blogviewer.interior').length) {/*var pdfObjectHtml = "";*/var indexcount = 0;$('.messageContentColumn div[id*=_AttachmetPreviewPanel_]').each(function(i){if($('a',$(this)).length){$(this).before('

');/*pdfObjectHtml = pdfObjectHtml.replace(/###pdfurl###/, $('a',$(this)).attr('href'));*//*$(this).before(pdfObjectHtml);*/PDFObject.embed($('a',$(this)).attr('href'), "#pdfembed-"+indexcount, {height: "40rem",suppressConsole:true,supportRedirect:true});indexcount++;}});} }, firstExeOperation: function(){ common.consoleLogError(); if(!$('#Welcome_NotLoggedIn').length) $('body').addClass('logged-in-user'); $('.navbar-toggle').addClass('collapsed'); mobileMenuScreen = (window.innerWidth <= 992) ? true : false; //if support KB detail page /*var hreftemp = location.href; if(hreftemp.search('support-home')>0 && hreftemp.search('knowledge-base')>0){ var supportBread = '

  1. Support
  2. Knowledge Base
  3. Article

'; //$('.nav-tabs').parents('.ContentUserControl').remove(); //$('a[id*="_backToDiscussions"]').parents('.row').remove(); //$('.HLRecentBlogs').remove(); $('body').addClass('solfuse-page-support-topic'); $('.BreadCrumb').html(supportBread); }*/ common.addBackground(); //Change Join Button to Subscribe, from HL $('.community-list a[id*=_lstCommunityList_join_]').each(function(){ $(this).text('Subscribe'); }) }, lastExeOperation: function(){ /* home page sections */ $('.solfuse-widget-popular-forums-quick-links .community-list').autoHeight(); $('.solfuse-widget-unanswered-topics ul li').autoHeight(); /* active members */ if($('.solfuse-widget-active-members').length){ $.each($('.solfuse-widget-active-members li'),function(){ $('.points-label',$(this)).appendTo($('.title-row .col-md-9',$(this))); }); } $('#MPFooterLink').remove(); common.scrollBackground(); //hof equal height if($('.solfuse-widget-amfx-members').length){ $('.solfuse-widget-amfx-members ul li .hof-content').autoHeight(); } } }; window.solfuseScripts = common; window.addEventListener('load', function() { common.firstExeOperation(); common.buildHero(); common.navUI(); common.getBlogImages(); common.initAccordion(); //common.searchToBread(); common.embedpdf(); common.lastExeOperation(); }); /* Loose scripts and plugins below */ $.fn.autoHeight = function(options) { var settings = { minHeight : false, limitHeight : false, ignore : '', padding : 0 }; if(options) { $.extend(settings, options); } var maxHeight = 0; this.not(settings.ignore).each(function() { if ($(this).height() > maxHeight) { if(settings.limitHeight && maxHeight >= settings.limitHeight) { maxHeight = settings.limitWidth; } else if(settings.minHeight && maxHeight <= settings.limitHeight) { maxHeight = settings.minHeight; } else { maxHeight = $(this).height(); } } }); this.not(settings.ignore).height(maxHeight + settings.padding); }; $.fn.isInViewport = function () { let elementTop = $(this).offset().top; let elementBottom = elementTop + $(this).outerHeight(); let viewportTop = $(window).scrollTop(); let viewportBottom = viewportTop + $(window).height(); return elementBottom > viewportTop && elementTop < viewportBottom; }; //console.log('I am here'); //})(jQuery);

Log in to ask questions, share your expertise, or stay connected to content. Don’t have a login? Join now.

Skip to main content (Press Enter).

Skip auxiliary navigation (Press Enter).

Airheads Community (1)

Airheads Community (2024)
Top Articles
How to restore an API key | Algolia
API keys
DPhil Research - List of thesis titles
Ups Dropoff Location Near Me
Craigslist Mexico Cancun
B67 Bus Time
A Fashion Lover's Guide To Copenhagen
Walgreens On Nacogdoches And O'connor
Craigslist Greenville Craigslist
Detroit Lions 50 50
Sport Clip Hours
Scholarships | New Mexico State University
2024 Non-Homestead Millage - Clarkston Community Schools
Oc Craiglsit
The Murdoch succession drama kicks off this week. Here's everything you need to know
How do you like playing as an antagonist? - Goonstation Forums
Nutrislice Menus
Craigslist Free Stuff Greensboro Nc
Overton Funeral Home Waterloo Iowa
20 Different Cat Sounds and What They Mean
Sussur Bloom locations and uses in Baldur's Gate 3
67-72 Chevy Truck Parts Craigslist
Zillow Group Stock Price | ZG Stock Quote, News, and History | Markets Insider
Slim Thug’s Wealth and Wellness: A Journey Beyond Music
Weldmotor Vehicle.com
Sofia the baddie dog
Harrison County Wv Arrests This Week
Yale College Confidential 2027
Black Lion Backpack And Glider Voucher
Blush Bootcamp Olathe
Citibank Branch Locations In Orlando Florida
Moonrise Time Tonight Near Me
Shiftwizard Login Johnston
Jr Miss Naturist Pageant
Closest 24 Hour Walmart
The Boogeyman Showtimes Near Surf Cinemas
Regis Sectional Havertys
Legit Ticket Sites - Seatgeek vs Stubhub [Fees, Customer Service, Security]
WorldAccount | Data Protection
Thelemagick Library - The New Comment to Liber AL vel Legis
Noaa Duluth Mn
Sams Gas Price Sanford Fl
Po Box 101584 Nashville Tn
Frontier Internet Outage Davenport Fl
John Wick: Kapitel 4 (2023)
Bridgeport Police Blotter Today
Espn Top 300 Non Ppr
Costner-Maloy Funeral Home Obituaries
Craiglist.nj
Uncle Pete's Wheeling Wv Menu
Latest Posts
Article information

Author: Aron Pacocha

Last Updated:

Views: 6003

Rating: 4.8 / 5 (68 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Aron Pacocha

Birthday: 1999-08-12

Address: 3808 Moen Corner, Gorczanyport, FL 67364-2074

Phone: +393457723392

Job: Retail Consultant

Hobby: Jewelry making, Cooking, Gaming, Reading, Juggling, Cabaret, Origami

Introduction: My name is Aron Pacocha, I am a happy, tasty, innocent, proud, talented, courageous, magnificent person who loves writing and wants to share my knowledge and understanding with you.