{"id":2222,"date":"2014-04-16T18:44:15","date_gmt":"2014-04-16T18:44:15","guid":{"rendered":"http:\/\/www.montessori-childrenshouse.ch\/?page_id=2222"},"modified":"2019-06-23T23:31:33","modified_gmt":"2019-06-23T21:31:33","slug":"umgebung","status":"publish","type":"page","link":"https:\/\/www.montessori-lenzburg.ch\/en\/about\/umgebung\/","title":{"rendered":"Surrounding Area"},"content":{"rendered":"<script>\/\/ <![CDATA[\njQuery(document).ready(function($) {\n\t\tvar $container = jQuery('#portfolio-grid'),\n\t\t\tfilters = {};\n\t\t$container.imagesLoaded( function(){\t\n\t\t\tsetColumnWidth();\n\t\t\t$container.isotope({\n\t\t\t\titemSelector : '.portfolio_item',\n\t\t\t\tresizable : false,\n\t\t\t\ttransformsEnabled : true,\n\t\t\t\tlayoutMode: 'fitRows'\n\t\t\t});\t\t\n\t\t});\n\t\t\n\t\tfunction getNumColumns(){\n\t\t\t\n\t\t\tvar $folioWrapper = jQuery('#portfolio-grid').data('cols');\n\t\t\t\n\t\t\tif($folioWrapper == '1col') {\n\t\t\t\tvar winWidth = jQuery(\"#portfolio-grid\").width();\t\t\n\t\t\t\tvar column = 1;\t\t\n\t\t\t\treturn column;\n\t\t\t}\n\t\t\t\n\t\t\tif($folioWrapper == '2cols') {\n\t\t\t\tvar winWidth = jQuery(\"#portfolio-grid\").width();\t\t\n\t\t\t\tvar column = 2;\t\t\n\t\t\t\tif (winWidth<380) column = 1;\n\t\t\t\treturn column;\n\t\t\t}\n\t\t\t\n\t\t\telse if ($folioWrapper == '3cols') {\n\t\t\t\tvar winWidth = jQuery(\"#portfolio-grid\").width();\t\t\n\t\t\t\tvar column = 3;\t\t\n\t\t\t\tif (winWidth<380) column = 1; \t\t\t\telse if(winWidth>=380 && winWidth<788)  column = 2; \t\t\t\telse if(winWidth>=788 && winWidth<1160)  column = 3; \t\t\t\telse if(winWidth>=1160) column = 3;\n\t\t\t\treturn column;\n\t\t\t}\n\t\t\t\n\t\t\telse if ($folioWrapper == '4cols') {\n\t\t\t\tvar winWidth = jQuery(\"#portfolio-grid\").width();\t\t\n\t\t\t\tvar column = 4;\t\t\n\t\t\t\tif (winWidth<380) column = 1; \t\t\t\telse if(winWidth>=380 && winWidth<788)  column = 2; \t\t\t\telse if(winWidth>=788 && winWidth<1160)  column = 3; \t\t\t\telse if(winWidth>=1160) column = 4;\t\t\n\t\t\t\treturn column;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfunction setColumnWidth(){\n\t\t\tvar columns = getNumColumns();\t\t\n\t\t\n\t\t\tvar containerWidth = jQuery(\"#portfolio-grid\").width();\t\t\n\t\t\tvar postWidth = containerWidth\/columns;\n\t\t\tpostWidth = Math.floor(postWidth);\n\t \t\t\n\t\t\tjQuery(\".portfolio_item\").each(function(index){\n\t\t\t\tjQuery(this).css({\"width\":postWidth+\"px\"});\t\t\t\t\n\t\t\t});\n\t\t}\n\t\t\t\n\t\tfunction arrange(){\n\t\t\tsetColumnWidth();\t\t\n\t\t\t$container.isotope('reLayout');\t\n\t\t}\n\t\t\t\n\t\tjQuery(window).on(\"debouncedresize\", function( event ) {\t\n\t\t\tarrange();\t\t\n\t\t});\n\t\t\n\t\t\n\t\t\/\/ Filter projects\n\t\t$('.filter a').click(function(){\n\t\t\tvar $this = $(this).parent('li');\n\t\t\t\/\/ don't proceed if already active\n\t\t\tif ( $this.hasClass('active') ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tvar $optionSet = $this.parents('.filter');\n\t\t\t\/\/ change active class\n\t\t\t$optionSet.find('.active').removeClass('active');\n\t\t\t$this.addClass('active');\n\n\t\t\tvar group = $optionSet.attr('data-filter-group');\n\t\t\tfilters[ group ] = $this.find('a').attr('data-filter');\n\t\t\t\/\/ convert object into array\n\t\t\tvar isoFilters = [];\n\t\t\tfor ( var prop in filters ) {\n\t\t\t\tisoFilters.push( filters[ prop ] )\n\t\t\t}\n\t\t\tvar selector = isoFilters.join('');\n\t\t\t$container.isotope({ filter: selector });\n\n\t\t\treturn false;\n\t\t});\n\t});\n\/\/ ]]><\/script><\/p>\n<ul id=\"portfolio-grid\" class=\"filterable-portfolio thumbnails portfolio-2cols isotope\" style=\"visibility: visible;\" data-cols=\"2cols\">\n<li class=\"portfolio_item services-category-1 services-category-2 services-category-3  consectetur  isotope-item\" style=\"width: 595px; min-height: 420px;\">\n<div class=\"portfolio_item_holder\">\n<figure class=\"thumbnail thumbnail__portfolio\"><a class=\"image-wrap\" title=\"Playground\" href=\"https:\/\/www.montessori-lenzburg.ch\/wp-content\/uploads\/2019\/06\/spielplatz.jpg\" rel=\"prettyPhoto\"><img decoding=\"async\" src=\"https:\/\/www.montessori-lenzburg.ch\/wp-content\/uploads\/2019\/06\/spielplatz.jpg\" alt=\"Image Format\" \/><\/a><\/figure>\n<p><span style=\"font-weight: bold;\">Playground<\/span><br \/>\nOur School uses the playground of the area on a daily basis.<\/p>\n<\/div>\n<\/li>\n<li class=\"portfolio_item services-category-1 services-category-2 services-category-3  consectetur  isotope-item\" style=\"width: 560px; min-height: 420px;\">\n<div class=\"portfolio_item_holder\">\n<figure class=\"thumbnail thumbnail__portfolio\"><a class=\"image-wrap\" title=\"Forest nest\" href=\"https:\/\/www.montessori-lenzburg.ch\/wp-content\/uploads\/2019\/05\/wald.jpg\" rel=\"prettyPhoto\"><img decoding=\"async\" src=\"https:\/\/www.montessori-lenzburg.ch\/wp-content\/uploads\/2019\/05\/wald.jpg\" alt=\"Image Format\" \/><\/a><\/figure>\n<p><span style=\"font-weight: bold;\">Forest nest<\/span><br \/>\nOur Forest area is located not too far from the School. We have set up our forest nest, which takes place once a week in the afternoon.<\/p>\n<\/div>\n<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"Playground Our School uses the playground of the area on a daily basis. Forest nest Our Forest area is located not too far from the School. We have set up our forest nest, which takes place once a week in the afternoon.","protected":false},"author":1,"featured_media":0,"parent":1797,"menu_order":6,"comment_status":"open","ping_status":"open","template":"page-fullwidth.php","meta":{"footnotes":""},"class_list":["post-2222","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/www.montessori-lenzburg.ch\/en\/wp-json\/wp\/v2\/pages\/2222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.montessori-lenzburg.ch\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.montessori-lenzburg.ch\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.montessori-lenzburg.ch\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.montessori-lenzburg.ch\/en\/wp-json\/wp\/v2\/comments?post=2222"}],"version-history":[{"count":20,"href":"https:\/\/www.montessori-lenzburg.ch\/en\/wp-json\/wp\/v2\/pages\/2222\/revisions"}],"predecessor-version":[{"id":3365,"href":"https:\/\/www.montessori-lenzburg.ch\/en\/wp-json\/wp\/v2\/pages\/2222\/revisions\/3365"}],"up":[{"embeddable":true,"href":"https:\/\/www.montessori-lenzburg.ch\/en\/wp-json\/wp\/v2\/pages\/1797"}],"wp:attachment":[{"href":"https:\/\/www.montessori-lenzburg.ch\/en\/wp-json\/wp\/v2\/media?parent=2222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}