Latest News Archives - Mon Valley Independent (2024)

    • News
    • Sports
      • High school
      • Local/Youth
      • Sports Columns
      • Cal (Pa.)
      • Pittsburgh
      • NFL
      • NCAA
      • MLB
      • NHL
      • NBA
      • Olympics
      • Other Sports
    • Obituaries
    • Photos
    • Classifieds/Public Notices
      • ANNIVERSARY/MEMORIAM Form
      • BIRTHDAY MEMORIAM
      • ESTATE NOTICE
      • NAME CHANGE NOTICE
      • FICTITIOUS NAME NOTICE
      • INCORPORATION NOTICE
    • GO Local 365
    • Contact Us
    • News
      • Around The Valley
      • Features
      • Politics
      • Food
      • Business
      • Everyday Living
      • World News
      • Entertainment Calendar
      • special-section
    • Sports
      • High school
      • Local/Youth
      • Sports Columns
      • Cal (Pa.)
      • Pittsburgh
      • NFL
      • NCAA
      • MLB
      • NHL
      • NBA
      • Olympics
      • Other Sports
    • Obituaries
    • Photos
    • Classifieds/Public Notices
      • ANNIVERSARY/MEMORIAM Form
      • BIRTHDAY MEMORIAM
      • ESTATE NOTICE
      • NAME CHANGE NOTICE
      • FICTITIOUS NAME NOTICE
      • INCORPORATION NOTICE
    • GO Local 365
    • Contact Us

Latest News Archives - Mon Valley Independent (3)

Latest News, Main

Painting project in California

By&nbspStacy Wolford&nbsp

May 21, 2024

Jeff Helsel / Mon Valley Independent PennWest California student Madeline Curtis painted a sign for the Alpha Kappa Lambda fraternity Monday afternoon on a brick wall along Wood Street in California. ...

Latest News Archives - Mon Valley Independent (4)

Latest News, Main

Two-day festival to open Rockin’ on the Mon

By&nbspMICHAEL RICHTER, mrichter@yourmvi.com&nbsp

May 21, 2024

The summer concert series at the Aquatorium will continue through the end of August. The weather’s warmer, school’s almost out and the smell of freshcut grass permeates the air — signs that it’s almos...

Latest News Archives - Mon Valley Independent (6)

Latest News, Main

Taxes hold steady in new BVA budget

By&nbspSARAH PELLIS&nbsp

May 21, 2024

The 2024-25 spending document was passed unanimously at Monday’s school board meeting. The Belle Vernon Area school board approved the district’s 2024-25 budget Monday in a 9-0 vote. Chief Financial O...

').appendTo('.footer:first'); $('

').appendTo('.footer .overlay'); $('.footer .overlay').css({ 'position': 'fixed', 'display': 'flex', 'inset': '0px', 'background': 'rgba(0, 0, 0, 0.5)', 'z-index': '9999', 'align-items': 'center', 'justify-content': 'center', 'height': '100vh', 'width': '100vw' }); $('.footer .overlay .iframe-wrapper').css({ 'position': 'relative', 'overflow': 'hidden', }); if ($(window).width() <= 1000 && $(window).width() < $(window).height()) { $('.footer .overlay .iframe-wrapper').css({ 'width': '80%', 'padding-top': '50%' }); } else { $('.footer .overlay .iframe-wrapper').css({ 'width': '50%', 'padding-top': '30%' }); } var video_href = $(this).attr('ta_videolink'); $('

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper iframe').css({ 'background': 'rgb(255, 255, 255)', 'box-shadow': 'black 0px 0px 10px 0px', 'position': 'absolute', 'inset': '0px', 'width': '100%', 'height': '100%', 'padding': '20px' }); $('

×

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper .overlay_close').css({ 'position': 'absolute', 'top': '0', 'right': '0', 'z-index': '999', 'font-size': '24px', 'cursor': 'pointer', 'text-align': 'center', 'display': 'flex', 'align-items': 'center', 'justify-content': 'center', 'height': '24px', 'width': '24px', 'color': 'black', 'font-weight': '700', 'transition': '0.3s ease', 'opacity': '0.5', }); $('.footer .overlay .iframe-wrapper .overlay_close').hover(function() { $(this).css({ 'opacity': '1', }); }, function() { $(this).css({ 'opacity': '0.5', }); }); $('.footer .overlay').show(); $(document).mouseup("click", function(e){ var container = $(".overlay iframe"); if(!container.is(e.target) && container.has(e.target).length === 0){ $('.footer .overlay iframe').remove(); $('.footer .overlay .overlay_close').remove(); $('.footer .overlay style').remove(); $('.footer .overlay').remove(); } }); } });}function posts_slot_15_tablet_style(){ (function($) { if($("body")[0].className.match(/main_tmpl/)!=null){ post_slot = $("#posts_slot-15")[0]; tablet_style_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--tablet-style-js.+?\;/)[0]; tablet_style_value = tablet_style_value.replace(/\s/g,""); tablet_style_value = tablet_style_value.replace(/^.+?\:/g,""); tablet_style_value = tablet_style_value.replace(/\;/g,""); if (tablet_style_value != null){ if (tablet_style_value == "pc"){ // To do nothing } else if (tablet_style_value == "mobile"){ variable_pc_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/min-width.+?\;/)[0]; variable_pc_value = variable_pc_value.replace(/\s/g,""); variable_pc_value = variable_pc_value.replace(/^.+?\:/g,""); variable_pc_value = variable_pc_value.replace(/\).*/,""); pc_value = post_slot.querySelector("[pc]").innerHTML.match(/min-width.+?\;/)[0]; pc_value = pc_value.replace(/\s/g,""); pc_value = pc_value.replace(/^.+?\:/g,""); pc_value = pc_value.replace(/\).*/,""); style_default_pc_value = post_slot.querySelectorAll("[style_default]")[0].innerHTML.match(/min-width.+?\;/)[0]; style_default_pc_value = style_default_pc_value.replace(/\s/g,""); style_default_pc_value = style_default_pc_value.replace(/^.+?\:/g,""); style_default_pc_value = style_default_pc_value.replace(/\).*/,""); variable_mobile_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/max-width.+?\;/)[0]; variable_mobile_value = variable_mobile_value.replace(/\s/g,""); variable_mobile_value = variable_mobile_value.replace(/^.+?\:/g,""); variable_mobile_value = variable_mobile_value.replace(/\).*/,""); mobile_value = post_slot.querySelector("[mobile]").innerHTML.match(/max-width.+?\;/)[0]; mobile_value = mobile_value.replace(/\s/g,""); mobile_value = mobile_value.replace(/^.+?\:/g,""); mobile_value = mobile_value.replace(/\).*/,""); style_default_mobile_value = post_slot.querySelectorAll("[style_default]")[1].innerHTML.match(/max-width.+?\;/)[0]; style_default_mobile_value = style_default_mobile_value.replace(/\s/g,""); style_default_mobile_value = style_default_mobile_value.replace(/^.+?\:/g,""); style_default_mobile_value = style_default_mobile_value.replace(/\).*/,""); post_slot.querySelectorAll("[variable-pc]")[0].innerHTML = post_slot.querySelectorAll("[variable-pc]")[0].innerHTML.replace(variable_pc_value, "900px"); post_slot.querySelectorAll("[pc]")[0].innerHTML = post_slot.querySelectorAll("[pc]")[0].innerHTML.replace(pc_value, "900px"); post_slot.querySelectorAll("[style_default]")[0].innerHTML = post_slot.querySelectorAll("[style_default]")[0].innerHTML.replace(style_default_pc_value, "900px"); post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML = post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML.replace(variable_mobile_value, "899px"); post_slot.querySelectorAll("[mobile]")[0].innerHTML = post_slot.querySelectorAll("[mobile]")[0].innerHTML.replace(mobile_value, "899px"); post_slot.querySelectorAll("[style_default]")[1].innerHTML = post_slot.querySelectorAll("[style_default]")[1].innerHTML.replace(style_default_mobile_value, "899px"); } } } })(jQuery);}function posts_slot_15_category_position(){ //if the page is using body main_tmpl (and not fallback) if(jQuery("body")[0].className.match(/main_tmpl/)!=null){ post_slot = jQuery("#posts_slot-15")[0]; if(window.innerWidth<600){ category_position_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--category-position-js.+?\;/)[0]; } else{ category_position_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--category-position-js.+?\;/)[0]; } category_position_value = category_position_value.replace(/\s/g,""); category_position_value = category_position_value.replace(/^.+?\:/g,""); category_position_value = category_position_value.replace(/\;/g,""); if(category_position_value=="follow-order-content"){ } else if(category_position_value=="onimage-bottom-right"){ articles = post_slot.querySelectorAll('article'); for(i=0;i

div"); myquery[0].style.height=""; myquery[0].children[0].style.height=""; myquery[0].children[0].style.display=""; myquery[0].children[0].style.flexDirection = ""; //myquery[0].children[0].style.alignItems = "center"; //post_slot.parentElement.style.alignItems="stretch"; //CHANGE STYLE post_slot.parentElement.parentElement.parentElement.style.alignItems="stretch"; if(getComputedStyle(post_slot.parentElement.parentElement)['display'] != 'none'){ post_slot.parentElement.parentElement.style.display="flex"; } post_slot.parentElement.parentElement.style.flexDirection = "column"; //post_slot.parentElement.parentElement.style.alignItems = "center"; post_slot.parentElement.style.height="100%"; post_slot.style.height="100%"; myquery=jQuery("#posts_slot-15 > div"); myquery[0].style.height="100%"; myquery[0].children[0].style.height="100%"; myquery[0].children[0].style.display="flex"; myquery[0].children[0].style.flexDirection = "column"; //myquery[0].children[0].style.alignItems = "center"; articles = post_slot.querySelectorAll('article'); for(i=0;i= 600){ article_clickable = post_slot.querySelector("[variable-pc]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } else { article_clickable = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } if (article_clickable == "active"){ for(i=0;i titleandbody_height){ document.getElementById(id).getElementsByClassName("body")[0].style.display="none"; title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("title")[0],null).height); titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("titleandbody")[0],null).height); article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height); } new_article_height=article_height+(title_height-titleandbody_height); new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height); if(title_height > titleandbody_height){ document.getElementById(id).getElementsByClassName("titleandbody")[0].style.height=new_titleandbody_height + "px"; document.getElementById(id).getElementsByClassName("titleandbody")[0].style.maxHeight=new_titleandbody_height + "px"; } } } } } return true;}function posts_slot_15_fit_body(){ if (typeof document.getElementById("posts_slot-15").getElementsByClassName("template_2086_homepage_single_adula_3") !== 'undefined') { for(k=0;(k

').appendTo('.footer:first'); $('

').appendTo('.footer .overlay'); $('.footer .overlay').css({ 'position': 'fixed', 'display': 'flex', 'inset': '0px', 'background': 'rgba(0, 0, 0, 0.5)', 'z-index': '9999', 'align-items': 'center', 'justify-content': 'center', 'height': '100vh', 'width': '100vw' }); $('.footer .overlay .iframe-wrapper').css({ 'position': 'relative', 'overflow': 'hidden', }); if ($(window).width() <= 1000 && $(window).width() < $(window).height()) { $('.footer .overlay .iframe-wrapper').css({ 'width': '80%', 'padding-top': '50%' }); } else { $('.footer .overlay .iframe-wrapper').css({ 'width': '50%', 'padding-top': '30%' }); } var video_href = $(this).attr('ta_videolink'); $('

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper iframe').css({ 'background': 'rgb(255, 255, 255)', 'box-shadow': 'black 0px 0px 10px 0px', 'position': 'absolute', 'inset': '0px', 'width': '100%', 'height': '100%', 'padding': '20px' }); $('

×

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper .overlay_close').css({ 'position': 'absolute', 'top': '0', 'right': '0', 'z-index': '999', 'font-size': '24px', 'cursor': 'pointer', 'text-align': 'center', 'display': 'flex', 'align-items': 'center', 'justify-content': 'center', 'height': '24px', 'width': '24px', 'color': 'black', 'font-weight': '700', 'transition': '0.3s ease', 'opacity': '0.5', }); $('.footer .overlay .iframe-wrapper .overlay_close').hover(function() { $(this).css({ 'opacity': '1', }); }, function() { $(this).css({ 'opacity': '0.5', }); }); $('.footer .overlay').show(); $(document).mouseup("click", function(e){ var container = $(".overlay iframe"); if(!container.is(e.target) && container.has(e.target).length === 0){ $('.footer .overlay iframe').remove(); $('.footer .overlay .overlay_close').remove(); $('.footer .overlay style').remove(); $('.footer .overlay').remove(); } }); } });}function posts_slot_15_tablet_style(){ (function($) { if($("body")[0].className.match(/main_tmpl/)!=null){ post_slot = $("#posts_slot-15")[0]; tablet_style_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--tablet-style-js.+?\;/)[0]; tablet_style_value = tablet_style_value.replace(/\s/g,""); tablet_style_value = tablet_style_value.replace(/^.+?\:/g,""); tablet_style_value = tablet_style_value.replace(/\;/g,""); if (tablet_style_value != null){ if (tablet_style_value == "pc"){ // To do nothing } else if (tablet_style_value == "mobile"){ variable_pc_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/min-width.+?\;/)[0]; variable_pc_value = variable_pc_value.replace(/\s/g,""); variable_pc_value = variable_pc_value.replace(/^.+?\:/g,""); variable_pc_value = variable_pc_value.replace(/\).*/,""); pc_value = post_slot.querySelector("[pc]").innerHTML.match(/min-width.+?\;/)[0]; pc_value = pc_value.replace(/\s/g,""); pc_value = pc_value.replace(/^.+?\:/g,""); pc_value = pc_value.replace(/\).*/,""); style_default_pc_value = post_slot.querySelectorAll("[style_default]")[0].innerHTML.match(/min-width.+?\;/)[0]; style_default_pc_value = style_default_pc_value.replace(/\s/g,""); style_default_pc_value = style_default_pc_value.replace(/^.+?\:/g,""); style_default_pc_value = style_default_pc_value.replace(/\).*/,""); variable_mobile_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/max-width.+?\;/)[0]; variable_mobile_value = variable_mobile_value.replace(/\s/g,""); variable_mobile_value = variable_mobile_value.replace(/^.+?\:/g,""); variable_mobile_value = variable_mobile_value.replace(/\).*/,""); mobile_value = post_slot.querySelector("[mobile]").innerHTML.match(/max-width.+?\;/)[0]; mobile_value = mobile_value.replace(/\s/g,""); mobile_value = mobile_value.replace(/^.+?\:/g,""); mobile_value = mobile_value.replace(/\).*/,""); style_default_mobile_value = post_slot.querySelectorAll("[style_default]")[1].innerHTML.match(/max-width.+?\;/)[0]; style_default_mobile_value = style_default_mobile_value.replace(/\s/g,""); style_default_mobile_value = style_default_mobile_value.replace(/^.+?\:/g,""); style_default_mobile_value = style_default_mobile_value.replace(/\).*/,""); post_slot.querySelectorAll("[variable-pc]")[0].innerHTML = post_slot.querySelectorAll("[variable-pc]")[0].innerHTML.replace(variable_pc_value, "900px"); post_slot.querySelectorAll("[pc]")[0].innerHTML = post_slot.querySelectorAll("[pc]")[0].innerHTML.replace(pc_value, "900px"); post_slot.querySelectorAll("[style_default]")[0].innerHTML = post_slot.querySelectorAll("[style_default]")[0].innerHTML.replace(style_default_pc_value, "900px"); post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML = post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML.replace(variable_mobile_value, "899px"); post_slot.querySelectorAll("[mobile]")[0].innerHTML = post_slot.querySelectorAll("[mobile]")[0].innerHTML.replace(mobile_value, "899px"); post_slot.querySelectorAll("[style_default]")[1].innerHTML = post_slot.querySelectorAll("[style_default]")[1].innerHTML.replace(style_default_mobile_value, "899px"); } } } })(jQuery);}function posts_slot_15_category_position(){ //if the page is using body main_tmpl (and not fallback) if(jQuery("body")[0].className.match(/main_tmpl/)!=null){ post_slot = jQuery("#posts_slot-15")[0]; if(window.innerWidth<600){ category_position_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--category-position-js.+?\;/)[0]; } else{ category_position_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--category-position-js.+?\;/)[0]; } category_position_value = category_position_value.replace(/\s/g,""); category_position_value = category_position_value.replace(/^.+?\:/g,""); category_position_value = category_position_value.replace(/\;/g,""); if(category_position_value=="follow-order-content"){ } else if(category_position_value=="onimage-bottom-right"){ articles = post_slot.querySelectorAll('article'); for(i=0;i

div"); myquery[0].style.height=""; myquery[0].children[0].style.height=""; myquery[0].children[0].style.display=""; myquery[0].children[0].style.flexDirection = ""; //myquery[0].children[0].style.alignItems = "center"; //post_slot.parentElement.style.alignItems="stretch"; //CHANGE STYLE post_slot.parentElement.parentElement.parentElement.style.alignItems="stretch"; if(getComputedStyle(post_slot.parentElement.parentElement)['display'] != 'none'){ post_slot.parentElement.parentElement.style.display="flex"; } post_slot.parentElement.parentElement.style.flexDirection = "column"; //post_slot.parentElement.parentElement.style.alignItems = "center"; post_slot.parentElement.style.height="100%"; post_slot.style.height="100%"; myquery=jQuery("#posts_slot-15 > div"); myquery[0].style.height="100%"; myquery[0].children[0].style.height="100%"; myquery[0].children[0].style.display="flex"; myquery[0].children[0].style.flexDirection = "column"; //myquery[0].children[0].style.alignItems = "center"; articles = post_slot.querySelectorAll('article'); for(i=0;i= 600){ article_clickable = post_slot.querySelector("[variable-pc]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } else { article_clickable = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } if (article_clickable == "active"){ for(i=0;i titleandbody_height){ document.getElementById(id).getElementsByClassName("body")[0].style.display="none"; title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("title")[0],null).height); titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("titleandbody")[0],null).height); article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height); } new_article_height=article_height+(title_height-titleandbody_height); new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height); if(title_height > titleandbody_height){ document.getElementById(id).getElementsByClassName("titleandbody")[0].style.height=new_titleandbody_height + "px"; document.getElementById(id).getElementsByClassName("titleandbody")[0].style.maxHeight=new_titleandbody_height + "px"; } } } } } return true;}function posts_slot_15_fit_body(){ if (typeof document.getElementById("posts_slot-15").getElementsByClassName("template_2086_mob_homepage_single_adula_3") !== 'undefined') { for(k=0;(k

Latest News, Main

NEWS FROM PENN HIGHLANDS HEALTHCARE

Symptoms

May 21, 2024

Children can become sad or angry when they lose a game or simply do not get their own way — that is normal behavior. When a child or teen cannot calm down, are uncontrollable or may be in danger of hu...

Latest News Archives - Mon Valley Independent (7)

Latest News, Main

N. Charleroi issues code reminder

By&nbspTAYLOR BROWN, Senior Reporter&nbsp

May 21, 2024

The wait for a digital ticketing system has slowed down the ability to hand out citations. Leaders in North Charleroi offered reminders to residents Monday on property maintenance and how to enjoy sum...

Politics

Ex-South African President Zuma disqualified from election

May 20, 2024

CAPE TOWN, South Africa (AP) — Former South African President Jacob Zuma was disqualified Monday from running for a seat in Parliament in a national election next week because of a previous criminal c...

Latest News Archives - Mon Valley Independent (8)

Politics

Taiwan’s new President Lai in his inauguration speech urges China to stop its military intimidation

May 20, 2024

By SIMINA MISTREANU AND CHRISTOPHER BODEEN Associated Press TAIPEI, Taiwan (AP) — Taiwan’s new president, Lai Ching-te, said in his inauguration speech Monday that he wants peace with China and urged ...

').appendTo('.footer:first'); $('

').appendTo('.footer .overlay'); $('.footer .overlay').css({ 'position': 'fixed', 'display': 'flex', 'inset': '0px', 'background': 'rgba(0, 0, 0, 0.5)', 'z-index': '9999', 'align-items': 'center', 'justify-content': 'center', 'height': '100vh', 'width': '100vw' }); $('.footer .overlay .iframe-wrapper').css({ 'position': 'relative', 'overflow': 'hidden', }); if ($(window).width() <= 1000 && $(window).width() < $(window).height()) { $('.footer .overlay .iframe-wrapper').css({ 'width': '80%', 'padding-top': '50%' }); } else { $('.footer .overlay .iframe-wrapper').css({ 'width': '50%', 'padding-top': '30%' }); } var video_href = $(this).attr('ta_videolink'); $('

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper iframe').css({ 'background': 'rgb(255, 255, 255)', 'box-shadow': 'black 0px 0px 10px 0px', 'position': 'absolute', 'inset': '0px', 'width': '100%', 'height': '100%', 'padding': '20px' }); $('

×

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper .overlay_close').css({ 'position': 'absolute', 'top': '0', 'right': '0', 'z-index': '999', 'font-size': '24px', 'cursor': 'pointer', 'text-align': 'center', 'display': 'flex', 'align-items': 'center', 'justify-content': 'center', 'height': '24px', 'width': '24px', 'color': 'black', 'font-weight': '700', 'transition': '0.3s ease', 'opacity': '0.5', }); $('.footer .overlay .iframe-wrapper .overlay_close').hover(function() { $(this).css({ 'opacity': '1', }); }, function() { $(this).css({ 'opacity': '0.5', }); }); $('.footer .overlay').show(); $(document).mouseup("click", function(e){ var container = $(".overlay iframe"); if(!container.is(e.target) && container.has(e.target).length === 0){ $('.footer .overlay iframe').remove(); $('.footer .overlay .overlay_close').remove(); $('.footer .overlay style').remove(); $('.footer .overlay').remove(); } }); } });}function posts_slot_16_tablet_style(){ (function($) { if($("body")[0].className.match(/main_tmpl/)!=null){ post_slot = $("#posts_slot-16")[0]; tablet_style_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--tablet-style-js.+?\;/)[0]; tablet_style_value = tablet_style_value.replace(/\s/g,""); tablet_style_value = tablet_style_value.replace(/^.+?\:/g,""); tablet_style_value = tablet_style_value.replace(/\;/g,""); if (tablet_style_value != null){ if (tablet_style_value == "pc"){ // To do nothing } else if (tablet_style_value == "mobile"){ variable_pc_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/min-width.+?\;/)[0]; variable_pc_value = variable_pc_value.replace(/\s/g,""); variable_pc_value = variable_pc_value.replace(/^.+?\:/g,""); variable_pc_value = variable_pc_value.replace(/\).*/,""); pc_value = post_slot.querySelector("[pc]").innerHTML.match(/min-width.+?\;/)[0]; pc_value = pc_value.replace(/\s/g,""); pc_value = pc_value.replace(/^.+?\:/g,""); pc_value = pc_value.replace(/\).*/,""); style_default_pc_value = post_slot.querySelectorAll("[style_default]")[0].innerHTML.match(/min-width.+?\;/)[0]; style_default_pc_value = style_default_pc_value.replace(/\s/g,""); style_default_pc_value = style_default_pc_value.replace(/^.+?\:/g,""); style_default_pc_value = style_default_pc_value.replace(/\).*/,""); variable_mobile_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/max-width.+?\;/)[0]; variable_mobile_value = variable_mobile_value.replace(/\s/g,""); variable_mobile_value = variable_mobile_value.replace(/^.+?\:/g,""); variable_mobile_value = variable_mobile_value.replace(/\).*/,""); mobile_value = post_slot.querySelector("[mobile]").innerHTML.match(/max-width.+?\;/)[0]; mobile_value = mobile_value.replace(/\s/g,""); mobile_value = mobile_value.replace(/^.+?\:/g,""); mobile_value = mobile_value.replace(/\).*/,""); style_default_mobile_value = post_slot.querySelectorAll("[style_default]")[1].innerHTML.match(/max-width.+?\;/)[0]; style_default_mobile_value = style_default_mobile_value.replace(/\s/g,""); style_default_mobile_value = style_default_mobile_value.replace(/^.+?\:/g,""); style_default_mobile_value = style_default_mobile_value.replace(/\).*/,""); post_slot.querySelectorAll("[variable-pc]")[0].innerHTML = post_slot.querySelectorAll("[variable-pc]")[0].innerHTML.replace(variable_pc_value, "900px"); post_slot.querySelectorAll("[pc]")[0].innerHTML = post_slot.querySelectorAll("[pc]")[0].innerHTML.replace(pc_value, "900px"); post_slot.querySelectorAll("[style_default]")[0].innerHTML = post_slot.querySelectorAll("[style_default]")[0].innerHTML.replace(style_default_pc_value, "900px"); post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML = post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML.replace(variable_mobile_value, "899px"); post_slot.querySelectorAll("[mobile]")[0].innerHTML = post_slot.querySelectorAll("[mobile]")[0].innerHTML.replace(mobile_value, "899px"); post_slot.querySelectorAll("[style_default]")[1].innerHTML = post_slot.querySelectorAll("[style_default]")[1].innerHTML.replace(style_default_mobile_value, "899px"); } } } })(jQuery);}function posts_slot_16_category_position(){ //if the page is using body main_tmpl (and not fallback) if(jQuery("body")[0].className.match(/main_tmpl/)!=null){ post_slot = jQuery("#posts_slot-16")[0]; if(window.innerWidth<600){ category_position_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--category-position-js.+?\;/)[0]; } else{ category_position_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--category-position-js.+?\;/)[0]; } category_position_value = category_position_value.replace(/\s/g,""); category_position_value = category_position_value.replace(/^.+?\:/g,""); category_position_value = category_position_value.replace(/\;/g,""); if(category_position_value=="follow-order-content"){ } else if(category_position_value=="onimage-bottom-right"){ articles = post_slot.querySelectorAll('article'); for(i=0;i

div"); myquery[0].style.height=""; myquery[0].children[0].style.height=""; myquery[0].children[0].style.display=""; myquery[0].children[0].style.flexDirection = ""; //myquery[0].children[0].style.alignItems = "center"; //post_slot.parentElement.style.alignItems="stretch"; //CHANGE STYLE post_slot.parentElement.parentElement.parentElement.style.alignItems="stretch"; if(getComputedStyle(post_slot.parentElement.parentElement)['display'] != 'none'){ post_slot.parentElement.parentElement.style.display="flex"; } post_slot.parentElement.parentElement.style.flexDirection = "column"; //post_slot.parentElement.parentElement.style.alignItems = "center"; post_slot.parentElement.style.height="100%"; post_slot.style.height="100%"; myquery=jQuery("#posts_slot-16 > div"); myquery[0].style.height="100%"; myquery[0].children[0].style.height="100%"; myquery[0].children[0].style.display="flex"; myquery[0].children[0].style.flexDirection = "column"; //myquery[0].children[0].style.alignItems = "center"; articles = post_slot.querySelectorAll('article'); for(i=0;i= 600){ article_clickable = post_slot.querySelector("[variable-pc]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } else { article_clickable = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } if (article_clickable == "active"){ for(i=0;i titleandbody_height){ document.getElementById(id).getElementsByClassName("body")[0].style.display="none"; title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("title")[0],null).height); titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("titleandbody")[0],null).height); article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height); } new_article_height=article_height+(title_height-titleandbody_height); new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height); if(title_height > titleandbody_height){ document.getElementById(id).getElementsByClassName("titleandbody")[0].style.height=new_titleandbody_height + "px"; document.getElementById(id).getElementsByClassName("titleandbody")[0].style.maxHeight=new_titleandbody_height + "px"; } } } } } return true;}function posts_slot_16_fit_body(){ if (typeof document.getElementById("posts_slot-16").getElementsByClassName("template_2086_homepage_single_adula_3") !== 'undefined') { for(k=0;(k
').appendTo('.footer:first'); $('').appendTo('.footer .overlay'); $('.footer .overlay').css({ 'position': 'fixed', 'display': 'flex', 'inset': '0px', 'background': 'rgba(0, 0, 0, 0.5)', 'z-index': '9999', 'align-items': 'center', 'justify-content': 'center', 'height': '100vh', 'width': '100vw' }); $('.footer .overlay .iframe-wrapper').css({ 'position': 'relative', 'overflow': 'hidden', }); if ($(window).width() <= 1000 && $(window).width() < $(window).height()) { $('.footer .overlay .iframe-wrapper').css({ 'width': '80%', 'padding-top': '50%' }); } else { $('.footer .overlay .iframe-wrapper').css({ 'width': '50%', 'padding-top': '30%' }); } var video_href = $(this).attr('ta_videolink'); $('').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper iframe').css({ 'background': 'rgb(255, 255, 255)', 'box-shadow': 'black 0px 0px 10px 0px', 'position': 'absolute', 'inset': '0px', 'width': '100%', 'height': '100%', 'padding': '20px' }); $('

×

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper .overlay_close').css({ 'position': 'absolute', 'top': '0', 'right': '0', 'z-index': '999', 'font-size': '24px', 'cursor': 'pointer', 'text-align': 'center', 'display': 'flex', 'align-items': 'center', 'justify-content': 'center', 'height': '24px', 'width': '24px', 'color': 'black', 'font-weight': '700', 'transition': '0.3s ease', 'opacity': '0.5', }); $('.footer .overlay .iframe-wrapper .overlay_close').hover(function() { $(this).css({ 'opacity': '1', }); }, function() { $(this).css({ 'opacity': '0.5', }); }); $('.footer .overlay').show(); $(document).mouseup("click", function(e){ var container = $(".overlay iframe"); if(!container.is(e.target) && container.has(e.target).length === 0){ $('.footer .overlay iframe').remove(); $('.footer .overlay .overlay_close').remove(); $('.footer .overlay style').remove(); $('.footer .overlay').remove(); } }); } });}function posts_slot_16_tablet_style(){ (function($) { if($("body")[0].className.match(/main_tmpl/)!=null){ post_slot = $("#posts_slot-16")[0]; tablet_style_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--tablet-style-js.+?\;/)[0]; tablet_style_value = tablet_style_value.replace(/\s/g,""); tablet_style_value = tablet_style_value.replace(/^.+?\:/g,""); tablet_style_value = tablet_style_value.replace(/\;/g,""); if (tablet_style_value != null){ if (tablet_style_value == "pc"){ // To do nothing } else if (tablet_style_value == "mobile"){ variable_pc_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/min-width.+?\;/)[0]; variable_pc_value = variable_pc_value.replace(/\s/g,""); variable_pc_value = variable_pc_value.replace(/^.+?\:/g,""); variable_pc_value = variable_pc_value.replace(/\).*/,""); pc_value = post_slot.querySelector("[pc]").innerHTML.match(/min-width.+?\;/)[0]; pc_value = pc_value.replace(/\s/g,""); pc_value = pc_value.replace(/^.+?\:/g,""); pc_value = pc_value.replace(/\).*/,""); style_default_pc_value = post_slot.querySelectorAll("[style_default]")[0].innerHTML.match(/min-width.+?\;/)[0]; style_default_pc_value = style_default_pc_value.replace(/\s/g,""); style_default_pc_value = style_default_pc_value.replace(/^.+?\:/g,""); style_default_pc_value = style_default_pc_value.replace(/\).*/,""); variable_mobile_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/max-width.+?\;/)[0]; variable_mobile_value = variable_mobile_value.replace(/\s/g,""); variable_mobile_value = variable_mobile_value.replace(/^.+?\:/g,""); variable_mobile_value = variable_mobile_value.replace(/\).*/,""); mobile_value = post_slot.querySelector("[mobile]").innerHTML.match(/max-width.+?\;/)[0]; mobile_value = mobile_value.replace(/\s/g,""); mobile_value = mobile_value.replace(/^.+?\:/g,""); mobile_value = mobile_value.replace(/\).*/,""); style_default_mobile_value = post_slot.querySelectorAll("[style_default]")[1].innerHTML.match(/max-width.+?\;/)[0]; style_default_mobile_value = style_default_mobile_value.replace(/\s/g,""); style_default_mobile_value = style_default_mobile_value.replace(/^.+?\:/g,""); style_default_mobile_value = style_default_mobile_value.replace(/\).*/,""); post_slot.querySelectorAll("[variable-pc]")[0].innerHTML = post_slot.querySelectorAll("[variable-pc]")[0].innerHTML.replace(variable_pc_value, "900px"); post_slot.querySelectorAll("[pc]")[0].innerHTML = post_slot.querySelectorAll("[pc]")[0].innerHTML.replace(pc_value, "900px"); post_slot.querySelectorAll("[style_default]")[0].innerHTML = post_slot.querySelectorAll("[style_default]")[0].innerHTML.replace(style_default_pc_value, "900px"); post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML = post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML.replace(variable_mobile_value, "899px"); post_slot.querySelectorAll("[mobile]")[0].innerHTML = post_slot.querySelectorAll("[mobile]")[0].innerHTML.replace(mobile_value, "899px"); post_slot.querySelectorAll("[style_default]")[1].innerHTML = post_slot.querySelectorAll("[style_default]")[1].innerHTML.replace(style_default_mobile_value, "899px"); } } } })(jQuery);}function posts_slot_16_category_position(){ //if the page is using body main_tmpl (and not fallback) if(jQuery("body")[0].className.match(/main_tmpl/)!=null){ post_slot = jQuery("#posts_slot-16")[0]; if(window.innerWidth<600){ category_position_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--category-position-js.+?\;/)[0]; } else{ category_position_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--category-position-js.+?\;/)[0]; } category_position_value = category_position_value.replace(/\s/g,""); category_position_value = category_position_value.replace(/^.+?\:/g,""); category_position_value = category_position_value.replace(/\;/g,""); if(category_position_value=="follow-order-content"){ } else if(category_position_value=="onimage-bottom-right"){ articles = post_slot.querySelectorAll('article'); for(i=0;i div"); myquery[0].style.height=""; myquery[0].children[0].style.height=""; myquery[0].children[0].style.display=""; myquery[0].children[0].style.flexDirection = ""; //myquery[0].children[0].style.alignItems = "center"; //post_slot.parentElement.style.alignItems="stretch"; //CHANGE STYLE post_slot.parentElement.parentElement.parentElement.style.alignItems="stretch"; if(getComputedStyle(post_slot.parentElement.parentElement)['display'] != 'none'){ post_slot.parentElement.parentElement.style.display="flex"; } post_slot.parentElement.parentElement.style.flexDirection = "column"; //post_slot.parentElement.parentElement.style.alignItems = "center"; post_slot.parentElement.style.height="100%"; post_slot.style.height="100%"; myquery=jQuery("#posts_slot-16 > div"); myquery[0].style.height="100%"; myquery[0].children[0].style.height="100%"; myquery[0].children[0].style.display="flex"; myquery[0].children[0].style.flexDirection = "column"; //myquery[0].children[0].style.alignItems = "center"; articles = post_slot.querySelectorAll('article'); for(i=0;i= 600){ article_clickable = post_slot.querySelector("[variable-pc]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } else { article_clickable = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } if (article_clickable == "active"){ for(i=0;i titleandbody_height){ document.getElementById(id).getElementsByClassName("body")[0].style.display="none"; title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("title")[0],null).height); titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("titleandbody")[0],null).height); article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height); } new_article_height=article_height+(title_height-titleandbody_height); new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height); if(title_height > titleandbody_height){ document.getElementById(id).getElementsByClassName("titleandbody")[0].style.height=new_titleandbody_height + "px"; document.getElementById(id).getElementsByClassName("titleandbody")[0].style.maxHeight=new_titleandbody_height + "px"; } } } } } return true;}function posts_slot_16_fit_body(){ if (typeof document.getElementById("posts_slot-16").getElementsByClassName("template_2086_mob_homepage_single_adula_3") !== 'undefined') { for(k=0;(k

Latest News Archives - Mon Valley Independent (9)

Politics

We need leaders and followers

May 20, 2024

“We don’t just need leaders, we need followers.” A friend who’s worked in Washington politics for decades was thinking aloud about a commencement speech she was scheduled to give at her law school alm...

Politics

LETTER TO THE EDITOR Judges are supposed to be unbiased

May 20, 2024

To the Editor: In the past, judges were always expected to set aside personal views and rely on the interpretation of the law and remain fair and balanced even if they did not agree with the law. Curr...

Politics

Celebrating the achievements of young Valley residents

May 20, 2024

IT’S A CELEBRATORY TIME as Valley seniors will begin graduating from area high schools, many of them adorned with honor cords and a select few distinguished as valedictorians and salutatorians. While ...

Latest News Archives - Mon Valley Independent (10)

Politics

The President Biden reelection strategy

May 20, 2024

President Joe Biden polls at or below 40 percent approval. Historically, such unpopularity has made it almost impossible for a president to be reelected. Biden is not so much an octogenarian as an unh...

').appendTo('.footer:first'); $('

').appendTo('.footer .overlay'); $('.footer .overlay').css({ 'position': 'fixed', 'display': 'flex', 'inset': '0px', 'background': 'rgba(0, 0, 0, 0.5)', 'z-index': '9999', 'align-items': 'center', 'justify-content': 'center', 'height': '100vh', 'width': '100vw' }); $('.footer .overlay .iframe-wrapper').css({ 'position': 'relative', 'overflow': 'hidden', }); if ($(window).width() <= 1000 && $(window).width() < $(window).height()) { $('.footer .overlay .iframe-wrapper').css({ 'width': '80%', 'padding-top': '50%' }); } else { $('.footer .overlay .iframe-wrapper').css({ 'width': '50%', 'padding-top': '30%' }); } var video_href = $(this).attr('ta_videolink'); $('

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper iframe').css({ 'background': 'rgb(255, 255, 255)', 'box-shadow': 'black 0px 0px 10px 0px', 'position': 'absolute', 'inset': '0px', 'width': '100%', 'height': '100%', 'padding': '20px' }); $('

×

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper .overlay_close').css({ 'position': 'absolute', 'top': '0', 'right': '0', 'z-index': '999', 'font-size': '24px', 'cursor': 'pointer', 'text-align': 'center', 'display': 'flex', 'align-items': 'center', 'justify-content': 'center', 'height': '24px', 'width': '24px', 'color': 'black', 'font-weight': '700', 'transition': '0.3s ease', 'opacity': '0.5', }); $('.footer .overlay .iframe-wrapper .overlay_close').hover(function() { $(this).css({ 'opacity': '1', }); }, function() { $(this).css({ 'opacity': '0.5', }); }); $('.footer .overlay').show(); $(document).mouseup("click", function(e){ var container = $(".overlay iframe"); if(!container.is(e.target) && container.has(e.target).length === 0){ $('.footer .overlay iframe').remove(); $('.footer .overlay .overlay_close').remove(); $('.footer .overlay style').remove(); $('.footer .overlay').remove(); } }); } });}function posts_slot_17_tablet_style(){ (function($) { if($("body")[0].className.match(/main_tmpl/)!=null){ post_slot = $("#posts_slot-17")[0]; tablet_style_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--tablet-style-js.+?\;/)[0]; tablet_style_value = tablet_style_value.replace(/\s/g,""); tablet_style_value = tablet_style_value.replace(/^.+?\:/g,""); tablet_style_value = tablet_style_value.replace(/\;/g,""); if (tablet_style_value != null){ if (tablet_style_value == "pc"){ // To do nothing } else if (tablet_style_value == "mobile"){ variable_pc_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/min-width.+?\;/)[0]; variable_pc_value = variable_pc_value.replace(/\s/g,""); variable_pc_value = variable_pc_value.replace(/^.+?\:/g,""); variable_pc_value = variable_pc_value.replace(/\).*/,""); pc_value = post_slot.querySelector("[pc]").innerHTML.match(/min-width.+?\;/)[0]; pc_value = pc_value.replace(/\s/g,""); pc_value = pc_value.replace(/^.+?\:/g,""); pc_value = pc_value.replace(/\).*/,""); style_default_pc_value = post_slot.querySelectorAll("[style_default]")[0].innerHTML.match(/min-width.+?\;/)[0]; style_default_pc_value = style_default_pc_value.replace(/\s/g,""); style_default_pc_value = style_default_pc_value.replace(/^.+?\:/g,""); style_default_pc_value = style_default_pc_value.replace(/\).*/,""); variable_mobile_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/max-width.+?\;/)[0]; variable_mobile_value = variable_mobile_value.replace(/\s/g,""); variable_mobile_value = variable_mobile_value.replace(/^.+?\:/g,""); variable_mobile_value = variable_mobile_value.replace(/\).*/,""); mobile_value = post_slot.querySelector("[mobile]").innerHTML.match(/max-width.+?\;/)[0]; mobile_value = mobile_value.replace(/\s/g,""); mobile_value = mobile_value.replace(/^.+?\:/g,""); mobile_value = mobile_value.replace(/\).*/,""); style_default_mobile_value = post_slot.querySelectorAll("[style_default]")[1].innerHTML.match(/max-width.+?\;/)[0]; style_default_mobile_value = style_default_mobile_value.replace(/\s/g,""); style_default_mobile_value = style_default_mobile_value.replace(/^.+?\:/g,""); style_default_mobile_value = style_default_mobile_value.replace(/\).*/,""); post_slot.querySelectorAll("[variable-pc]")[0].innerHTML = post_slot.querySelectorAll("[variable-pc]")[0].innerHTML.replace(variable_pc_value, "900px"); post_slot.querySelectorAll("[pc]")[0].innerHTML = post_slot.querySelectorAll("[pc]")[0].innerHTML.replace(pc_value, "900px"); post_slot.querySelectorAll("[style_default]")[0].innerHTML = post_slot.querySelectorAll("[style_default]")[0].innerHTML.replace(style_default_pc_value, "900px"); post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML = post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML.replace(variable_mobile_value, "899px"); post_slot.querySelectorAll("[mobile]")[0].innerHTML = post_slot.querySelectorAll("[mobile]")[0].innerHTML.replace(mobile_value, "899px"); post_slot.querySelectorAll("[style_default]")[1].innerHTML = post_slot.querySelectorAll("[style_default]")[1].innerHTML.replace(style_default_mobile_value, "899px"); } } } })(jQuery);}function posts_slot_17_category_position(){ //if the page is using body main_tmpl (and not fallback) if(jQuery("body")[0].className.match(/main_tmpl/)!=null){ post_slot = jQuery("#posts_slot-17")[0]; if(window.innerWidth<600){ category_position_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--category-position-js.+?\;/)[0]; } else{ category_position_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--category-position-js.+?\;/)[0]; } category_position_value = category_position_value.replace(/\s/g,""); category_position_value = category_position_value.replace(/^.+?\:/g,""); category_position_value = category_position_value.replace(/\;/g,""); if(category_position_value=="follow-order-content"){ } else if(category_position_value=="onimage-bottom-right"){ articles = post_slot.querySelectorAll('article'); for(i=0;i

div"); myquery[0].style.height=""; myquery[0].children[0].style.height=""; myquery[0].children[0].style.display=""; myquery[0].children[0].style.flexDirection = ""; //myquery[0].children[0].style.alignItems = "center"; //post_slot.parentElement.style.alignItems="stretch"; //CHANGE STYLE post_slot.parentElement.parentElement.parentElement.style.alignItems="stretch"; if(getComputedStyle(post_slot.parentElement.parentElement)['display'] != 'none'){ post_slot.parentElement.parentElement.style.display="flex"; } post_slot.parentElement.parentElement.style.flexDirection = "column"; //post_slot.parentElement.parentElement.style.alignItems = "center"; post_slot.parentElement.style.height="100%"; post_slot.style.height="100%"; myquery=jQuery("#posts_slot-17 > div"); myquery[0].style.height="100%"; myquery[0].children[0].style.height="100%"; myquery[0].children[0].style.display="flex"; myquery[0].children[0].style.flexDirection = "column"; //myquery[0].children[0].style.alignItems = "center"; articles = post_slot.querySelectorAll('article'); for(i=0;i= 600){ article_clickable = post_slot.querySelector("[variable-pc]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } else { article_clickable = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } if (article_clickable == "active"){ for(i=0;i titleandbody_height){ document.getElementById(id).getElementsByClassName("body")[0].style.display="none"; title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("title")[0],null).height); titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("titleandbody")[0],null).height); article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height); } new_article_height=article_height+(title_height-titleandbody_height); new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height); if(title_height > titleandbody_height){ document.getElementById(id).getElementsByClassName("titleandbody")[0].style.height=new_titleandbody_height + "px"; document.getElementById(id).getElementsByClassName("titleandbody")[0].style.maxHeight=new_titleandbody_height + "px"; } } } } } return true;}function posts_slot_17_fit_body(){ if (typeof document.getElementById("posts_slot-17").getElementsByClassName("template_2086_homepage_single_adula_3") !== 'undefined') { for(k=0;(k

').appendTo('.footer:first'); $('

').appendTo('.footer .overlay'); $('.footer .overlay').css({ 'position': 'fixed', 'display': 'flex', 'inset': '0px', 'background': 'rgba(0, 0, 0, 0.5)', 'z-index': '9999', 'align-items': 'center', 'justify-content': 'center', 'height': '100vh', 'width': '100vw' }); $('.footer .overlay .iframe-wrapper').css({ 'position': 'relative', 'overflow': 'hidden', }); if ($(window).width() <= 1000 && $(window).width() < $(window).height()) { $('.footer .overlay .iframe-wrapper').css({ 'width': '80%', 'padding-top': '50%' }); } else { $('.footer .overlay .iframe-wrapper').css({ 'width': '50%', 'padding-top': '30%' }); } var video_href = $(this).attr('ta_videolink'); $('

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper iframe').css({ 'background': 'rgb(255, 255, 255)', 'box-shadow': 'black 0px 0px 10px 0px', 'position': 'absolute', 'inset': '0px', 'width': '100%', 'height': '100%', 'padding': '20px' }); $('

×

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper .overlay_close').css({ 'position': 'absolute', 'top': '0', 'right': '0', 'z-index': '999', 'font-size': '24px', 'cursor': 'pointer', 'text-align': 'center', 'display': 'flex', 'align-items': 'center', 'justify-content': 'center', 'height': '24px', 'width': '24px', 'color': 'black', 'font-weight': '700', 'transition': '0.3s ease', 'opacity': '0.5', }); $('.footer .overlay .iframe-wrapper .overlay_close').hover(function() { $(this).css({ 'opacity': '1', }); }, function() { $(this).css({ 'opacity': '0.5', }); }); $('.footer .overlay').show(); $(document).mouseup("click", function(e){ var container = $(".overlay iframe"); if(!container.is(e.target) && container.has(e.target).length === 0){ $('.footer .overlay iframe').remove(); $('.footer .overlay .overlay_close').remove(); $('.footer .overlay style').remove(); $('.footer .overlay').remove(); } }); } });}function posts_slot_17_tablet_style(){ (function($) { if($("body")[0].className.match(/main_tmpl/)!=null){ post_slot = $("#posts_slot-17")[0]; tablet_style_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--tablet-style-js.+?\;/)[0]; tablet_style_value = tablet_style_value.replace(/\s/g,""); tablet_style_value = tablet_style_value.replace(/^.+?\:/g,""); tablet_style_value = tablet_style_value.replace(/\;/g,""); if (tablet_style_value != null){ if (tablet_style_value == "pc"){ // To do nothing } else if (tablet_style_value == "mobile"){ variable_pc_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/min-width.+?\;/)[0]; variable_pc_value = variable_pc_value.replace(/\s/g,""); variable_pc_value = variable_pc_value.replace(/^.+?\:/g,""); variable_pc_value = variable_pc_value.replace(/\).*/,""); pc_value = post_slot.querySelector("[pc]").innerHTML.match(/min-width.+?\;/)[0]; pc_value = pc_value.replace(/\s/g,""); pc_value = pc_value.replace(/^.+?\:/g,""); pc_value = pc_value.replace(/\).*/,""); style_default_pc_value = post_slot.querySelectorAll("[style_default]")[0].innerHTML.match(/min-width.+?\;/)[0]; style_default_pc_value = style_default_pc_value.replace(/\s/g,""); style_default_pc_value = style_default_pc_value.replace(/^.+?\:/g,""); style_default_pc_value = style_default_pc_value.replace(/\).*/,""); variable_mobile_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/max-width.+?\;/)[0]; variable_mobile_value = variable_mobile_value.replace(/\s/g,""); variable_mobile_value = variable_mobile_value.replace(/^.+?\:/g,""); variable_mobile_value = variable_mobile_value.replace(/\).*/,""); mobile_value = post_slot.querySelector("[mobile]").innerHTML.match(/max-width.+?\;/)[0]; mobile_value = mobile_value.replace(/\s/g,""); mobile_value = mobile_value.replace(/^.+?\:/g,""); mobile_value = mobile_value.replace(/\).*/,""); style_default_mobile_value = post_slot.querySelectorAll("[style_default]")[1].innerHTML.match(/max-width.+?\;/)[0]; style_default_mobile_value = style_default_mobile_value.replace(/\s/g,""); style_default_mobile_value = style_default_mobile_value.replace(/^.+?\:/g,""); style_default_mobile_value = style_default_mobile_value.replace(/\).*/,""); post_slot.querySelectorAll("[variable-pc]")[0].innerHTML = post_slot.querySelectorAll("[variable-pc]")[0].innerHTML.replace(variable_pc_value, "900px"); post_slot.querySelectorAll("[pc]")[0].innerHTML = post_slot.querySelectorAll("[pc]")[0].innerHTML.replace(pc_value, "900px"); post_slot.querySelectorAll("[style_default]")[0].innerHTML = post_slot.querySelectorAll("[style_default]")[0].innerHTML.replace(style_default_pc_value, "900px"); post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML = post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML.replace(variable_mobile_value, "899px"); post_slot.querySelectorAll("[mobile]")[0].innerHTML = post_slot.querySelectorAll("[mobile]")[0].innerHTML.replace(mobile_value, "899px"); post_slot.querySelectorAll("[style_default]")[1].innerHTML = post_slot.querySelectorAll("[style_default]")[1].innerHTML.replace(style_default_mobile_value, "899px"); } } } })(jQuery);}function posts_slot_17_category_position(){ //if the page is using body main_tmpl (and not fallback) if(jQuery("body")[0].className.match(/main_tmpl/)!=null){ post_slot = jQuery("#posts_slot-17")[0]; if(window.innerWidth<600){ category_position_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--category-position-js.+?\;/)[0]; } else{ category_position_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--category-position-js.+?\;/)[0]; } category_position_value = category_position_value.replace(/\s/g,""); category_position_value = category_position_value.replace(/^.+?\:/g,""); category_position_value = category_position_value.replace(/\;/g,""); if(category_position_value=="follow-order-content"){ } else if(category_position_value=="onimage-bottom-right"){ articles = post_slot.querySelectorAll('article'); for(i=0;i

div"); myquery[0].style.height=""; myquery[0].children[0].style.height=""; myquery[0].children[0].style.display=""; myquery[0].children[0].style.flexDirection = ""; //myquery[0].children[0].style.alignItems = "center"; //post_slot.parentElement.style.alignItems="stretch"; //CHANGE STYLE post_slot.parentElement.parentElement.parentElement.style.alignItems="stretch"; if(getComputedStyle(post_slot.parentElement.parentElement)['display'] != 'none'){ post_slot.parentElement.parentElement.style.display="flex"; } post_slot.parentElement.parentElement.style.flexDirection = "column"; //post_slot.parentElement.parentElement.style.alignItems = "center"; post_slot.parentElement.style.height="100%"; post_slot.style.height="100%"; myquery=jQuery("#posts_slot-17 > div"); myquery[0].style.height="100%"; myquery[0].children[0].style.height="100%"; myquery[0].children[0].style.display="flex"; myquery[0].children[0].style.flexDirection = "column"; //myquery[0].children[0].style.alignItems = "center"; articles = post_slot.querySelectorAll('article'); for(i=0;i= 600){ article_clickable = post_slot.querySelector("[variable-pc]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } else { article_clickable = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } if (article_clickable == "active"){ for(i=0;i titleandbody_height){ document.getElementById(id).getElementsByClassName("body")[0].style.display="none"; title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("title")[0],null).height); titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("titleandbody")[0],null).height); article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height); } new_article_height=article_height+(title_height-titleandbody_height); new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height); if(title_height > titleandbody_height){ document.getElementById(id).getElementsByClassName("titleandbody")[0].style.height=new_titleandbody_height + "px"; document.getElementById(id).getElementsByClassName("titleandbody")[0].style.maxHeight=new_titleandbody_height + "px"; } } } } } return true;}function posts_slot_17_fit_body(){ if (typeof document.getElementById("posts_slot-17").getElementsByClassName("template_2086_mob_homepage_single_adula_3") !== 'undefined') { for(k=0;(k

Around The Valley

NEWS BRIEF

May 20, 2024

Two motorcyclists died in separate crashes with vans in North Versailles Sunday, according to Allegheny County police. The first happened around 4 p.m. at Westinghouse and 5th avenues, police said. Th...

Latest News Archives - Mon Valley Independent (11)

Latest News, Main

Fishing derby in Monongahela

May 20, 2024

Heather Hart / For the MVI Levi Gerthoffer, 2 1/2, of Rostraver Township displays the perch he caught at the fishing derby in Monongahela on Saturday.

Latest News Archives - Mon Valley Independent (12)

Around The Valley

Nurses, administrators, advocates have varied opinions on new federal nursing home rule

By&nbspBy JULIA MARUCA Trib Total Media&nbsp

May 20, 2024

Pennsylvania Health Care Association CEO Zachary Shamberg said the long-awaited “silver tsunami” has hit the state. mandate.” When certified nursing assistant Helen Noel arrives for work each day at T...

Latest News, Main, News

Area senior centers receive state grant funds

By&nbspTAYLOR BROWN, Senior Reporter&nbsp

May 20, 2024

The Pennsylvania Department of Aging has awarded grants to 45 senior community centers from 26 counties across the state. The department’s competitive grants for 2023-24 total $2 million and ensure ol...

').appendTo('.footer:first'); $('

').appendTo('.footer .overlay'); $('.footer .overlay').css({ 'position': 'fixed', 'display': 'flex', 'inset': '0px', 'background': 'rgba(0, 0, 0, 0.5)', 'z-index': '9999', 'align-items': 'center', 'justify-content': 'center', 'height': '100vh', 'width': '100vw' }); $('.footer .overlay .iframe-wrapper').css({ 'position': 'relative', 'overflow': 'hidden', }); if ($(window).width() <= 1000 && $(window).width() < $(window).height()) { $('.footer .overlay .iframe-wrapper').css({ 'width': '80%', 'padding-top': '50%' }); } else { $('.footer .overlay .iframe-wrapper').css({ 'width': '50%', 'padding-top': '30%' }); } var video_href = $(this).attr('ta_videolink'); $('

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper iframe').css({ 'background': 'rgb(255, 255, 255)', 'box-shadow': 'black 0px 0px 10px 0px', 'position': 'absolute', 'inset': '0px', 'width': '100%', 'height': '100%', 'padding': '20px' }); $('

×

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper .overlay_close').css({ 'position': 'absolute', 'top': '0', 'right': '0', 'z-index': '999', 'font-size': '24px', 'cursor': 'pointer', 'text-align': 'center', 'display': 'flex', 'align-items': 'center', 'justify-content': 'center', 'height': '24px', 'width': '24px', 'color': 'black', 'font-weight': '700', 'transition': '0.3s ease', 'opacity': '0.5', }); $('.footer .overlay .iframe-wrapper .overlay_close').hover(function() { $(this).css({ 'opacity': '1', }); }, function() { $(this).css({ 'opacity': '0.5', }); }); $('.footer .overlay').show(); $(document).mouseup("click", function(e){ var container = $(".overlay iframe"); if(!container.is(e.target) && container.has(e.target).length === 0){ $('.footer .overlay iframe').remove(); $('.footer .overlay .overlay_close').remove(); $('.footer .overlay style').remove(); $('.footer .overlay').remove(); } }); } });}function posts_slot_18_tablet_style(){ (function($) { if($("body")[0].className.match(/main_tmpl/)!=null){ post_slot = $("#posts_slot-18")[0]; tablet_style_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--tablet-style-js.+?\;/)[0]; tablet_style_value = tablet_style_value.replace(/\s/g,""); tablet_style_value = tablet_style_value.replace(/^.+?\:/g,""); tablet_style_value = tablet_style_value.replace(/\;/g,""); if (tablet_style_value != null){ if (tablet_style_value == "pc"){ // To do nothing } else if (tablet_style_value == "mobile"){ variable_pc_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/min-width.+?\;/)[0]; variable_pc_value = variable_pc_value.replace(/\s/g,""); variable_pc_value = variable_pc_value.replace(/^.+?\:/g,""); variable_pc_value = variable_pc_value.replace(/\).*/,""); pc_value = post_slot.querySelector("[pc]").innerHTML.match(/min-width.+?\;/)[0]; pc_value = pc_value.replace(/\s/g,""); pc_value = pc_value.replace(/^.+?\:/g,""); pc_value = pc_value.replace(/\).*/,""); style_default_pc_value = post_slot.querySelectorAll("[style_default]")[0].innerHTML.match(/min-width.+?\;/)[0]; style_default_pc_value = style_default_pc_value.replace(/\s/g,""); style_default_pc_value = style_default_pc_value.replace(/^.+?\:/g,""); style_default_pc_value = style_default_pc_value.replace(/\).*/,""); variable_mobile_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/max-width.+?\;/)[0]; variable_mobile_value = variable_mobile_value.replace(/\s/g,""); variable_mobile_value = variable_mobile_value.replace(/^.+?\:/g,""); variable_mobile_value = variable_mobile_value.replace(/\).*/,""); mobile_value = post_slot.querySelector("[mobile]").innerHTML.match(/max-width.+?\;/)[0]; mobile_value = mobile_value.replace(/\s/g,""); mobile_value = mobile_value.replace(/^.+?\:/g,""); mobile_value = mobile_value.replace(/\).*/,""); style_default_mobile_value = post_slot.querySelectorAll("[style_default]")[1].innerHTML.match(/max-width.+?\;/)[0]; style_default_mobile_value = style_default_mobile_value.replace(/\s/g,""); style_default_mobile_value = style_default_mobile_value.replace(/^.+?\:/g,""); style_default_mobile_value = style_default_mobile_value.replace(/\).*/,""); post_slot.querySelectorAll("[variable-pc]")[0].innerHTML = post_slot.querySelectorAll("[variable-pc]")[0].innerHTML.replace(variable_pc_value, "900px"); post_slot.querySelectorAll("[pc]")[0].innerHTML = post_slot.querySelectorAll("[pc]")[0].innerHTML.replace(pc_value, "900px"); post_slot.querySelectorAll("[style_default]")[0].innerHTML = post_slot.querySelectorAll("[style_default]")[0].innerHTML.replace(style_default_pc_value, "900px"); post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML = post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML.replace(variable_mobile_value, "899px"); post_slot.querySelectorAll("[mobile]")[0].innerHTML = post_slot.querySelectorAll("[mobile]")[0].innerHTML.replace(mobile_value, "899px"); post_slot.querySelectorAll("[style_default]")[1].innerHTML = post_slot.querySelectorAll("[style_default]")[1].innerHTML.replace(style_default_mobile_value, "899px"); } } } })(jQuery);}function posts_slot_18_category_position(){ //if the page is using body main_tmpl (and not fallback) if(jQuery("body")[0].className.match(/main_tmpl/)!=null){ post_slot = jQuery("#posts_slot-18")[0]; if(window.innerWidth<600){ category_position_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--category-position-js.+?\;/)[0]; } else{ category_position_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--category-position-js.+?\;/)[0]; } category_position_value = category_position_value.replace(/\s/g,""); category_position_value = category_position_value.replace(/^.+?\:/g,""); category_position_value = category_position_value.replace(/\;/g,""); if(category_position_value=="follow-order-content"){ } else if(category_position_value=="onimage-bottom-right"){ articles = post_slot.querySelectorAll('article'); for(i=0;i

div"); myquery[0].style.height=""; myquery[0].children[0].style.height=""; myquery[0].children[0].style.display=""; myquery[0].children[0].style.flexDirection = ""; //myquery[0].children[0].style.alignItems = "center"; //post_slot.parentElement.style.alignItems="stretch"; //CHANGE STYLE post_slot.parentElement.parentElement.parentElement.style.alignItems="stretch"; if(getComputedStyle(post_slot.parentElement.parentElement)['display'] != 'none'){ post_slot.parentElement.parentElement.style.display="flex"; } post_slot.parentElement.parentElement.style.flexDirection = "column"; //post_slot.parentElement.parentElement.style.alignItems = "center"; post_slot.parentElement.style.height="100%"; post_slot.style.height="100%"; myquery=jQuery("#posts_slot-18 > div"); myquery[0].style.height="100%"; myquery[0].children[0].style.height="100%"; myquery[0].children[0].style.display="flex"; myquery[0].children[0].style.flexDirection = "column"; //myquery[0].children[0].style.alignItems = "center"; articles = post_slot.querySelectorAll('article'); for(i=0;i= 600){ article_clickable = post_slot.querySelector("[variable-pc]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } else { article_clickable = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } if (article_clickable == "active"){ for(i=0;i titleandbody_height){ document.getElementById(id).getElementsByClassName("body")[0].style.display="none"; title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("title")[0],null).height); titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("titleandbody")[0],null).height); article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height); } new_article_height=article_height+(title_height-titleandbody_height); new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height); if(title_height > titleandbody_height){ document.getElementById(id).getElementsByClassName("titleandbody")[0].style.height=new_titleandbody_height + "px"; document.getElementById(id).getElementsByClassName("titleandbody")[0].style.maxHeight=new_titleandbody_height + "px"; } } } } } return true;}function posts_slot_18_fit_body(){ if (typeof document.getElementById("posts_slot-18").getElementsByClassName("template_2086_homepage_single_adula_3") !== 'undefined') { for(k=0;(k

').appendTo('.footer:first'); $('

').appendTo('.footer .overlay'); $('.footer .overlay').css({ 'position': 'fixed', 'display': 'flex', 'inset': '0px', 'background': 'rgba(0, 0, 0, 0.5)', 'z-index': '9999', 'align-items': 'center', 'justify-content': 'center', 'height': '100vh', 'width': '100vw' }); $('.footer .overlay .iframe-wrapper').css({ 'position': 'relative', 'overflow': 'hidden', }); if ($(window).width() <= 1000 && $(window).width() < $(window).height()) { $('.footer .overlay .iframe-wrapper').css({ 'width': '80%', 'padding-top': '50%' }); } else { $('.footer .overlay .iframe-wrapper').css({ 'width': '50%', 'padding-top': '30%' }); } var video_href = $(this).attr('ta_videolink'); $('

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper iframe').css({ 'background': 'rgb(255, 255, 255)', 'box-shadow': 'black 0px 0px 10px 0px', 'position': 'absolute', 'inset': '0px', 'width': '100%', 'height': '100%', 'padding': '20px' }); $('

×

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper .overlay_close').css({ 'position': 'absolute', 'top': '0', 'right': '0', 'z-index': '999', 'font-size': '24px', 'cursor': 'pointer', 'text-align': 'center', 'display': 'flex', 'align-items': 'center', 'justify-content': 'center', 'height': '24px', 'width': '24px', 'color': 'black', 'font-weight': '700', 'transition': '0.3s ease', 'opacity': '0.5', }); $('.footer .overlay .iframe-wrapper .overlay_close').hover(function() { $(this).css({ 'opacity': '1', }); }, function() { $(this).css({ 'opacity': '0.5', }); }); $('.footer .overlay').show(); $(document).mouseup("click", function(e){ var container = $(".overlay iframe"); if(!container.is(e.target) && container.has(e.target).length === 0){ $('.footer .overlay iframe').remove(); $('.footer .overlay .overlay_close').remove(); $('.footer .overlay style').remove(); $('.footer .overlay').remove(); } }); } });}function posts_slot_18_tablet_style(){ (function($) { if($("body")[0].className.match(/main_tmpl/)!=null){ post_slot = $("#posts_slot-18")[0]; tablet_style_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--tablet-style-js.+?\;/)[0]; tablet_style_value = tablet_style_value.replace(/\s/g,""); tablet_style_value = tablet_style_value.replace(/^.+?\:/g,""); tablet_style_value = tablet_style_value.replace(/\;/g,""); if (tablet_style_value != null){ if (tablet_style_value == "pc"){ // To do nothing } else if (tablet_style_value == "mobile"){ variable_pc_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/min-width.+?\;/)[0]; variable_pc_value = variable_pc_value.replace(/\s/g,""); variable_pc_value = variable_pc_value.replace(/^.+?\:/g,""); variable_pc_value = variable_pc_value.replace(/\).*/,""); pc_value = post_slot.querySelector("[pc]").innerHTML.match(/min-width.+?\;/)[0]; pc_value = pc_value.replace(/\s/g,""); pc_value = pc_value.replace(/^.+?\:/g,""); pc_value = pc_value.replace(/\).*/,""); style_default_pc_value = post_slot.querySelectorAll("[style_default]")[0].innerHTML.match(/min-width.+?\;/)[0]; style_default_pc_value = style_default_pc_value.replace(/\s/g,""); style_default_pc_value = style_default_pc_value.replace(/^.+?\:/g,""); style_default_pc_value = style_default_pc_value.replace(/\).*/,""); variable_mobile_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/max-width.+?\;/)[0]; variable_mobile_value = variable_mobile_value.replace(/\s/g,""); variable_mobile_value = variable_mobile_value.replace(/^.+?\:/g,""); variable_mobile_value = variable_mobile_value.replace(/\).*/,""); mobile_value = post_slot.querySelector("[mobile]").innerHTML.match(/max-width.+?\;/)[0]; mobile_value = mobile_value.replace(/\s/g,""); mobile_value = mobile_value.replace(/^.+?\:/g,""); mobile_value = mobile_value.replace(/\).*/,""); style_default_mobile_value = post_slot.querySelectorAll("[style_default]")[1].innerHTML.match(/max-width.+?\;/)[0]; style_default_mobile_value = style_default_mobile_value.replace(/\s/g,""); style_default_mobile_value = style_default_mobile_value.replace(/^.+?\:/g,""); style_default_mobile_value = style_default_mobile_value.replace(/\).*/,""); post_slot.querySelectorAll("[variable-pc]")[0].innerHTML = post_slot.querySelectorAll("[variable-pc]")[0].innerHTML.replace(variable_pc_value, "900px"); post_slot.querySelectorAll("[pc]")[0].innerHTML = post_slot.querySelectorAll("[pc]")[0].innerHTML.replace(pc_value, "900px"); post_slot.querySelectorAll("[style_default]")[0].innerHTML = post_slot.querySelectorAll("[style_default]")[0].innerHTML.replace(style_default_pc_value, "900px"); post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML = post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML.replace(variable_mobile_value, "899px"); post_slot.querySelectorAll("[mobile]")[0].innerHTML = post_slot.querySelectorAll("[mobile]")[0].innerHTML.replace(mobile_value, "899px"); post_slot.querySelectorAll("[style_default]")[1].innerHTML = post_slot.querySelectorAll("[style_default]")[1].innerHTML.replace(style_default_mobile_value, "899px"); } } } })(jQuery);}function posts_slot_18_category_position(){ //if the page is using body main_tmpl (and not fallback) if(jQuery("body")[0].className.match(/main_tmpl/)!=null){ post_slot = jQuery("#posts_slot-18")[0]; if(window.innerWidth<600){ category_position_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--category-position-js.+?\;/)[0]; } else{ category_position_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--category-position-js.+?\;/)[0]; } category_position_value = category_position_value.replace(/\s/g,""); category_position_value = category_position_value.replace(/^.+?\:/g,""); category_position_value = category_position_value.replace(/\;/g,""); if(category_position_value=="follow-order-content"){ } else if(category_position_value=="onimage-bottom-right"){ articles = post_slot.querySelectorAll('article'); for(i=0;i

div"); myquery[0].style.height=""; myquery[0].children[0].style.height=""; myquery[0].children[0].style.display=""; myquery[0].children[0].style.flexDirection = ""; //myquery[0].children[0].style.alignItems = "center"; //post_slot.parentElement.style.alignItems="stretch"; //CHANGE STYLE post_slot.parentElement.parentElement.parentElement.style.alignItems="stretch"; if(getComputedStyle(post_slot.parentElement.parentElement)['display'] != 'none'){ post_slot.parentElement.parentElement.style.display="flex"; } post_slot.parentElement.parentElement.style.flexDirection = "column"; //post_slot.parentElement.parentElement.style.alignItems = "center"; post_slot.parentElement.style.height="100%"; post_slot.style.height="100%"; myquery=jQuery("#posts_slot-18 > div"); myquery[0].style.height="100%"; myquery[0].children[0].style.height="100%"; myquery[0].children[0].style.display="flex"; myquery[0].children[0].style.flexDirection = "column"; //myquery[0].children[0].style.alignItems = "center"; articles = post_slot.querySelectorAll('article'); for(i=0;i= 600){ article_clickable = post_slot.querySelector("[variable-pc]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } else { article_clickable = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } if (article_clickable == "active"){ for(i=0;i titleandbody_height){ document.getElementById(id).getElementsByClassName("body")[0].style.display="none"; title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("title")[0],null).height); titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("titleandbody")[0],null).height); article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height); } new_article_height=article_height+(title_height-titleandbody_height); new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height); if(title_height > titleandbody_height){ document.getElementById(id).getElementsByClassName("titleandbody")[0].style.height=new_titleandbody_height + "px"; document.getElementById(id).getElementsByClassName("titleandbody")[0].style.maxHeight=new_titleandbody_height + "px"; } } } } } return true;}function posts_slot_18_fit_body(){ if (typeof document.getElementById("posts_slot-18").getElementsByClassName("template_2086_mob_homepage_single_adula_3") !== 'undefined') { for(k=0;(k

Latest News, Main

MCKEESPORT AREA SCHOOL DISTRICT

Business manager’s contract extended

By&nbspMICHAEL RICHTER, mrichter@yourmvi.com&nbsp

May 20, 2024

Joe Villella was rewarded for his work in preparing the 2024-25 budget. McKeesport Area School Board made a slew of hirings and other personnel decisions at Wednesday’s meeting, including a twoyear co...

Latest News Archives - Mon Valley Independent (13)

Latest News, Main

White Oak considers police deal with Penn State branch

By&nbspSARAH PELLIS&nbsp

May 20, 2024

The agreement would also involve providing aid to McKeesport Area School District when necessary. In a report at White Oak’s May 13 workshop meeting, Solicitor Ashley Puchalski gave an update about an...

Latest News Archives - Mon Valley Independent (14)

Politics

What we’ve learned so far in the Trump hush money trial and what to watch for as it wraps up

May 19, 2024

NEW YORK (AP) — Testimony in the hush money trial of Donald Trump is set to conclude in the coming days, putting the landmark case on track for jury deliberations that will determine whether it ends i...

Politics

CNN political commentator and veteran political adviser dies at 58

By&nbspBy DEEPA BHARATH Associated Press&nbsp

May 19, 2024

Alice Stewart joined the network before the 2016 election and made an appearance Friday on Wolf Blitzer’s show. Alice Stewart, a CNN political commentator and veteran political adviser who worked on a...

').appendTo('.footer:first'); $('

').appendTo('.footer .overlay'); $('.footer .overlay').css({ 'position': 'fixed', 'display': 'flex', 'inset': '0px', 'background': 'rgba(0, 0, 0, 0.5)', 'z-index': '9999', 'align-items': 'center', 'justify-content': 'center', 'height': '100vh', 'width': '100vw' }); $('.footer .overlay .iframe-wrapper').css({ 'position': 'relative', 'overflow': 'hidden', }); if ($(window).width() <= 1000 && $(window).width() < $(window).height()) { $('.footer .overlay .iframe-wrapper').css({ 'width': '80%', 'padding-top': '50%' }); } else { $('.footer .overlay .iframe-wrapper').css({ 'width': '50%', 'padding-top': '30%' }); } var video_href = $(this).attr('ta_videolink'); $('

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper iframe').css({ 'background': 'rgb(255, 255, 255)', 'box-shadow': 'black 0px 0px 10px 0px', 'position': 'absolute', 'inset': '0px', 'width': '100%', 'height': '100%', 'padding': '20px' }); $('

×

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper .overlay_close').css({ 'position': 'absolute', 'top': '0', 'right': '0', 'z-index': '999', 'font-size': '24px', 'cursor': 'pointer', 'text-align': 'center', 'display': 'flex', 'align-items': 'center', 'justify-content': 'center', 'height': '24px', 'width': '24px', 'color': 'black', 'font-weight': '700', 'transition': '0.3s ease', 'opacity': '0.5', }); $('.footer .overlay .iframe-wrapper .overlay_close').hover(function() { $(this).css({ 'opacity': '1', }); }, function() { $(this).css({ 'opacity': '0.5', }); }); $('.footer .overlay').show(); $(document).mouseup("click", function(e){ var container = $(".overlay iframe"); if(!container.is(e.target) && container.has(e.target).length === 0){ $('.footer .overlay iframe').remove(); $('.footer .overlay .overlay_close').remove(); $('.footer .overlay style').remove(); $('.footer .overlay').remove(); } }); } });}function posts_slot_19_tablet_style(){ (function($) { if($("body")[0].className.match(/main_tmpl/)!=null){ post_slot = $("#posts_slot-19")[0]; tablet_style_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--tablet-style-js.+?\;/)[0]; tablet_style_value = tablet_style_value.replace(/\s/g,""); tablet_style_value = tablet_style_value.replace(/^.+?\:/g,""); tablet_style_value = tablet_style_value.replace(/\;/g,""); if (tablet_style_value != null){ if (tablet_style_value == "pc"){ // To do nothing } else if (tablet_style_value == "mobile"){ variable_pc_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/min-width.+?\;/)[0]; variable_pc_value = variable_pc_value.replace(/\s/g,""); variable_pc_value = variable_pc_value.replace(/^.+?\:/g,""); variable_pc_value = variable_pc_value.replace(/\).*/,""); pc_value = post_slot.querySelector("[pc]").innerHTML.match(/min-width.+?\;/)[0]; pc_value = pc_value.replace(/\s/g,""); pc_value = pc_value.replace(/^.+?\:/g,""); pc_value = pc_value.replace(/\).*/,""); style_default_pc_value = post_slot.querySelectorAll("[style_default]")[0].innerHTML.match(/min-width.+?\;/)[0]; style_default_pc_value = style_default_pc_value.replace(/\s/g,""); style_default_pc_value = style_default_pc_value.replace(/^.+?\:/g,""); style_default_pc_value = style_default_pc_value.replace(/\).*/,""); variable_mobile_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/max-width.+?\;/)[0]; variable_mobile_value = variable_mobile_value.replace(/\s/g,""); variable_mobile_value = variable_mobile_value.replace(/^.+?\:/g,""); variable_mobile_value = variable_mobile_value.replace(/\).*/,""); mobile_value = post_slot.querySelector("[mobile]").innerHTML.match(/max-width.+?\;/)[0]; mobile_value = mobile_value.replace(/\s/g,""); mobile_value = mobile_value.replace(/^.+?\:/g,""); mobile_value = mobile_value.replace(/\).*/,""); style_default_mobile_value = post_slot.querySelectorAll("[style_default]")[1].innerHTML.match(/max-width.+?\;/)[0]; style_default_mobile_value = style_default_mobile_value.replace(/\s/g,""); style_default_mobile_value = style_default_mobile_value.replace(/^.+?\:/g,""); style_default_mobile_value = style_default_mobile_value.replace(/\).*/,""); post_slot.querySelectorAll("[variable-pc]")[0].innerHTML = post_slot.querySelectorAll("[variable-pc]")[0].innerHTML.replace(variable_pc_value, "900px"); post_slot.querySelectorAll("[pc]")[0].innerHTML = post_slot.querySelectorAll("[pc]")[0].innerHTML.replace(pc_value, "900px"); post_slot.querySelectorAll("[style_default]")[0].innerHTML = post_slot.querySelectorAll("[style_default]")[0].innerHTML.replace(style_default_pc_value, "900px"); post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML = post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML.replace(variable_mobile_value, "899px"); post_slot.querySelectorAll("[mobile]")[0].innerHTML = post_slot.querySelectorAll("[mobile]")[0].innerHTML.replace(mobile_value, "899px"); post_slot.querySelectorAll("[style_default]")[1].innerHTML = post_slot.querySelectorAll("[style_default]")[1].innerHTML.replace(style_default_mobile_value, "899px"); } } } })(jQuery);}function posts_slot_19_category_position(){ //if the page is using body main_tmpl (and not fallback) if(jQuery("body")[0].className.match(/main_tmpl/)!=null){ post_slot = jQuery("#posts_slot-19")[0]; if(window.innerWidth<600){ category_position_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--category-position-js.+?\;/)[0]; } else{ category_position_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--category-position-js.+?\;/)[0]; } category_position_value = category_position_value.replace(/\s/g,""); category_position_value = category_position_value.replace(/^.+?\:/g,""); category_position_value = category_position_value.replace(/\;/g,""); if(category_position_value=="follow-order-content"){ } else if(category_position_value=="onimage-bottom-right"){ articles = post_slot.querySelectorAll('article'); for(i=0;i

div"); myquery[0].style.height=""; myquery[0].children[0].style.height=""; myquery[0].children[0].style.display=""; myquery[0].children[0].style.flexDirection = ""; //myquery[0].children[0].style.alignItems = "center"; //post_slot.parentElement.style.alignItems="stretch"; //CHANGE STYLE post_slot.parentElement.parentElement.parentElement.style.alignItems="stretch"; if(getComputedStyle(post_slot.parentElement.parentElement)['display'] != 'none'){ post_slot.parentElement.parentElement.style.display="flex"; } post_slot.parentElement.parentElement.style.flexDirection = "column"; //post_slot.parentElement.parentElement.style.alignItems = "center"; post_slot.parentElement.style.height="100%"; post_slot.style.height="100%"; myquery=jQuery("#posts_slot-19 > div"); myquery[0].style.height="100%"; myquery[0].children[0].style.height="100%"; myquery[0].children[0].style.display="flex"; myquery[0].children[0].style.flexDirection = "column"; //myquery[0].children[0].style.alignItems = "center"; articles = post_slot.querySelectorAll('article'); for(i=0;i= 600){ article_clickable = post_slot.querySelector("[variable-pc]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } else { article_clickable = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } if (article_clickable == "active"){ for(i=0;i titleandbody_height){ document.getElementById(id).getElementsByClassName("body")[0].style.display="none"; title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("title")[0],null).height); titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("titleandbody")[0],null).height); article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height); } new_article_height=article_height+(title_height-titleandbody_height); new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height); if(title_height > titleandbody_height){ document.getElementById(id).getElementsByClassName("titleandbody")[0].style.height=new_titleandbody_height + "px"; document.getElementById(id).getElementsByClassName("titleandbody")[0].style.maxHeight=new_titleandbody_height + "px"; } } } } } return true;}function posts_slot_19_fit_body(){ if (typeof document.getElementById("posts_slot-19").getElementsByClassName("template_2086_homepage_single_adula_3") !== 'undefined') { for(k=0;(k
').appendTo('.footer:first'); $('').appendTo('.footer .overlay'); $('.footer .overlay').css({ 'position': 'fixed', 'display': 'flex', 'inset': '0px', 'background': 'rgba(0, 0, 0, 0.5)', 'z-index': '9999', 'align-items': 'center', 'justify-content': 'center', 'height': '100vh', 'width': '100vw' }); $('.footer .overlay .iframe-wrapper').css({ 'position': 'relative', 'overflow': 'hidden', }); if ($(window).width() <= 1000 && $(window).width() < $(window).height()) { $('.footer .overlay .iframe-wrapper').css({ 'width': '80%', 'padding-top': '50%' }); } else { $('.footer .overlay .iframe-wrapper').css({ 'width': '50%', 'padding-top': '30%' }); } var video_href = $(this).attr('ta_videolink'); $('').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper iframe').css({ 'background': 'rgb(255, 255, 255)', 'box-shadow': 'black 0px 0px 10px 0px', 'position': 'absolute', 'inset': '0px', 'width': '100%', 'height': '100%', 'padding': '20px' }); $('

×

').appendTo('.footer .overlay .iframe-wrapper'); $('.footer .overlay .iframe-wrapper .overlay_close').css({ 'position': 'absolute', 'top': '0', 'right': '0', 'z-index': '999', 'font-size': '24px', 'cursor': 'pointer', 'text-align': 'center', 'display': 'flex', 'align-items': 'center', 'justify-content': 'center', 'height': '24px', 'width': '24px', 'color': 'black', 'font-weight': '700', 'transition': '0.3s ease', 'opacity': '0.5', }); $('.footer .overlay .iframe-wrapper .overlay_close').hover(function() { $(this).css({ 'opacity': '1', }); }, function() { $(this).css({ 'opacity': '0.5', }); }); $('.footer .overlay').show(); $(document).mouseup("click", function(e){ var container = $(".overlay iframe"); if(!container.is(e.target) && container.has(e.target).length === 0){ $('.footer .overlay iframe').remove(); $('.footer .overlay .overlay_close').remove(); $('.footer .overlay style').remove(); $('.footer .overlay').remove(); } }); } });}function posts_slot_19_tablet_style(){ (function($) { if($("body")[0].className.match(/main_tmpl/)!=null){ post_slot = $("#posts_slot-19")[0]; tablet_style_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--tablet-style-js.+?\;/)[0]; tablet_style_value = tablet_style_value.replace(/\s/g,""); tablet_style_value = tablet_style_value.replace(/^.+?\:/g,""); tablet_style_value = tablet_style_value.replace(/\;/g,""); if (tablet_style_value != null){ if (tablet_style_value == "pc"){ // To do nothing } else if (tablet_style_value == "mobile"){ variable_pc_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/min-width.+?\;/)[0]; variable_pc_value = variable_pc_value.replace(/\s/g,""); variable_pc_value = variable_pc_value.replace(/^.+?\:/g,""); variable_pc_value = variable_pc_value.replace(/\).*/,""); pc_value = post_slot.querySelector("[pc]").innerHTML.match(/min-width.+?\;/)[0]; pc_value = pc_value.replace(/\s/g,""); pc_value = pc_value.replace(/^.+?\:/g,""); pc_value = pc_value.replace(/\).*/,""); style_default_pc_value = post_slot.querySelectorAll("[style_default]")[0].innerHTML.match(/min-width.+?\;/)[0]; style_default_pc_value = style_default_pc_value.replace(/\s/g,""); style_default_pc_value = style_default_pc_value.replace(/^.+?\:/g,""); style_default_pc_value = style_default_pc_value.replace(/\).*/,""); variable_mobile_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/max-width.+?\;/)[0]; variable_mobile_value = variable_mobile_value.replace(/\s/g,""); variable_mobile_value = variable_mobile_value.replace(/^.+?\:/g,""); variable_mobile_value = variable_mobile_value.replace(/\).*/,""); mobile_value = post_slot.querySelector("[mobile]").innerHTML.match(/max-width.+?\;/)[0]; mobile_value = mobile_value.replace(/\s/g,""); mobile_value = mobile_value.replace(/^.+?\:/g,""); mobile_value = mobile_value.replace(/\).*/,""); style_default_mobile_value = post_slot.querySelectorAll("[style_default]")[1].innerHTML.match(/max-width.+?\;/)[0]; style_default_mobile_value = style_default_mobile_value.replace(/\s/g,""); style_default_mobile_value = style_default_mobile_value.replace(/^.+?\:/g,""); style_default_mobile_value = style_default_mobile_value.replace(/\).*/,""); post_slot.querySelectorAll("[variable-pc]")[0].innerHTML = post_slot.querySelectorAll("[variable-pc]")[0].innerHTML.replace(variable_pc_value, "900px"); post_slot.querySelectorAll("[pc]")[0].innerHTML = post_slot.querySelectorAll("[pc]")[0].innerHTML.replace(pc_value, "900px"); post_slot.querySelectorAll("[style_default]")[0].innerHTML = post_slot.querySelectorAll("[style_default]")[0].innerHTML.replace(style_default_pc_value, "900px"); post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML = post_slot.querySelectorAll("[variable-mobile]")[0].innerHTML.replace(variable_mobile_value, "899px"); post_slot.querySelectorAll("[mobile]")[0].innerHTML = post_slot.querySelectorAll("[mobile]")[0].innerHTML.replace(mobile_value, "899px"); post_slot.querySelectorAll("[style_default]")[1].innerHTML = post_slot.querySelectorAll("[style_default]")[1].innerHTML.replace(style_default_mobile_value, "899px"); } } } })(jQuery);}function posts_slot_19_category_position(){ //if the page is using body main_tmpl (and not fallback) if(jQuery("body")[0].className.match(/main_tmpl/)!=null){ post_slot = jQuery("#posts_slot-19")[0]; if(window.innerWidth<600){ category_position_value = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--category-position-js.+?\;/)[0]; } else{ category_position_value = post_slot.querySelector("[variable-pc]").innerHTML.match(/--category-position-js.+?\;/)[0]; } category_position_value = category_position_value.replace(/\s/g,""); category_position_value = category_position_value.replace(/^.+?\:/g,""); category_position_value = category_position_value.replace(/\;/g,""); if(category_position_value=="follow-order-content"){ } else if(category_position_value=="onimage-bottom-right"){ articles = post_slot.querySelectorAll('article'); for(i=0;i div"); myquery[0].style.height=""; myquery[0].children[0].style.height=""; myquery[0].children[0].style.display=""; myquery[0].children[0].style.flexDirection = ""; //myquery[0].children[0].style.alignItems = "center"; //post_slot.parentElement.style.alignItems="stretch"; //CHANGE STYLE post_slot.parentElement.parentElement.parentElement.style.alignItems="stretch"; if(getComputedStyle(post_slot.parentElement.parentElement)['display'] != 'none'){ post_slot.parentElement.parentElement.style.display="flex"; } post_slot.parentElement.parentElement.style.flexDirection = "column"; //post_slot.parentElement.parentElement.style.alignItems = "center"; post_slot.parentElement.style.height="100%"; post_slot.style.height="100%"; myquery=jQuery("#posts_slot-19 > div"); myquery[0].style.height="100%"; myquery[0].children[0].style.height="100%"; myquery[0].children[0].style.display="flex"; myquery[0].children[0].style.flexDirection = "column"; //myquery[0].children[0].style.alignItems = "center"; articles = post_slot.querySelectorAll('article'); for(i=0;i= 600){ article_clickable = post_slot.querySelector("[variable-pc]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } else { article_clickable = post_slot.querySelector("[variable-mobile]").innerHTML.match(/--article-clickable-js.+?\;/)[0]; article_clickable = article_clickable.replace(/\s/g,""); article_clickable = article_clickable.replace(/^.+?\:/g,""); article_clickable = article_clickable.replace(/\;/g,""); } if (article_clickable == "active"){ for(i=0;i titleandbody_height){ document.getElementById(id).getElementsByClassName("body")[0].style.display="none"; title_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("title")[0],null).height); titleandbody_height = parseFloat(getComputedStyle(document.getElementById(id).getElementsByClassName("titleandbody")[0],null).height); article_height=parseFloat(getComputedStyle(document.getElementById(id),null).height); } new_article_height=article_height+(title_height-titleandbody_height); new_titleandbody_height=titleandbody_height+(title_height-titleandbody_height); if(title_height > titleandbody_height){ document.getElementById(id).getElementsByClassName("titleandbody")[0].style.height=new_titleandbody_height + "px"; document.getElementById(id).getElementsByClassName("titleandbody")[0].style.maxHeight=new_titleandbody_height + "px"; } } } } } return true;}function posts_slot_19_fit_body(){ if (typeof document.getElementById("posts_slot-19").getElementsByClassName("template_2086_mob_homepage_single_adula_3") !== 'undefined') { for(k=0;(k
Latest News Archives - Mon Valley Independent (2024)
Top Articles
Latest Posts
Article information

Author: Maia Crooks Jr

Last Updated:

Views: 5961

Rating: 4.2 / 5 (63 voted)

Reviews: 94% of readers found this page helpful

Author information

Name: Maia Crooks Jr

Birthday: 1997-09-21

Address: 93119 Joseph Street, Peggyfurt, NC 11582

Phone: +2983088926881

Job: Principal Design Liaison

Hobby: Web surfing, Skiing, role-playing games, Sketching, Polo, Sewing, Genealogy

Introduction: My name is Maia Crooks Jr, I am a homely, joyous, shiny, successful, hilarious, thoughtful, joyous person who loves writing and wants to share my knowledge and understanding with you.