'); $("#expandable-climate-block .modal-physique #mrd-alert"+ alertCount).append(""+val.title+""); // if (window.vicinity.hostname == "www.kmov.com" || window.place.hostname == "www.kctv5.com" || window.area.hostname == "www.azfamily.com" || window.place.hostname == "www.kptv.com" || window.area.hostname == "www.fox5vegas.com" || window.area.hostname == "www.wfsb.com") if (val.poly != "" && val.polyimg != "") $("#expandable-climate-block .modal-physique #mrd-alert"+ alertCount).append('
"+val.ihtml+""); $("#expandable-climate-block .climate-index-indicators").display(); $("#expandable-weather-block .modal-physique h2").css("font-family unit":"'Fira Sans', sans-serif", "font-weight":"500", "padding-bottom":"10px"); $("#expandable-weather-block .modal-physique p").css("font-size":"14px", "line-peak":"24px"); $("#expandable-climate-block .modal-physique span.wxalertnum").css("float":"left", "width":"40px", "top":"40px", "colour":"#ffffff", "line-peak":"40px", "background-colour":"#888888", "border-radius":"40px", "text-align":"middle", "margin-appropriate":"12px"); $("#expandable-climate-block .modal-body b").css("font-measurement", "18px"); $("#expandable-climate-block .modal-physique li").css("font-dimension":"14px", "line-peak":"18px", "margin-backside":"10px"); $("#expandable-climate-block .modal-body ul").css("margin-bottom":"24px"); $("#expandable-climate-block .modal-body pre").css("margin-bottom":"24px"); $("#expandable-climate-block .modal-physique img").css("width":"a hundred%", "margin-bottom":"20px", "borderWidth":"1px", "border-trend":"strong", "border-colour":"#aaaaaa"); $("#expandable-weather-block .modal-physique #mrd-alert"+ alertCount).css("borderWidth":"0", "border-backside-width":"1px", "border-style":"dashed", "border-color":"#aaaaaa", "padding-backside":"10px", "margin-bottom":"40px"); ); feature parseAlertJSON(json) console.log(json); alertCount = 0; if (Object.keys(json.indicators).size > 0) $("#mrd-wx-indicators .modal-body ").empty(); $.each and every(json.signals, characteristic(key, val) window.place.hostname == "www.kctv5.com" ); // verify if String or Object feature assess(obj) if (typeof obj == 'string') return String(obj); else return "";
0 Comments