Oregon Health Authority reports 375 new COVID-19 cases, highest daily count since pandemic began – KPTV.com

‘);
$(“#expandable-weather-block .modal-body #mrd-alert”+ alertCount).append(”

“+val.title+”

“);

// if (window.location.hostname == “www.kmov.com” || window.location.hostname == “www.kctv5.com” || window.location.hostname == “www.azfamily.com” || window.location.hostname == “www.kptv.com” || window.location.hostname == “www.fox5vegas.com” || window.location.hostname == “www.wfsb.com”) {
if (val.poly != “” && val.polyimg != “”) {
$(“#expandable-weather-block .modal-body #mrd-alert”+ alertCount).append(‘
'+val.title+'“+val.ihtml+”“);
$(“#expandable-weather-block .weather-index-alerts”).show();

$(“#expandable-weather-block .modal-body h2”).css({“font-family”:”‘Fira Sans’, sans-serif”, “font-weight”:”500″, “padding-bottom”:”10px”});
$(“#expandable-weather-block .modal-body p”).css({“font-size”:”14px”, “line-height”:”24px”});
$(“#expandable-weather-block .modal-body span.wxalertnum”).css({“float”:”left”, “width”:”40px”, “height”:”40px”, “color”:”#ffffff”, “line-height”:”40px”, “background-color”:”#888888″, “border-radius”:”40px”, “text-align”:”center”, “margin-right”:”12px”});
$(“#expandable-weather-block .modal-body b”).css(“font-size”, “18px”);
$(“#expandable-weather-block .modal-body li”).css({“font-size”:”14px”, “line-height”:”18px”, “margin-bottom”:”10px”});
$(“#expandable-weather-block .modal-body ul”).css({“margin-bottom”:”24px”});
$(“#expandable-weather-block .modal-body pre”).css({“margin-bottom”:”24px”});
$(“#expandable-weather-block .modal-body img”).css({“width”:”100%”, “margin-bottom”:”20px”, “borderWidth”:”1px”, “border-style”:”solid”, “border-color”:”#aaaaaa”});
$(“#expandable-weather-block .modal-body #mrd-alert”+ alertCount).css({“borderWidth”:”0″, “border-bottom-width”:”1px”, “border-style”:”dashed”, “border-color”:”#aaaaaa”, “padding-bottom”:”10px”, “margin-bottom”:”40px”});

});
}

function parseAlertJSON(json) {
console.log(json);

alertCount = 0;
if (Object.keys(json.alerts).length > 0) {
$(“#mrd-wx-alerts .modal-body “).empty();
}
$.each(json.alerts, function(key, val) {
alertCount++;
$(“#mrd-wx-alerts .alert_count”).text(alertCount);
$(“#mrd-wx-alerts .modal-body “).append(‘

‘);
$(“#mrd-wx-alerts .modal-body #mrd-alert”+ alertCount).append(”

“+val.title+”

“);

// if (window.location.hostname == “www.kmov.com” || window.location.hostname == “www.kctv5.com” || window.location.hostname == “www.azfamily.com” || window.location.hostname == “www.kptv.com” || window.location.hostname == “www.fox5vegas.com” || window.location.hostname == “www.wfsb.com”) {
if (val.poly != “” && val.polyimg != “”) {
$(“#mrd-wx-alerts .modal-body #mrd-alert”+ alertCount).append(‘
'+val.title+'‘);
} else if (val.fips != “” && val.fipsimg != “”) {
// $(“#mrd-wx-alerts .modal-body #mrd-alert”+ alertCount).append(‘
'+val.title+'‘);
}
// }

//val.instr = val.instr.replace(/[W_]+/g,” “);
$(“#mrd-wx-alerts .modal-body #mrd-alert”+ alertCount).append(val.dhtml+”

Instruction

“+val.ihtml);
$(“#mrd-wx-alerts”).show();

$(“#mrd-wx-alerts .modal-body h2”).css({“font-family”:”‘Fira Sans’, sans-serif”, “font-weight”:”500″, “padding-bottom”:”10px”});
$(“#mrd-wx-alerts .modal-body p”).css({“font-size”:”14px”, “line-height”:”24px”});
$(“#mrd-wx-alerts .modal-body span.wxalertnum”).css({“float”:”left”, “width”:”40px”, “height”:”40px”, “color”:”#ffffff”, “line-height”:”40px”, “background-color”:”#888888″, “border-radius”:”40px”, “text-align”:”center”, “margin-right”:”12px”});
$(“#mrd-wx-alerts .modal-body b”).css(“font-size”, “18px”);
$(“#mrd-wx-alerts .modal-body li”).css({“font-size”:”14px”, “line-height”:”18px”, “margin-bottom”:”10px”});
$(“#mrd-wx-alerts .modal-body ul”).css({“margin-bottom”:”24px”});
$(“#mrd-wx-alerts .modal-body pre”).css({“margin-bottom”:”24px”});
$(“#mrd-wx-alerts .modal-body img”).css({“width”:”100%”, “margin-bottom”:”20px”, “borderWidth”:”1px”, “border-style”:”solid”, “border-color”:”#aaaaaa”});
$(“#mrd-wx-alerts .modal-body #mrd-alert”+ alertCount).css({“borderWidth”:”0″, “border-bottom-width”:”1px”, “border-style”:”dashed”, “border-color”:”#aaaaaa”, “padding-bottom”:”10px”, “margin-bottom”:”40px”});
});
}

// Check if String or Object
function check(obj) {
if (typeof obj == ‘string’){
return String(obj);
} else {
return “”;
}
}

Leave a Reply