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:45] – 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 input[type=" | + | .range-group |
- | | + | |
+ | align-items: | ||
+ | gap: 0.5em; | ||
} | } | ||
- | .filters output | + | .range-group input[type=" |
- | | + | |
+ | } | ||
+ | .range-group output { | ||
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; | list-style: none; | ||
} | } | ||
Line 52: | Line 40: | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
} | } | ||
- | .grid { | + | .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 69: | Line 61: | ||
border-radius: | border-radius: | ||
border: 1px solid #ccc; | border: 1px solid #ccc; | ||
- | margin-bottom: | ||
} | } | ||
.kengetallen table { | .kengetallen table { | ||
Line 78: | 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=" | ||
+ | <input type=" | ||
+ | <output id=" | ||
+ | </div> | ||
- | | + | |
- | <input type=" | + | <div class=" |
- | + | | |
- | <label for=" | + | <input type=" |
- | <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 142: | 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 151: | 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) { | ||
Line 160: | Line 164: | ||
const a = document.createElement(' | const a = document.createElement(' | ||
a.href = '#' | a.href = '#' | ||
- | a.innerText | + | a.textContent |
const img = document.createElement(' | const img = document.createElement(' | ||
img.src = overzicht; | img.src = overzicht; | ||
Line 170: | Line 174: | ||
} | } | ||
- | ['fsi', 'gsi', 'osr' | + | ['fsi_min', 'fsi_max', 'gsi_min', |
document.getElementById(id).addEventListener(' | document.getElementById(id).addEventListener(' | ||
}); | }); |
handleiding_nieuw/spacematrix/h2.1744638338.txt.gz · Last modified: 2025/04/14 13:45 by support