more styling on hover/tabs

master
Angeliki 6 years ago
parent 8dd13722ea
commit 103945c341

@ -11,11 +11,15 @@
</head> </head>
<body> <body>
<h4 align="right">This is (the unfloding of) an<span style="font-size:50"> audio zine</span> on amplification of female and collective voices.</h4> <h4 align="right">This is (the unfloding of) an<span style="font-size:50"> audio zine</span> on amplification of female and collective voices.</h4>
<!-- for about -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
<div style="top: 10px;">
<a style="font-size: 28px;margin-right: 90%;" href="#" title="It is a collection of audio recordings coming from meetings I co-organised, internet sources, podcasts and soundwalks. 'Revisiting podcasts' questions the establishment of authoritative/male voices that create exclusive speech platforms, along the assumption that voices have to be rational, authoritative (voice of expertise) etc. The intervention that changes the paradigm becomes a set of podcasts that revisit the sound material produced in situated amplification meetings and soundwalks. Every podcast includes the previous one, on a way that creates repetetive layers of the same material. Creating presence by repetetion.'Revisiting podcasts' are upsetting binaries such as male/female, expert/amateur, rational/irrational">About</a></div>
<!-- menu --> <!-- menu -->
<div align="left"> <!-- <div align="left">
<div class="tooltip-wrap"> <div class="tooltip-wrap">
<p style="font-size: 28px;background-color: lightgrey; margin-right: 90%;width: 150px;">Dive into</p> <p style="font-size: 28px;background-color: lightgrey; margin-right: 90%;width: 150px;">Dive into</p>
<div class="tooltip-content-down" style="font-size: 28px;min-width: 1800px;"> <div class="tooltip-content-down" style="font-size: 28px;min-width: 1800px;">
@ -40,12 +44,35 @@
</li> </li>
</div> </div>
</div> </div>
</div> -->
<div class="tab">
<button class="tablinks" style="position: absolute;font-size: 28px;margin-right: 90%; padding: 8px !important;" onclick="openCity(event, 'menu')">Dive Into</button>
</div>
<div id="menu" class="tabcontent" style="left: 5px !important; top: 300px !important; width: 1400px !important;padding: 0px 0px 0px 0px !important;">
<span onclick="this.parentElement.style.display='none'" class="topright">&times</span>
<ul>
<li class="list" style="border-top: none !important;">
<a href="podcast1.php" target="_blank">Podcasts <div class="description">AUDIO MOMENTS</div></a>
</li>
<li class="list">
<a href="texts/thesis/thesis-angeliki.html" target="_blank">Let' s Talk About Unspeakable Things <div class="description">THESIS</div></a>
</li>
<li class="list">
<a href="amplification.html" target="_blank">Amplification of female voices <div class="description">VOCAL EXERCISES, MEETINGS</div></a>
</li>
<li class="list">
<a href="../Grad_project proposal/1902_describe-soundwalks/West Rotterdam/leeszaal_repetition.html" target="_blank">Diary of West Rotterdam <div class="description">PROCESS, ARCHIVE</div></a>
</li>
<li class="list">
<a href="player.html" target="_blank">Player <div class="description">ARCHIVE</div></a>
</li></ul></div>
</div> </div>
<!-- for about -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.10.2/jquery-ui.min.js"></script>
<a style="font-size: 28px;margin-right: 90%;" href="#" title="It is a collection of audio recordings coming from meetings I co-organised, internet sources, podcasts and soundwalks. 'Revisiting podcasts' questions the establishment of authoritative/male voices that create exclusive speech platforms, along the assumption that voices have to be rational, authoritative (voice of expertise) etc. The intervention that changes the paradigm becomes a set of podcasts that revisit the sound material produced in situated amplification meetings and soundwalks. Every podcast includes the previous one, on a way that creates repetetive layers of the same material. Creating presence by repetetion.'Revisiting podcasts' are upsetting binaries such as male/female, expert/amateur, rational/irrational">About</a>
@ -81,6 +108,24 @@ var tooltips = $('a[title]').on('mouseleave focusout mouseover focusin', functio
}); });
</script> </script>
<!-- scripts for tab button -->
<script>
function openCity(evt, cityName) {
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
tablinks = document.getElementsByClassName("tablinks");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
document.getElementById(cityName).style.display = "block";
evt.currentTarget.className += " active";
}
</script>
</body> </body>
</html> </html>

@ -7,6 +7,8 @@
<body> <body>
<a href="podcast1.php">Podcasts</a>
<!-- <div class="tooltip-wrap" align="center"> <!-- <div class="tooltip-wrap" align="center">
<p style="background-color: lightgrey;width: 200px;">Digital Utterance</p> <p style="background-color: lightgrey;width: 200px;">Digital Utterance</p>
<div class="tooltip-content-down" style="max-width: 1000px;left: 50% !important;"> <div class="tooltip-content-down" style="max-width: 1000px;left: 50% !important;">
@ -139,10 +141,7 @@
<div class="tooltip-content-up"> <div class="tooltip-content-up">
<table> <table>
<tr> <tr>
<td><img src="images/soundwalk-photo1.jpg" width="300px" />
</td>
<td><img src="images/soundwalk-photo3.jpg" width="300px" />
</td>
</tr> </tr>
</table> </table>
</div> </div>
@ -188,8 +187,6 @@
</table> </table>
</div> </div>
</div> </div>
<div class="tooltip-wrap" style="position:absolute; top:27%; left:29%;"> <div class="tooltip-wrap" style="position:absolute; top:27%; left:29%;">
<audio controls src="audio/finearts-meeting-extracts.mp3"></audio>reading extracts @Fine Arts <audio controls src="audio/finearts-meeting-extracts.mp3"></audio>reading extracts @Fine Arts
<div class="tooltip-content-down"> <div class="tooltip-content-down">
@ -218,8 +215,10 @@
</div> </div>
<div id="feedback" class="tabcontent"> <div id="feedback" class="tabcontent">
<span onclick="this.parentElement.style.display='none'" class="topright">&times</span> <span onclick="this.parentElement.style.display='none'" class="topright">&times</span>
<p>I walked around Leeszaal and recorded... <p>I recorded sounds from West Rotterdam, while walking around a neighborhood for several days. This action was part of my first experiments when I was in attempt to understand how gender binaries regarding voice are reflected in space, especially public space.
</p></div> </p>
<div class="row"><div class="column" style="padding-right: 120px;"><img width="290px" src="images/soundwalk-photo1.jpg" /></div><div class="column"><img width="290px" src="images/soundwalk-photo3.jpg" /></div></div>
</div>
</div> </div>
<div class="tooltip-wrap"> <div class="tooltip-wrap">

@ -10,6 +10,7 @@
<a href="podcast1.php" class="active">Podcast1 </a> <a href="podcast1.php" class="active">Podcast1 </a>
<a href="podcast2.php">Podcast2 </a> <a href="podcast2.php">Podcast2 </a>
<a href="podcast3.php">Podcast3 </a> <a href="podcast3.php">Podcast3 </a>
<a href="podcast4.php">Podcast4 </a>
</div> </div>
@ -34,7 +35,7 @@ echo '</p></div></td>'; } ?>
<div align="center"> <div align="center">
<div style="width: 500px;border:1px red;border-style: dashed;padding: 10px;"> <div style="width: 500px;border:1px red;border-style: dashed;padding: 10px;">
<p>Dear listener,</p> <p>Dear listener,</p>
<p>you are invited to amplify parts of the podcasts that you find interesting by repeating/recording them or annotate them with your vocal comments </p> <p>you are invited to amplify parts of the podcasts that you find interesting by repeating them or annotate them with your vocal messages. You can listen to the podcasts with headphones... </p>
</div> </div>
<!-- https://github.com/mdn/web-dictaphone/ --> <!-- https://github.com/mdn/web-dictaphone/ -->

@ -0,0 +1,186 @@
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="styles/stylesheet.css" rel="stylesheet" type="text/css">
</head>
<body>
<div class="navbar">
<a href="podcast1.php">Podcast1 </a>
<a href="podcast2.php">Podcast2 </a>
<a href="podcast3.php">Podcast3 </a>
<a href="podcast4.php" class="active">Podcast4 </a>
</div>
<h3>
"City Sounds Reveal Voice Binaries"
</h3>
<table><tr>
<?php
$files = glob("podcasts/podcast4/*.mp3");
for ($i=0; $i<count($files); $i++)
{$num = $files[$i];
$var1 = $_GET["files"]["name"];
echo '<td><div class="tooltip-wrap"><audio src='.$num.' controls></audio><div class="tooltip-content-down" style="min-width:1100px;>';include $num.'.txt';
echo '</div><p style="font-size:14px;line-height:1;text-align: left;">';
include $num.'-METADATA.txt';
echo '</p></div></td>'; } ?>
</tr></table>
<br>
<div align="center">
<div style="width: 500px;border:1px red;border-style: dashed;padding: 10px;">
<p>Dear listener,</p>
<p>you are invited to amplify parts of the podcasts that you find interesting by repeating them or annotate them with your vocal messages. You can listen to the podcasts with headphones... </p>
</div>
<!-- https://github.com/mdn/web-dictaphone/ -->
<div class="wrapper">
<section class="main-controls">
<canvas class="visualizer" height="60px"></canvas>
<div id="buttons">
<button class="record">Record</button>
<button class="stop">Stop</button>
</div>
</section>
<section class="sound-clips">
</section>
</div>
</div>
<section style="float:right;">
<!-- save the new recordings -->
<!-- <?php
if(!is_dir("recordings")){
$res = mkdir("recordings",0777);
}
// pull the raw binary data from the POST array
$data = substr($_POST['data'], strpos($_POST['data'], ",") + 1);
$filename = urldecode($_POST['fname']);
// write the data out to the file
$fp = fopen('recordings/'.$filename, 'wb');
fwrite($fp, $decodedData);
fclose($fp);
?> -->
<!-- scripts for dictaphone -->
<script src="scripts/mediaDevices-getUserMedia-polyfill.js"></script>
<!-- Below is your custom application script -->
<script src="scripts/app.js"></script>
<script>
function saveAudio(){
var req = null;
var url = "savefile.php";
var data = document.getElementById("save").href.toString();// document.getElementById("save").innerHTML;// = xhttp.responseText;; // you have to check how to get the data from your saveAudio() method
window.alert(data);
(window.XMLHttpRequest) ? req = new XMLHttpRequest() : (window.ActiveXObject) ? req = new ActiveXObject("Microsoft.XMLHTTP") : req = false;
req.open("POST", url, true);
req.setRequestHeader("Content-Type", "multipart/form-data");
if(data != null) //&& data != "")
{
req.setRequestHeader("Content-length", data.length);
req.send(data);
}}
// <!-- attempt to save the new recordings -->
<?php
$save_folder = dirname(__FILE__) ."/js";
if(! file_exists($save_folder)) {
if(! mkdir($save_folder)) {
die("failed to create save folder $save_folder");
}
}
$key = 'filename';
$tmp_name = $_FILES["audiofile"]["tmp_name"];
$upload_name = $_FILES["audiofile"]["name"];
$type = $_FILES["audiofile"]["type"];
$filename = "$save_folder/$upload_name";
$saved = 0;
if(($type == 'audio/x-wav' || $type == 'application/octet-stream') && preg_match('/^[a-zA-Z0-9_\-]+\.wav$/', $upload_name) ) {
$saved = move_uploaded_file($tmp_name, $filename) ? 1 : 0;
}
//name is needed to send in the php file
?>
</script>
<!-- save recordings -->
<!-- <script>
function uploadAudio(mp3Data){
var reader = new FileReader();
reader.onload = function(event){
var fd = new FormData();
var mp3Name = encodeURIComponent('audio_recording_' + new Date().getTime() + '.mp3');
console.log("mp3name = " + mp3Name);
fd.append('fname', mp3Name);
fd.append('data', event.target.result);
$.ajax({
type: 'POST',
url: 'upload.php',
data: fd,
processData: false,
contentType: false
}).done(function(data) {
//console.log(data);
log.innerHTML += "\n" + data;
});
};
reader.readAsDataURL(mp3Data);
}
</script> -->
<!-- script for subs and sound -->
<script>
var dialogueTimings = [10,24,28,58,115,120,124,134,138,142,152,160],
dialogues = document.querySelectorAll('#transcript>div'),
transcriptWrapper = document.querySelector('#transcriptWrapper'),
audio = document.querySelector('#a2'),
previousDialogueTime = -1;
function playTranscript() {
var currentDialogueTime = Math.max.apply(Math, dialogueTimings.filter(function(v){return v <= audio.currentTime}));
if(previousDialogueTime !== currentDialogueTime) {
previousDialogueTime = currentDialogueTime;
var currentDialogue = dialogues[dialogueTimings.indexOf(currentDialogueTime)];
transcriptWrapper.scrollTop = currentDialogue.offsetTop - 50;
var previousDialogue = document.getElementsByClassName('speaking')[0];
if(previousDialogue !== undefined)
previousDialogue.className = previousDialogue.className.replace('speaking','');
currentDialogue.className +=' speaking';
}
}
;
</script>
</body>
</html>

@ -364,7 +364,6 @@ cursor: pointer;
.column { .column {
float: left; float: left;
width: 30%; width: 30%;
padding: 5px;
} }
/* Clear floats after image containers */ /* Clear floats after image containers */

Loading…
Cancel
Save