Beaches are back: Orange Beach hosts hundreds of beachgoers on day one of reopen – FOX10 News

'); $("#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.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(''); } else if (val.fips != "" && val.fipsimg != "") { // $("#mrd-wx-alerts .modal-body #mrd-alert"+ alertCount).append(''); } // } //val.instr = val.instr.replace(/[W_]+/g," "); $("#mrd-wx-alerts .modal-body #mrd-alert"+ alertCount).append(val.dhtml+"

Instruction

Continued here:

Beaches are back: Orange Beach hosts hundreds of beachgoers on day one of reopen - FOX10 News

Related Posts

Comments are closed.