{"id":20,"date":"2017-03-03T04:17:57","date_gmt":"2017-03-03T04:17:57","guid":{"rendered":"http:\/\/serdedekind.com\/workspace3\/?page_id=20"},"modified":"2018-12-13T12:03:41","modified_gmt":"2018-12-13T10:03:41","slug":"live-games","status":"publish","type":"page","link":"https:\/\/chessfed.gr\/champs2018\/live-games\/","title":{"rendered":"Live Games"},"content":{"rendered":"<p><script type=\"text\/javascript\">\nif (screen.width < 766) { window.location = \"http:\/\/chessfed.gr\/champs2018\/live-games-mobile\/\" }\n<\/script><\/p>\n<div class=\"livetab\"><button id=\"OpenDefault\" onclick=\"openCat(event, 'open')\" class=\"livetablinks\">\u03a0\u03b1\u03bd\u03b5\u03bb\u03bb\u03ae\u03bd\u03b9\u03bf \u03a0\u03c1\u03c9\u03c4\u03ac\u03b8\u03bb\u03b7\u03bc\u03b1<\/button><button class=\"livetablinks green-btn\" onclick=\"openCat(event, 'women')\">\u03a0\u03b1\u03bd\u03bd\u03b5\u03bb\u03ae\u03bd\u03b9\u03bf \u03a0\u03c1\u03c9\u03c4\u03ac\u03b8\u03bb\u03b7\u03bc\u03b1 \u0393\u03c5\u03bd\u03b1\u03b9\u03ba\u03ce\u03bd<\/button><\/div>\n<div id=\"open\" class=\"livetabcontent\"><\/div>\n<div id=\"women\" class=\"livetabcontent\"><\/div>\n<p><script>\nvar firstTime = [true,true];\nfunction openCat(evt, catName) {\n    var i, tabcontent, tablinks;\n    tabcontent = document.getElementsByClassName(\"livetabcontent\");\n    for (i = 0; i < tabcontent.length; i++) {\n        tabcontent[i].style.display = \"none\";\n    }\n    tablinks = document.getElementsByClassName(\"livetablinks\");\n    for (i = 0; i < tablinks.length; i++) {\n        tablinks[i].className = tablinks[i].className.replace(\" active\", \"\");\n    }\n\n       if(catName == \"open\"){\n          if(firstTime[0]){\nconsole.log(firstTime[0]); \n\t\t\t\tjQuery(document).ready(function() {\n\t\t\t\t\t\t\tjQuery('#open').load('..\/live\/open.html', function() {\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t});\n\t\t\t\t});\n            firstTime[0]=false;\nconsole.log(firstTime[0]); \n            }\n\t} else if (catName == \"women\") {\n             if(firstTime[1]){\n\t\t\t\tjQuery(document).ready(function() {\n\t\t\t\t\t\t\tjQuery('#women').load('..\/live\/women.html', function() {\n\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t});\n\t\t\t\t});\n             firstTime[1]=false;\n             }\n\t}\n\t\tdocument.getElementById(catName).style.display = \"block\";\n\t\tevt.currentTarget.className += \" active\";\n}\ndocument.getElementById(\"OpenDefault\").click();\n\n\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u03a0\u03b1\u03bd\u03b5\u03bb\u03bb\u03ae\u03bd\u03b9\u03bf \u03a0\u03c1\u03c9\u03c4\u03ac\u03b8\u03bb\u03b7\u03bc\u03b1\u03a0\u03b1\u03bd\u03bd\u03b5\u03bb\u03ae\u03bd\u03b9\u03bf \u03a0\u03c1\u03c9\u03c4\u03ac\u03b8\u03bb\u03b7\u03bc\u03b1 \u0393\u03c5\u03bd\u03b1\u03b9\u03ba\u03ce\u03bd<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-fullwidth.php","meta":{"footnotes":""},"class_list":["post-20","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/chessfed.gr\/champs2018\/wp-json\/wp\/v2\/pages\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chessfed.gr\/champs2018\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/chessfed.gr\/champs2018\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/chessfed.gr\/champs2018\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chessfed.gr\/champs2018\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":18,"href":"https:\/\/chessfed.gr\/champs2018\/wp-json\/wp\/v2\/pages\/20\/revisions"}],"predecessor-version":[{"id":431,"href":"https:\/\/chessfed.gr\/champs2018\/wp-json\/wp\/v2\/pages\/20\/revisions\/431"}],"wp:attachment":[{"href":"https:\/\/chessfed.gr\/champs2018\/wp-json\/wp\/v2\/media?parent=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}