handleiding_nieuw:spacematrix:h2
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| handleiding_nieuw:spacematrix:h2 [2025/04/14 13:38] – support | handleiding_nieuw:spacematrix:h2 [2025/04/14 16:13] (current) – support | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| < | < | ||
| < | < | ||
| - | .voorbeeldblok { | ||
| - | max-width: 900px; | ||
| - | margin: 2em auto; | ||
| - | font-family: | ||
| - | line-height: | ||
| - | } | ||
| - | .voorbeeldblok h2 { | ||
| - | border-bottom: | ||
| - | padding-bottom: | ||
| - | } | ||
| - | .filters { | ||
| - | background-color: | ||
| - | padding: 1em; | ||
| - | margin-bottom: | ||
| - | border-radius: | ||
| - | } | ||
| .filters label { | .filters label { | ||
| + | margin-top: 1em; | ||
| display: block; | display: block; | ||
| - | | + | |
| } | } | ||
| - | .filters | + | .range-group { |
| - | | + | display: flex; |
| + | align-items: | ||
| + | gap: 0.5em; | ||
| + | } | ||
| + | .range-group | ||
| + | | ||
| } | } | ||
| - | .filters | + | .range-group |
| - | display: inline-block; | + | |
| width: 40px; | width: 40px; | ||
| text-align: right; | text-align: right; | ||
| - | margin-left: | ||
| } | } | ||
| .overzicht { | .overzicht { | ||
| Line 34: | Line 22: | ||
| border: 1px solid #ccc; | border: 1px solid #ccc; | ||
| padding: 1em; | padding: 1em; | ||
| - | margin-bottom: 2em; | + | margin: 2em 0; |
| } | } | ||
| .overzicht ul { | .overzicht ul { | ||
| - | padding-left: | + | padding-left: |
| + | list-style: none; | ||
| } | } | ||
| - | .grid { | + | .overzicht li { |
| + | display: flex; | ||
| + | align-items: | ||
| + | gap: 10px; | ||
| + | margin-bottom: | ||
| + | } | ||
| + | .overzicht li img { | ||
| + | width: 50px; | ||
| + | height: auto; | ||
| + | border-radius: | ||
| + | border: 1px solid #ccc; | ||
| + | } | ||
| + | .projectblok { | ||
| + | display: none; | ||
| + | margin-bottom: | ||
| + | } | ||
| + | .projectgrid | ||
| display: flex; | display: flex; | ||
| flex-wrap: wrap; | flex-wrap: wrap; | ||
| gap: 1em; | gap: 1em; | ||
| - | margin-bottom: 1.5em; | + | margin: |
| } | } | ||
| - | .grid img { | + | .projectgrid |
| - | width: 100%; | + | |
| max-width: 400px; | max-width: 400px; | ||
| + | width: 100%; | ||
| border-radius: | border-radius: | ||
| border: 1px solid #aaa; | border: 1px solid #aaa; | ||
| Line 56: | Line 61: | ||
| border-radius: | border-radius: | ||
| border: 1px solid #ccc; | border: 1px solid #ccc; | ||
| - | margin-bottom: | ||
| } | } | ||
| .kengetallen table { | .kengetallen table { | ||
| Line 65: | Line 69: | ||
| padding: 0.3em 0.6em; | padding: 0.3em 0.6em; | ||
| border-bottom: | border-bottom: | ||
| - | } | ||
| - | .projectblok { | ||
| - | display: none; | ||
| } | } | ||
| </ | </ | ||
| - | <div class=" | + | <div class=" |
| - | <div class=" | + | < |
| - | | + | <div class=" |
| - | <input type=" | + | <output id="fsi_min_val">0</ |
| - | + | <input type=" | |
| - | <label for=" | + | <input type=" |
| - | <input type=" | + | <output id=" |
| + | </div> | ||
| - | | + | |
| - | <input type=" | + | <div class="range-group"> |
| + | | ||
| + | <input type=" | ||
| + | <input type=" | ||
| + | <output id=" | ||
| </ | </ | ||
| - | <div class=" | + | |
| - | <strong>Beschikbare voorbeelden: | + | |
| - | <ul id="projectlist"></ | + | <output id=" |
| + | <input type=" | ||
| + | <input type=" | ||
| + | <output | ||
| </ | </ | ||
| + | </ | ||
| - | | + | <div class=" |
| - | <h2>Voorbeeld: | + | < |
| - | <div class=" | + | <ul id=" |
| - | <img src=" | + | </ |
| - | <img src=" | + | |
| - | <img src=" | + | <!-- BATTERSEA --> |
| - | <img src=" | + | <div class=" |
| - | </ | + | < |
| - | <div class=" | + | <div class=" |
| - | < | + | <img src=" |
| - | < | + | <img src=" |
| - | < | + | <img src=" |
| - | < | + | <img src=" |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | </ | + | |
| - | </div> | + | |
| </ | </ | ||
| + | <div class=" | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | < | ||
| + | </ | ||
| + | </ | ||
| + | </ | ||
| - | | + | <!-- NINE ELMS --> |
| - | <h2>Voorbeeld: Nine Elms Park</ | + | <div class=" |
| - | <div class=" | + | <h2>Rive Gauche - Parijs</ |
| - | <img src=" | + | <div class=" |
| - | <img src=" | + | <img src=" |
| - | </ | + | <img src=" |
| - | <div class=" | + | </ |
| - | <strong> | + | <div class=" |
| - | | + | <table> |
| - | | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | < | + | < |
| - | </table> | + | </ |
| - | </div> | + | |
| </ | </ | ||
| </ | </ | ||
| Line 129: | Line 143: | ||
| < | < | ||
| function updateFilter() { | function updateFilter() { | ||
| - | const fsiVal | + | const fsiMin |
| - | const gsiVal | + | const fsiMax |
| - | const osrVal | + | const gsiMin |
| + | const gsiMax = parseFloat(document.getElementById(' | ||
| + | const osrMin = parseFloat(document.getElementById(' | ||
| + | const osrMax = parseFloat(document.getElementById(' | ||
| const lijst = document.getElementById(' | const lijst = document.getElementById(' | ||
| lijst.innerHTML = ''; | lijst.innerHTML = ''; | ||
| Line 138: | Line 155: | ||
| const gsi = parseFloat(block.dataset.gsi); | const gsi = parseFloat(block.dataset.gsi); | ||
| const osr = parseFloat(block.dataset.osr); | const osr = parseFloat(block.dataset.osr); | ||
| - | const visible = fsi <= fsiVal | + | const visible = fsi >= fsiMin && |
| block.style.display = visible ? ' | block.style.display = visible ? ' | ||
| if (visible) { | if (visible) { | ||
| const naam = block.querySelector(' | const naam = block.querySelector(' | ||
| + | const id = block.id; | ||
| + | const overzicht = block.querySelector(' | ||
| const li = document.createElement(' | const li = document.createElement(' | ||
| const a = document.createElement(' | const a = document.createElement(' | ||
| - | a.href = '#' | + | a.href = '#' |
| a.textContent = naam; | a.textContent = naam; | ||
| + | const img = document.createElement(' | ||
| + | img.src = overzicht; | ||
| + | li.appendChild(img); | ||
| li.appendChild(a); | li.appendChild(a); | ||
| lijst.appendChild(li); | lijst.appendChild(li); | ||
| Line 152: | Line 174: | ||
| } | } | ||
| - | ['fsi', 'gsi', 'osr' | + | ['fsi_min', 'fsi_max', 'gsi_min', |
| document.getElementById(id).addEventListener(' | document.getElementById(id).addEventListener(' | ||
| }); | }); | ||
handleiding_nieuw/spacematrix/h2.1744637894.txt.gz · Last modified: 2025/04/14 13:38 by support