{"id":2363,"date":"2017-04-14T14:09:58","date_gmt":"2017-04-14T12:09:58","guid":{"rendered":"http:\/\/meteotemplate.com\/blog\/?p=2363"},"modified":"2017-04-14T14:10:18","modified_gmt":"2017-04-14T12:10:18","slug":"block-update-current-conditions-12-0","status":"publish","type":"post","link":"https:\/\/meteotemplate.com\/blog\/?p=2363","title":{"rendered":"Block Update &#8211; Current Conditions 12.0"},"content":{"rendered":"<p>Hi guys,<\/p>\n<p>in this new version I extended the highlight feature.<\/p>\n<p>Originally, everytime the script triggered update, the timestamp flashed. Now the timestamp will only flash if that update loaded new values. So if the block update interval is shorter and the same conditions are loaded again during update, the timestamp will not flash.<\/p>\n<p>Second, now also the actual numbers (parameters) will flash &#8211; but only those that changed since last update.<\/p>\n<p>So basically the flashing is now extended to the parameters as well, not just timestamp and the flash only occurs if the value changed.<\/p>\n<p>In addition I also improved handling of decimal places:<\/p>\n<p>Example:<\/p>\n<p>Previously: 18.8, 18.9, 19, 19.1<\/p>\n<p>Now: 18.8, 18.9, 19.0, 19.1<\/p>\n<p><a href=\"http:\/\/www.meteotemplate.com\/template\/indexBlockDemoWide.php?block=current\" target=\"_blank\">DEMO<\/a><\/p>\n<p>Enjoy<\/p>\n<div style=\"min-height: 30px;display: inline-block;\"><input id=\"2363\" style=\"float: right;max-width: 50px;\" src=\"https:\/\/meteotemplate.com\/blog\/wp-content\/plugins\/wp-advanced-pdf\/asset\/images\/pdf.png\" alt=\"#TB_inline?height=230&amp;width=400&amp;inlineId=examplePopup1\" title=\"Export pdf to your Email\" class=\"thickbox export-pdf\" type=\"image\" value=\"Export to PDF\" \/><\/div>","protected":false},"excerpt":{"rendered":"<p>Hi guys, in this new version I extended the highlight feature. Originally, everytime the script triggered update, the timestamp flashed. Now the timestamp will only flash if that update loaded new values. So if the block update interval is shorter and the same conditions are loaded again during update, the timestamp will not flash. Second, &#8230; <a title=\"Block Update &#8211; Current Conditions 12.0\" class=\"read-more\" href=\"https:\/\/meteotemplate.com\/blog\/?p=2363\">Read more<span class=\"screen-reader-text\">Block Update &#8211; Current Conditions 12.0<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":886,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_exactmetrics_sitenote_active":false,"_exactmetrics_sitenote_note":"","_exactmetrics_sitenote_category":0},"categories":[85],"tags":[96],"aioseo_notices":[],"jetpack_featured_media_url":"https:\/\/meteotemplate.com\/blog\/wp-content\/uploads\/2016\/08\/station.png","_links":{"self":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2363"}],"collection":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2363"}],"version-history":[{"count":2,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2363\/revisions"}],"predecessor-version":[{"id":2365,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/2363\/revisions\/2365"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=\/wp\/v2\/media\/886"}],"wp:attachment":[{"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2363"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2363"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meteotemplate.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2363"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}