Friday, March 29, 2024
47.4 F
Illinois
More

    Latest Posts

    Suspect killed by Portland police in warrant assist identified

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

    “+val.title+”

    “);

    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 (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+'‘);
    }

    $(“#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 “”;
    }
    }

    Latest Posts

    Don't Miss

    Stay in touch

    To be updated with all the latest news, offers and special announcements.