Beal City Public Schools - Middle School/High School Announcements - 4/19/24 (2024)

Main Navigation

').appendTo(settings.scope), scopeVal = scopeTest.height(); scopeTest.remove(); return (that / scopeVal).toFixed(8); }; function moveMegaMenu($el, winWidth) { var to = $el.offset(), bottom = to.top + $el.height(), $menu = $el.find('> .dropdown-menu'), mo = $menu.offset(), diff = 0; // If the menu has already been moved, leave if (mo.top == bottom) return false; // Reset the top margin before calculating because breakpoints may have changed menu positions $menu.css('margin-top', ''); mo = $menu.offset(); diff = bottom - mo.top; // Use the top margin of the dropdown menu to "move" it to just below the parent menu $menu.css('margin-top', diff); } function adjustMegaMenuHeight($this) { // A "data" attribute will exist if we've already made this adjustment - if so, leave if ($this.attr('data-height')) return false; // Should the "extra" content use the entire column or share it with the rest of the nav items? var extraShareColumn = false; // Min height for the mega menu in ems var minHeight = 13; // Cache some DOM finds that are used more than once... var $megaMenuExtraContent = $this.find('.mega-menu-extra-content'), $megaMenuExtra = $this.find('.mega-menu-extra'), $megaMenu = $this.find('> .dropdown-menu'); // Will be changed to true if there is "extra" content in the mega menu var extraColumn = false; // Height of the extra column var extraHeight = 0; // How many

    tags are in the mega menu at the 2nd level? // They have a bottom margin (.5em) so they need to be included in the height calculation var ulCount = $this.find('> ul > .dropdown-submenu > ul:visible').length; // How many VISIBLE sections are in the mega menu - all levels var liCount = $this.find('li:visible').length; // Loop through all of the
  • tags and build a total var totalLiHeight = 0, liHeight = 0; $this.find('li:visible').each(function() { liHeight = $(this).find('> a:not(.hidden-sm)').outerHeight(); // IE sometimes returns the wrong height...so reset to a single line at the largest font if (liHeight > 100) liHeight = 27; totalLiHeight += liHeight; }); // If the "extra" content

    is NOT empty, there's an extra column if ( ! $megaMenuExtraContent.is(':empty')) { extraColumn = true; var megaMenuExtraWidth = $megaMenuExtra.outerWidth(true); // Clone the extra content and append it to the body - visible, but off screen so that we can get a RELIABLE height $megaMenuExtra.clone().css({ 'position': 'absolute', 'left': '-99999em', 'width': megaMenuExtraWidth }).appendTo('body'); extraHeight = $('body > .mega-menu-extra').outerHeight(true); // Firefox reporting height 20px shorter than Chrome or IE extraHeight += 20; // Once we have the height, remove the clone $('body > .mega-menu-extra').remove(); // If the "extra" content is sharing the column, add it's height to the

  • total height if (extraShareColumn) totalLiHeight += extraHeight; } // Convert the
  • total height from pixels to ems var calcHeight = $(totalLiHeight).toEm(); // Add the bottom margins for the
      tags to the total calcHeight = parseFloat(calcHeight) + (ulCount / 2); if ( ! extraColumn) { // If the "extra" content is empty, divide by the default 4.25 columns calcHeight /= 4.25; } else { // The "extra" content is NOT empty... // If it's NOT sharing the column, divide by one less column (5 column display - 4.25 "safe" number) if ( ! extraShareColumn) { calcHeight /= 3.25; } else { calcHeight /= 4.25; } } // Convert the extra content height to ems if (extraColumn) extraHeight = parseFloat($(extraHeight).toEm()); var megaMenuHeight = 0; if (calcHeight > minHeight) { megaMenuHeight = calcHeight; } else { megaMenuHeight = minHeight; } if (extraHeight > (megaMenuHeight - 1)) { $megaMenu.css('height', (extraHeight + 1) + 'em'); $megaMenuExtra.css('height', extraHeight + 'em'); // Write the height as a "data" attribute, so we don't do this adjustment more than once $this.attr('data-height', extraHeight); } else { $megaMenu.css('height', megaMenuHeight + 'em'); $this.attr('data-height', megaMenuHeight); if (calcHeight < minHeight || ! extraShareColumn) { $megaMenuExtra.css('height', (megaMenuHeight - 1) + 'em'); } else { if (extraShareColumn) $megaMenuExtraContent.addClass('mega-menu-extra-share'); } } } function addSeeMoreLinks($ul, seeMoreNumber) { // Hide
    • tags beyond the "seeMoreNumber" $ul.find('> li:nth-child(n+ ' + (seeMoreNumber + 1) + ')').addClass('hidden-lg'); // Add "See more..." links to those
        tags where the
      • count has exceeded the "seeMoreNumber". // Those
          tags will have
        • tags with the "hidden-lg" class as a result of the nth-child code above. $ul.each(function() { var $this = $(this); if ($this.find('> li.hidden-lg').length) { // Grab the href from the parent link and use that for the "See more..." link var smhref = $this.prev('a').prop('href'); // Insert it before the first hidden
        • tag $this.find('> li.hidden-lg:first').before('
        • See more...
        • '); } }); } function getSeeMoreTotals($ul, liCount) { var total = 0; if ( ! liCount) return total; if ($ul.length === 1) { total = (liCount > seeMoreNumber) ? seeMoreNumber : liCount; } else { $ul.each(function() { var cnt = $(this).find('> li:visible').length; total += (cnt > seeMoreNumber) ? seeMoreNumber : cnt; }); } return total; } function fillMegaMenu($this) { // Only want to do this if the config entry > 0 if (megaMenuMin <= 0) return false; // Only want to do this work once per top-level menu, so if it has already been "filled", leave if ($this.hasClass('socs-mm-filled')) return false; $this.addClass('socs-mm-filled'); // Get the number of visible
        • and
            tags at each level within the mega menu var liLevel1 = $this.find('> .dropdown-menu > li:visible').length, liLevel2 = $this.find('> ul > .dropdown-submenu > ul > li:visible').length, liLevel3 = $this.find('> ul ul ul li:visible').length, $ulLevel2 = $this.find('> ul > .dropdown-submenu > ul:visible'), $ulLevel3 = $this.find('> ul ul ul:visible'); // How many visible items are in the mega menu - all levels// var liTotal = $this.find('li:visible').length; var liTotal = liLevel1 + liLevel2 + liLevel3;/*console.log('-------------------------------');console.log('liLevel1 = ' + liLevel1);console.log('liLevel2 = ' + liLevel2);console.log('liLevel3 = ' + liLevel3);console.log('liTotal = ' + liTotal);console.log('ulLevel2 = ' + $ulLevel2.length);console.log('ulLevel3 = ' + $ulLevel3.length);*/ // Short-circuit if ALL of the items will fit or there aren't any 2nd level items if (liTotal <= megaMenuMax || liLevel2 === 0) return false; // 1st level items >= the min - hide 2nd and 3rd level items and leave if (liLevel1 >= megaMenuMin) { $this.find('> ul ul').addClass('socs-mm-hide'); return false; } // The "seeMoreNumber" may limit the number of
          • tags that are visible within each
              at the 2nd and 3rd levels // Total
            • tags at 2nd and 3rd level AFTER the "seeMoreNumber" limit has been applied on each
                var liLevel2SeeMore = getSeeMoreTotals($ulLevel2, liLevel2); var liLevel3SeeMore = getSeeMoreTotals($ulLevel3, liLevel3);/*console.log('liLevel2SeeMore = ' + liLevel2SeeMore);console.log('liLevel3SeeMore = ' + liLevel3SeeMore);console.log('fillMegaMenu - doing the work');*/ var showAllLevel2 = ((liLevel1 + liLevel2) <= megaMenuMax) ? true : false; var showReducedLevel2 = ((liLevel1 + liLevel2SeeMore) <= megaMenuMax) ? true : false; // If 2nd level won't fit under the max (all or reduced) - hide 2nd and 3rd level items and leave if ( ! showReducedLevel2) { $this.find('> ul ul').addClass('socs-mm-hide'); return false; } // If all 2nd level won't fit but the reduced 2nd level will... if ( ! showAllLevel2 && showReducedLevel2) addSeeMoreLinks($ulLevel2, seeMoreNumber); // Are there any 3rd level items? if (liLevel3) { // Which 2nd level number was used? Use it for 3rd level calculations var liLevel2Used = liLevel2SeeMore; if (showAllLevel2) liLevel2Used = liLevel2; var showAllLevel3 = ((liLevel1 + liLevel2Used + liLevel3) <= megaMenuMax) ? true : false; var showReducedLevel3 = ((liLevel1 + liLevel2Used + liLevel3SeeMore) <= megaMenuMax) ? true : false; // If 3rd level won't fit under the max (all or reduced) - hide 3rd level items and leave if ( ! showReducedLevel3) { $ulLevel3.addClass('socs-mm-hide'); return false; } // If all 3rd level won't fit but the reduced 3rd level will... if ( ! showAllLevel3 && showReducedLevel3) addSeeMoreLinks($ulLevel3, seeMoreNumber); } } function clearMenus() { // Remove the "open/show" classes from all dropdowns and reset all aria attributes $('#navbar .open').removeClass('open'); $('#navbar .show').removeClass('show'); $('#navbar [aria-expanded]').attr('aria-expanded', 'false'); } var megaMenuMin = parseInt($('#megaMenuMin').val() || 0), megaMenuMax = parseInt($('#megaMenuMax').val() || 0), seeMoreNumber = parseInt($('#seeMoreNumber').val() || 999);/*console.log('megaMenuMin = ' + megaMenuMin);console.log('megaMenuMax = ' + megaMenuMax);console.log('seeMoreNumber = ' + seeMoreNumber);*/ // Some mega menu work needs to be done each time it's displayed. $('.socs-mm-fw').on('mouseenter', function (e) { var $this = $(this), winWidth = window.innerWidth || document.documentElement.clientWidth || document.body.clientWidth; // Only want to do the following in the "lg" breakpoint (min-width: 1200px); if (winWidth < 1200) { // If NOT in the "lg" breakpoint, reset the top margin and height, then leave $this.find('> .dropdown-menu').css({ 'margin-top': '', 'height': '' }); return false; } // Hide the mega menu "extra column" if empty if ($this.find('.mega-menu-extra-content').is(':empty')) $this.find('.mega-menu-extra').addClass('hidden'); // A navbar that spans multiple rows causes problems for the mega menu moveMegaMenu($this, winWidth); fillMegaMenu($this); // Adjust the height of the mega menu based on the content to be displayed in it. adjustMegaMenuHeight($this); }); // Homemade support for multi-level dropdown menus - https://stackoverflow.com/questions/44467377/bootstrap-4-multilevel-dropdown-inside-navigation $('#navbar').on('click', '.submenu-toggle', function(e) { var $this = $(this), $dropdownMenu = $this.parent().find('> .dropdown-menu'); if ($dropdownMenu.hasClass('show')) { $this.closest('.dropdown-submenu').removeClass('show').find('> a[aria-expanded]').attr('aria-expanded', 'false'); $dropdownMenu.removeClass('show'); } else { // Close any open submenus outside of this parent before opening $this.parents('.dropdown-menu').first().find('.show').removeClass('show').children('a[aria-expanded]').attr('aria-expanded', 'false'); $this.closest('.dropdown-submenu').addClass('show'); $this.attr('aria-expanded', 'true'); $dropdownMenu.addClass('show'); } return false; }); $('#navbar').on('hidden.bs.dropdown', function(e) { // Close submenus when the parent dropdown closes $(e.target).find('.show').removeClass('show').children('a[aria-expanded]').attr('aria-expanded', 'false'); }); // Keyboard activity ------------------------------------------------------ // Close any previously opened dropdown menus as the user tabs to a new 1st-level navbar item $('#navbar').on('focus', '.nav > li > a', function(e) { if ( ! $(this).parent().hasClass('open')) clearMenus(); }); // Close any previously opened dropdown menu as the user tabs to a new 2nd-level+ item $('#navbar').on('focus', '.dropdown-menu > li > a', function(e) { if ( ! $(this).parent().hasClass('show')) { $(this).closest('.dropdown-menu').find('.show').removeClass('show').children('a[aria-expanded]').attr('aria-expanded', 'false'); } });})(jQuery);

Working...

Beal City Public Schools - Middle School/High School Announcements - 4/19/24 (2)

Middle School/High School Announcements - 4/19/24

HAPPY BIRTHDAY TO CONNOR TILMANN! WE HOPE YOU HAVE A GREAT DAY, CONNOR!

TODAY IN SPORTS:

2:00 - Varsity Track & Field - Away at Ithaca - Blue & Gold Invite - Bus departs at 12:30 - Students dismissed at 12:20

The softball team lost two hard fought games to Clare last night. They lost game one 0-1. Eva Lynch and Hailey Hulliberger were both 1 for 3. Macy Johnston took the loss in the circle. They lost game two 10-11 in 9 innings. Dakota Dodak had 2 RBI’s and Macy and Eva each added 2 hits. Emma Block went 3 for 4 with her first high school home run. Dakota was the losing pitcher in the game.

The varsity baseball team fell to Clare last night, 6-1. Lane Gross (0-1) took the loss in 5 innings with 6 hits, 4 runs, 3 earned and 4 strikeouts. Jack Fussman had a double and an RBI. Blake Walcutt added a double and Bennett Gilde added a hit on the night. The Aggies are now 2-4 on the season. Next up is Sacred Heart on Monday at home. Start time is 4:00.

Next Friday, April 26th is “Drive your tractor to school day”! If you are of legal age and have access to a tractor, you are allowed to drive it to school on the 26th. Please park in the south west area of the parking lot.

Seniors: Please get your baby picture, senior picture and plans for after school to Dylan Elias or Mr. Hoeberling ASAP!

Seniors: You can now pick up your cap and gown from Diane in the office! Stop in before school, during passing time or at lunch. Please take your gown out of the bag to make sure it is the right size. If there are any issues with the cap or gown, please let Mrs. Millerov know ASAP.

The Spanish club is reducing the price of their awesome bracelets to $5! See Senora if you are interested!

Seniors: There is a special promotion happening now regarding your FASFA. If you complete your FASFA before May 1st, and show Mrs. Millerov your confirmation email, you will be treated to Olive Garden for lunch on May 2nd! See Mrs. Millerov with any questions.

Permission slips for the 7th grade field trip to the tech center are due to Mrs. Vessel TODAY!

Prom tickets are on sale now. Please see Mrs. Vessel to purchase your ticket. Cost is $25 per person. Prom will be held May 4th from 7:00 - 10:00 p.m. at the Little Flower Barn in Lake Isabella. If you plan to bring a guest from another school (or an underclassmen), please see Diane in the office for a guest pass. Passes are due Friday, April 26th.

Lunch today: Corn dog nuggets.

View More Headlines

More Headlines

Elementary Announcements for 4/19/2024

Middle School/High School Announcements - 4/18/24

Beal City Public Schools - Middle School/High School Announcements - 4/19/24 (2024)
Top Articles
Latest Posts
Article information

Author: Laurine Ryan

Last Updated:

Views: 6012

Rating: 4.7 / 5 (57 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Laurine Ryan

Birthday: 1994-12-23

Address: Suite 751 871 Lissette Throughway, West Kittie, NH 41603

Phone: +2366831109631

Job: Sales Producer

Hobby: Creative writing, Motor sports, Do it yourself, Skateboarding, Coffee roasting, Calligraphy, Stand-up comedy

Introduction: My name is Laurine Ryan, I am a adorable, fair, graceful, spotless, gorgeous, homely, cooperative person who loves writing and wants to share my knowledge and understanding with you.