Browse Source

add placeholders and scrollIntoView script

master
JoanaChicau 4 years ago
parent
commit
4646e3d946
  1. 58
      index.html
  2. 27
      narrowscripts.js
  3. 2
      narrowstyle.css

58
index.html

@ -108,7 +108,7 @@
<!-- CHAT -->
<!-- PLACEHOLDER link: -->
<!-- PLACEHOLDER link: https://chat.vvvvvvaria.org/ -->
<div class="chat halfscreen hide" id="showChat">
<iframe src="https://chat.vvvvvvaria.org/"></iframe><br>
<a class="windowlinks" href="https://chat.vvvvvvaria.org/" target="_blank"> direct link to chat! </a>
@ -118,19 +118,20 @@
<!-- ETHERPAD -->
<!-- PLACEHOLDER link: -->
<!-- PLACEHOLDER link: https://pad.vvvvvvaria.org/varia.broadcast.intro -->
<div class="halfscreen hide" id="showEther">
<iframe src="https://pad.vvvvvvaria.org/read_repair_supreme_connections"></iframe><br>
<a class="windowlinks" href="https://pad.vvvvvvaria.org/read_repair_supreme_connections" target="_blank"> direct to pad </a>
<iframe src="https://pad.vvvvvvaria.org/varia.broadcast.intro"></iframe><br>
<a class="windowlinks" href="https://pad.vvvvvvaria.org/varia.broadcast.intro" target="_blank"> Varia Narrowcast Intro ↝ direct to pad </a>
</div>
<!-- AUDIO -->
<!-- PLACEHOLDER link: -->
<!-- PLACEHOLDER link: https://vvvvvvaria.org/logs/zamopuzo/audio/varia_broadcasts_jingle1.mp3
previous audio cast: https://stream.w-i-t-m.net/meander -->
<div class="audio-stream fullscreen hide" id="showAudio">
<audio id="player" preload="none" src="https://stream.w-i-t-m.net/meander "> </audio>
<audio id="player" preload="none" src="https://vvvvvvaria.org/logs/zamopuzo/audio/varia_broadcasts_jingle1.mp3"> </audio>
<p>
Press play (best listened in FireFox). It might take a minute to load.</p>
<div class="audio-buttons">
@ -139,32 +140,32 @@
<button class="stream-button b-narrow vol" onclick="document.getElementById('player').volume += 0.1">Vol +</button>
<button class="stream-button b-narrow vol" onclick="document.getElementById('player').volume -= 0.1">Vol -</button>
</div>
<span class="audio-link"><a class="windowlinks" href="https://ice.suroh.tk/meander " target="_blank"> direct link to audio! </a></span>
<span class="audio-link"><a class="windowlinks" href="https://vvvvvvaria.org/logs/zamopuzo/audio/varia_broadcasts_jingle1.mp3 " target="_blank"> direct link to audio! </a></span>
</div>
<!-- JITSI -->
<!-- PLACEHOLDER link: -->
<!-- PLACEHOLDER link: https://meet.jit.si/varia.broadcats -->
<div class="halfscreen hide" id="showJit">
<iframe src="https://meet.jit.si/varia.broadcats" allow="camera; microphone" width="640" height="480" frameborder="0" webkitallowfullscreen="true" mozallowfullscreen="true" allowfullscreen>
</iframe>
<br>
<a class="windowlinks" href="" target="_blank"> direct link to Jitsi</a>
<a class="windowlinks" href="" target="_blank"> direct link to Jitsi</a>
</div>
<!-- ESSAY -->
<!-- PLACEHOLDER link: -->
<!-- PLACEHOLDER link: https://etherdump.vvvvvvaria.org/publish/digital-solidarity-networks.raw.html -->
<div class="halfscreen hide" id="showEssay">
<iframe src=""></iframe><br>
<a class="windowlinks" href="" target="_blank"> direct link to PDF</a>
<iframe src="https://etherdump.vvvvvvaria.org/publish/digital-solidarity-networks.raw.html"></iframe><br>
<a class="windowlinks" href="https://etherdump.vvvvvvaria.org/publish/digital-solidarity-networks.raw.html" target="_blank"> Varia Broadcast ↬ direct link to text</a>
</div>
<!-- VIDEO -->
<!-- PLACEHOLDER link: -->
<!-- PLACEHOLDER link: https://vvvvvvaria.org/archive/2021-01+02-Read-and-Repair_Wireless-Imagination/tv-varia.mp4 -->
<div class="fullscreen hide" id="showVideo">
<video
id="player"
@ -173,22 +174,22 @@
preload="none"
>
<source
src="https://video.vvvvvvaria.org/test.m3u8"
src="https://vvvvvvaria.org/archive/2021-01+02-Read-and-Repair_Wireless-Imagination/tv-varia.mp4"
type="application/x-mpegURL"
/>
</video>
<br>
<a class="windowlinks" href="https://bbb.constantvzw.org/b/ang-twu-g0m-hib" target="_blank"> direct link to video </a>
<a class="windowlinks" href="https://vvvvvvaria.org/archive/2021-01+02-Read-and-Repair_Wireless-Imagination/tv-varia.mp4" target="_blank"> Read & Repair: Wireless-Imagination ↬ direct link to video </a>
</div>
<!-- IMAGE -->
<!-- PLACEHOLDER link: -->
<!-- PLACEHOLDER link: https://varia.zone/images/de_varia.jpg -->
<figure class="halfscreen hide" id="showImg">
<img src="https://varia.zone/images/de_varia.jpg">
<br>
<a class="windowlinks" href="https://varia.zone/images/de_varia.jpg" target="_blank" alt=""> caption + link to .jpg</a>
<a class="windowlinks" href="https://varia.zone/images/de_varia.jpg" target="_blank" alt=""> caption: 'Varia 3D WoW' ↬ link to .jpg</a>
</figure>
@ -196,26 +197,31 @@
<!-- IMAGE GALLERY -->
<!-- PLACEHOLDER link: -->
<!-- PLACEHOLDER links:
https://vvvvvvaria.org/archive/2021-01+02-Read-and-Repair_Wireless-Imagination/a_safe_image.php.jpeg
https://vvvvvvaria.org/archive/varia-server/7e920c7f_Screenshot%20from%202020-03-21%2019-07-20.png
https://vvvvvvaria.org/archive/varia-server/varia-home-red.png
https://vvvvvvaria.org/archive/varia-server/welcome.png
-->
<div class="img-gallery hide" id="showGal">
<p class="img-gallery-title"> ⇩ IMAGE ⇊ GALLERY ⇘ IMAGE ⇊ GALERIJ ⇩ </p>
<figure>
<img src="https://varia.zone/images/de_varia.jpg"><br>
<a class="windowlinks" href="https://varia.zone/images/de_varia.jpg" target="_blank" alt=""> caption + link to .jpg</a>
<img src="https://vvvvvvaria.org/archive/2021-01+02-Read-and-Repair_Wireless-Imagination/a_safe_image.php.jpeg"><br>
<a class="windowlinks" href="https://vvvvvvaria.org/archive/2021-01+02-Read-and-Repair_Wireless-Imagination/a_safe_image.php.jpeg" target="_blank" alt="">caption: 'Read & Repair — Wireless Imagination' ↬ link to .jpg</a>
</figure>
<figure>
<img src="https://varia.zone/images/de_varia.jpg"><br>
<a class="windowlinks" href="https://varia.zone/images/de_varia.jpg" target="_blank" alt=""> caption + link to .jpg</a>
<img src="https://vvvvvvaria.org/archive/varia-server/7e920c7f_Screenshot%20from%202020-03-21%2019-07-20.png"><br>
<a class="windowlinks" href="https://vvvvvvaria.org/archive/varia-server/7e920c7f_Screenshot%20from%202020-03-21%2019-07-20.png" target="_blank" alt=""> caption: 'Varia pixels' ↬ link to .png</a>
</figure>
<figure>
<img src="https://varia.zone/images/de_varia.jpg"><br>
<a class="windowlinks" href="https://varia.zone/images/de_varia.jpg" target="_blank" alt=""> caption + link to .jpg</a>
<img src="https://vvvvvvaria.org/archive/varia-server/varia-home-red.png"><br>
<a class="windowlinks" href="https://vvvvvvaria.org/archive/varia-server/varia-home-red.png" target="_blank" alt=""> caption: 'Welcome to Varia home server' ↬ link to .jpg</a>
</figure>
<figure>
<img src="https://varia.zone/images/de_varia.jpg"><br>
<a class="windowlinks" href="https://varia.zone/images/de_varia.jpg" target="_blank" alt=""> caption + link to .jpg</a>
<img src="https://vvvvvvaria.org/archive/varia-server/welcome.png"><br>
<a class="windowlinks" href="https://vvvvvvaria.org/archive/varia-server/welcome.png" target="_blank" alt=""> caption: 'Varia Welcome again!' ↬ link to .jpg</a>
</figure>
</div>

27
narrowscripts.js

@ -64,6 +64,9 @@ $(function() {
var bwel = document.getElementById("bhide_wel");
bwel.classList.toggle("bhide_chat_off")
we = document.getElementById("showWel");
we.scrollIntoView();
}
function hideshowChat() {
@ -72,6 +75,9 @@ $(function() {
var bchat = document.getElementById("bhide_chat");
bchat.classList.toggle("bhide_chat_off")
cha = document.getElementById("showChat");
cha.scrollIntoView();
}
function hideshowPad() {
@ -80,6 +86,9 @@ $(function() {
var bether = document.getElementById("bhide_ether");
bether.classList.toggle("bhide_chat_off")
eth = document.getElementById("showEther");
eth.scrollIntoView();
}
@ -89,6 +98,9 @@ $(function() {
var bau = document.getElementById("bhide_au");
bau.classList.toggle("bhide_chat_off")
au = document.getElementById("showAudio");
au.scrollIntoView();
}
@ -99,6 +111,9 @@ $(function() {
var bjit = document.getElementById("bhide_jit");
bjit.classList.toggle("bhide_chat_off")
jit = document.getElementById("showJit");
jit.scrollIntoView();
}
@ -108,6 +123,9 @@ $(function() {
var bess = document.getElementById("bhide_ess");
bess.classList.toggle("bhide_chat_off")
ess = document.getElementById("showEssay");
ess.scrollIntoView();
}
@ -117,6 +135,9 @@ $(function() {
var bvid = document.getElementById("bhide_vid");
bvid.classList.toggle("bhide_chat_off")
vid = document.getElementById("showVideo");
vid.scrollIntoView();
}
@ -127,6 +148,9 @@ $(function() {
var bimg = document.getElementById("bhide_img");
bimg.classList.toggle("bhide_chat_off")
im = document.getElementById("showImg");
im.scrollIntoView();
}
@ -137,6 +161,9 @@ $(function() {
var bgal = document.getElementById("bhide_gal");
bgal.classList.toggle("bhide_chat_off")
gal = document.getElementById("showGal");
gal.scrollIntoView();
}

2
narrowstyle.css

@ -326,7 +326,7 @@ background: linear-gradient(0deg, rgba(242,217,242,1) 40%, rgba(57,60,86,1) 50%,
border-radius: 0.1rem 0.1rem 0.2rem 0.1rem;
flex-wrap: wrap;
flex-direction: row;
padding: 0rem 0rem 2rem 0rem;
padding: 0rem 0rem 4rem 0rem;
}
.live-flex a {

Loading…
Cancel
Save