pedf
/
spolky
Archived
1
0
Fork 0

Odstranění čáry a nápisu u pavučiny

master
Emil Miler 4 years ago
parent 38695fccc9
commit e549da35d6

@ -329,10 +329,10 @@
}, 70);
} else {
setTimeout(() => {
let cinnosti = document.getElementById("cinnosti");
/* let cinnosti = document.getElementById("cinnosti"); */
let plusko = document.getElementById("plusko")
obobo[0] = [ cinnosti.clientHeight, cinnosti.clientWidth, cinnosti.offsetLeft, cinnosti.offsetTop ];
/* obobo[0] = [ cinnosti.clientHeight, cinnosti.clientWidth, cinnosti.offsetLeft, cinnosti.offsetTop ]; */
obobo[1] = [ plusko.clientHeight, plusko.clientWidth, plusko.offsetLeft, plusko.offsetTop ];
console.log(obobo);
@ -419,10 +419,10 @@
console.log(what);
} else {
let cinnosti = document.getElementById("cinnosti");
/* let cinnosti = document.getElementById("cinnosti"); */
let plusko = document.getElementById("plusko")
obobo[0] = [ cinnosti.clientHeight, cinnosti.clientWidth, cinnosti.offsetLeft, cinnosti.offsetTop ];
/* obobo[0] = [ cinnosti.clientHeight, cinnosti.clientWidth, cinnosti.offsetLeft, cinnosti.offsetTop ]; */
obobo[1] = [ plusko.clientHeight, plusko.clientWidth, plusko.offsetLeft, plusko.offsetTop ];
console.log(obobo);
@ -432,10 +432,10 @@
onMount(() => {
if (window.innerWidth <= 800)
clicked = true;
let cinnosti = document.getElementById("cinnosti");
/* let cinnosti = document.getElementById("cinnosti"); */
let plusko = document.getElementById("plusko")
obobo[0] = [ cinnosti.clientHeight, cinnosti.clientWidth, cinnosti.offsetLeft, cinnosti.offsetTop ];
/* obobo[0] = [ cinnosti.clientHeight, cinnosti.clientWidth, cinnosti.offsetLeft, cinnosti.offsetTop ]; */
obobo[1] = [ plusko.clientHeight, plusko.clientWidth, plusko.offsetLeft, plusko.offsetTop ];
console.log(obobo);
@ -580,22 +580,6 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<div class="cross top-right"></div>
</div>
</div>
{:else }
<div class="labels" transition:scale="{{duration: 700, opacity: 0.1, start: 0.2, easing: quintOut}}">
<span class="label" id="cinnosti" transition:scale="{{duration: 700, opacity: 0.1, start: 0.2, easing: quintOut}}" style="left: 50%; position: absolute; transform: translateX(-50%)">
Činnosti ve spolcích a SOR
</span>
<svg width="1200" height="800" style="position: absolute; left: 0; top: 0">
<line
x1="{600}"
y1="{obobo[0][3]}"
x2="{600}"
y2="{400}"
stroke="black"
stroke-dasharray="5,5"
/>
</svg>
</div>
{/if}
<canvas id="dots">
</canvas>