Skip to content

Instantly share code, notes, and snippets.

@BetaStacks
Last active August 21, 2017 16:08
Show Gist options
  • Save BetaStacks/b4894c5233d617d0aab6b870f8700fb7 to your computer and use it in GitHub Desktop.
Save BetaStacks/b4894c5233d617d0aab6b870f8700fb7 to your computer and use it in GitHub Desktop.
TTS of McDillDesign Team Bios
$( document ).ready(function() {
//Abbey Connor
//
var hidePlay_abbeyConnorsBio = function(){ $('.play_abbeyConnorsBio').hide(); };
var showPlay_abbeyConnorsBio = function(){ $('.play_abbeyConnorsBio').show(); };
var hidePause_abbeyConnorsBio = function(){ $('.pause_abbeyConnorsBio').hide(); };
var showPause_abbeyConnorsBio = function(){ $('.pause_abbeyConnorsBio').show(); };
var hideResume_abbeyConnorsBio = function(){ $('.resume_abbeyConnorsBio').hide(); };
var showResume_abbeyConnorsBio = function(){ $('.resume_abbeyConnorsBio').show(); };
hidePause_abbeyConnorsBio();
hideResume_abbeyConnorsBio();
// Get the 'speak' button
var play_abbeyConnorsBio = document.getElementsByClassName("play_abbeyConnorsBio")[0];
// Get the 'speak' button
var pause_abbeyConnorsBio = document.getElementsByClassName("pause_abbeyConnorsBio")[0];
// Get the 'speak' button
var resume_abbeyConnorsBio = document.getElementsByClassName("resume_abbeyConnorsBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var abbeyConnorsBio = $('div.abbeyConnorsBio').text();
//var abbeyConnorsBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_abbeyConnorsBio = function () {
// Set the text.
msg.text = abbeyConnorsBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = Samantha;
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_abbeyConnorsBio();
hidePause_abbeyConnorsBio();
showPlay_abbeyConnorsBio();
};
};
play_abbeyConnorsBio.addEventListener('click', function(e) {
if (abbeyConnorsBio.length > 0) {
speak_abbeyConnorsBio(abbeyConnorsBio.value);
}
});
pause_abbeyConnorsBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_abbeyConnorsBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_abbeyConnorsBio" ).click(function() {
if($('.play_abbeyConnorsBio:visible').length)
hidePlay_abbeyConnorsBio();
showPause_abbeyConnorsBio();
});
$( ".resume_abbeyConnorsBio" ).click(function() {
if($('.resume_abbeyConnorsBio:visible').length)
showPause_abbeyConnorsBio();
hideResume_abbeyConnorsBio();
});
$( ".pause_abbeyConnorsBio" ).click(function() {
hidePause_abbeyConnorsBio();
showResume_abbeyConnorsBio();
});
});
$( document ).ready(function() {
//bobKozikBio
//
var hidePlay_bobKozikBio = function(){ $('.play_bobKozikBio').hide(); };
var showPlay_bobKozikBio = function(){ $('.play_bobKozikBio').show(); };
var hidePause_bobKozikBio = function(){ $('.pause_bobKozikBio').hide(); };
var showPause_bobKozikBio = function(){ $('.pause_bobKozikBio').show(); };
var hideResume_bobKozikBio = function(){ $('.resume_bobKozikBio').hide(); };
var showResume_bobKozikBio = function(){ $('.resume_bobKozikBio').show(); };
hidePause_bobKozikBio();
hideResume_bobKozikBio();
// Get the 'speak' button
var play_bobKozikBio = document.getElementsByClassName("play_bobKozikBio")[0];
// Get the 'speak' button
var pause_bobKozikBio = document.getElementsByClassName("pause_bobKozikBio")[0];
// Get the 'speak' button
var resume_bobKozikBio = document.getElementsByClassName("resume_bobKozikBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var bobKozikBio = $('div.bobKozikBio').text();
//var bobKozikBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_bobKozikBio = function () {
// Set the text.
msg.text = bobKozikBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_bobKozikBio();
hidePause_bobKozikBio();
showPlay_bobKozikBio();
};
};
play_bobKozikBio.addEventListener('click', function(e) {
if (bobKozikBio.length > 0) {
speak_bobKozikBio(bobKozikBio.value);
}
});
pause_bobKozikBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_bobKozikBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_bobKozikBio" ).click(function() {
if($('.play_bobKozikBio:visible').length)
hidePlay_bobKozikBio();
showPause_bobKozikBio();
});
$( ".resume_bobKozikBio" ).click(function() {
if($('.resume_bobKozikBio:visible').length)
showPause_bobKozikBio();
hideResume_bobKozikBio();
});
$( ".pause_bobKozikBio" ).click(function() {
hidePause_bobKozikBio();
showResume_bobKozikBio();
});
});
//brandonCorlettBio
// start
$( document ).ready(function() {
var hidePlay_brandonCorlettBio = function(){ $('.play_brandonCorlettBio').hide(); };
var showPlay_brandonCorlettBio = function(){ $('.play_brandonCorlettBio').show(); };
var hidePause_brandonCorlettBio = function(){ $('.pause_brandonCorlettBio').hide(); };
var showPause_brandonCorlettBio = function(){ $('.pause_brandonCorlettBio').show(); };
var hideResume_brandonCorlettBio = function(){ $('.resume_brandonCorlettBio').hide(); };
var showResume_brandonCorlettBio = function(){ $('.resume_brandonCorlettBio').show(); };
hidePause_brandonCorlettBio();
hideResume_brandonCorlettBio();
// Get the 'speak' button
var play_brandonCorlettBio = document.getElementsByClassName("play_brandonCorlettBio")[0];
// Get the 'speak' button
var pause_brandonCorlettBio = document.getElementsByClassName("pause_brandonCorlettBio")[0];
// Get the 'speak' button
var resume_brandonCorlettBio = document.getElementsByClassName("resume_brandonCorlettBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var brandonCorlettBio = $('div.brandonCorlettBio').text();
//var brandonCorlettBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_brandonCorlettBio = function () {
// Set the text.
msg.text = brandonCorlettBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_brandonCorlettBio();
hidePause_brandonCorlettBio();
showPlay_brandonCorlettBio();
};
};
play_brandonCorlettBio.addEventListener('click', function(e) {
if (brandonCorlettBio.length > 0) {
speak_brandonCorlettBio(brandonCorlettBio.value);
}
});
pause_brandonCorlettBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_brandonCorlettBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_brandonCorlettBio" ).click(function() {
if($('.play_brandonCorlettBio:visible').length)
hidePlay_brandonCorlettBio();
showPause_brandonCorlettBio();
});
$( ".resume_brandonCorlettBio" ).click(function() {
if($('.resume_brandonCorlettBio:visible').length)
showPause_brandonCorlettBio();
hideResume_brandonCorlettBio();
});
$( ".pause_brandonCorlettBio" ).click(function() {
hidePause_brandonCorlettBio();
showResume_brandonCorlettBio();
});
});
//brandonCorlettBio
// end
//brandonProchnowBio
// start
$( document ).ready(function() {
var hidePlay_brandonProchnowBio = function(){ $('.play_brandonProchnowBio').hide(); };
var showPlay_brandonProchnowBio = function(){ $('.play_brandonProchnowBio').show(); };
var hidePause_brandonProchnowBio = function(){ $('.pause_brandonProchnowBio').hide(); };
var showPause_brandonProchnowBio = function(){ $('.pause_brandonProchnowBio').show(); };
var hideResume_brandonProchnowBio = function(){ $('.resume_brandonProchnowBio').hide(); };
var showResume_brandonProchnowBio = function(){ $('.resume_brandonProchnowBio').show(); };
hidePause_brandonProchnowBio();
hideResume_brandonProchnowBio();
// Get the 'speak' button
var play_brandonProchnowBio = document.getElementsByClassName("play_brandonProchnowBio")[0];
// Get the 'speak' button
var pause_brandonProchnowBio = document.getElementsByClassName("pause_brandonProchnowBio")[0];
// Get the 'speak' button
var resume_brandonProchnowBio = document.getElementsByClassName("resume_brandonProchnowBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var brandonProchnowBio = $('div.brandonProchnowBio').text();
//var brandonProchnowBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_brandonProchnowBio = function () {
// Set the text.
msg.text = brandonProchnowBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_brandonProchnowBio();
hidePause_brandonProchnowBio();
showPlay_brandonProchnowBio();
};
};
play_brandonProchnowBio.addEventListener('click', function(e) {
if (brandonProchnowBio.length > 0) {
speak_brandonProchnowBio(brandonProchnowBio.value);
}
});
pause_brandonProchnowBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_brandonProchnowBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_brandonProchnowBio" ).click(function() {
if($('.play_brandonProchnowBio:visible').length)
hidePlay_brandonProchnowBio();
showPause_brandonProchnowBio();
});
$( ".resume_brandonProchnowBio" ).click(function() {
if($('.resume_brandonProchnowBio:visible').length)
showPause_brandonProchnowBio();
hideResume_brandonProchnowBio();
});
$( ".pause_brandonProchnowBio" ).click(function() {
hidePause_brandonProchnowBio();
showResume_brandonProchnowBio();
});
});
//brandonProchnowBio
// end
//brendaMrazSkibinskiBio
// start
$( document ).ready(function() {
var hidePlay_brendaMrazSkibinskiBio = function(){ $('.play_brendaMrazSkibinskiBio').hide(); };
var showPlay_brendaMrazSkibinskiBio = function(){ $('.play_brendaMrazSkibinskiBio').show(); };
var hidePause_brendaMrazSkibinskiBio = function(){ $('.pause_brendaMrazSkibinskiBio').hide(); };
var showPause_brendaMrazSkibinskiBio = function(){ $('.pause_brendaMrazSkibinskiBio').show(); };
var hideResume_brendaMrazSkibinskiBio = function(){ $('.resume_brendaMrazSkibinskiBio').hide(); };
var showResume_brendaMrazSkibinskiBio = function(){ $('.resume_brendaMrazSkibinskiBio').show(); };
hidePause_brendaMrazSkibinskiBio();
hideResume_brendaMrazSkibinskiBio();
// Get the 'speak' button
var play_brendaMrazSkibinskiBio = document.getElementsByClassName("play_brendaMrazSkibinskiBio")[0];
// Get the 'speak' button
var pause_brendaMrazSkibinskiBio = document.getElementsByClassName("pause_brendaMrazSkibinskiBio")[0];
// Get the 'speak' button
var resume_brendaMrazSkibinskiBio = document.getElementsByClassName("resume_brendaMrazSkibinskiBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var brendaMrazSkibinskiBio = $('div.brendaMrazSkibinskiBio').text();
//var brendaMrazSkibinskiBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_brendaMrazSkibinskiBio = function () {
// Set the text.
msg.text = brendaMrazSkibinskiBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_brendaMrazSkibinskiBio();
hidePause_brendaMrazSkibinskiBio();
showPlay_brendaMrazSkibinskiBio();
};
};
play_brendaMrazSkibinskiBio.addEventListener('click', function(e) {
if (brendaMrazSkibinskiBio.length > 0) {
speak_brendaMrazSkibinskiBio(brendaMrazSkibinskiBio.value);
}
});
pause_brendaMrazSkibinskiBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_brendaMrazSkibinskiBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_brendaMrazSkibinskiBio" ).click(function() {
if($('.play_brendaMrazSkibinskiBio:visible').length)
hidePlay_brendaMrazSkibinskiBio();
showPause_brendaMrazSkibinskiBio();
});
$( ".resume_brendaMrazSkibinskiBio" ).click(function() {
if($('.resume_brendaMrazSkibinskiBio:visible').length)
showPause_brendaMrazSkibinskiBio();
hideResume_brendaMrazSkibinskiBio();
});
$( ".pause_brendaMrazSkibinskiBio" ).click(function() {
hidePause_brendaMrazSkibinskiBio();
showResume_brendaMrazSkibinskiBio();
});
});
//brendaMrazSkibinskiBio
// end
//cindyTorrollBio
// start
$( document ).ready(function() {
var hidePlay_cindyTorrollBio = function(){ $('.play_cindyTorrollBio').hide(); };
var showPlay_cindyTorrollBio = function(){ $('.play_cindyTorrollBio').show(); };
var hidePause_cindyTorrollBio = function(){ $('.pause_cindyTorrollBio').hide(); };
var showPause_cindyTorrollBio = function(){ $('.pause_cindyTorrollBio').show(); };
var hideResume_cindyTorrollBio = function(){ $('.resume_cindyTorrollBio').hide(); };
var showResume_cindyTorrollBio = function(){ $('.resume_cindyTorrollBio').show(); };
hidePause_cindyTorrollBio();
hideResume_cindyTorrollBio();
// Get the 'speak' button
var play_cindyTorrollBio = document.getElementsByClassName("play_cindyTorrollBio")[0];
// Get the 'speak' button
var pause_cindyTorrollBio = document.getElementsByClassName("pause_cindyTorrollBio")[0];
// Get the 'speak' button
var resume_cindyTorrollBio = document.getElementsByClassName("resume_cindyTorrollBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var cindyTorrollBio = $('div.cindyTorrollBio').text();
//var cindyTorrollBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_cindyTorrollBio = function () {
// Set the text.
msg.text = cindyTorrollBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_cindyTorrollBio();
hidePause_cindyTorrollBio();
showPlay_cindyTorrollBio();
};
};
play_cindyTorrollBio.addEventListener('click', function(e) {
if (cindyTorrollBio.length > 0) {
speak_cindyTorrollBio(cindyTorrollBio.value);
}
});
pause_cindyTorrollBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_cindyTorrollBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_cindyTorrollBio" ).click(function() {
if($('.play_cindyTorrollBio:visible').length)
hidePlay_cindyTorrollBio();
showPause_cindyTorrollBio();
});
$( ".resume_cindyTorrollBio" ).click(function() {
if($('.resume_cindyTorrollBio:visible').length)
showPause_cindyTorrollBio();
hideResume_cindyTorrollBio();
});
$( ".pause_cindyTorrollBio" ).click(function() {
hidePause_cindyTorrollBio();
showResume_cindyTorrollBio();
});
});
//cindyTorrollBio
// end
//danNecciBio
// start
$( document ).ready(function() {
var hidePlay_danNecciBio = function(){ $('.play_danNecciBio').hide(); };
var showPlay_danNecciBio = function(){ $('.play_danNecciBio').show(); };
var hidePause_danNecciBio = function(){ $('.pause_danNecciBio').hide(); };
var showPause_danNecciBio = function(){ $('.pause_danNecciBio').show(); };
var hideResume_danNecciBio = function(){ $('.resume_danNecciBio').hide(); };
var showResume_danNecciBio = function(){ $('.resume_danNecciBio').show(); };
hidePause_danNecciBio();
hideResume_danNecciBio();
// Get the 'speak' button
var play_danNecciBio = document.getElementsByClassName("play_danNecciBio")[0];
// Get the 'speak' button
var pause_danNecciBio = document.getElementsByClassName("pause_danNecciBio")[0];
// Get the 'speak' button
var resume_danNecciBio = document.getElementsByClassName("resume_danNecciBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var danNecciBio = $('div.danNecciBio').text();
//var danNecciBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_danNecciBio = function () {
// Set the text.
msg.text = danNecciBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_danNecciBio();
hidePause_danNecciBio();
showPlay_danNecciBio();
};
};
play_danNecciBio.addEventListener('click', function(e) {
if (danNecciBio.length > 0) {
speak_danNecciBio(danNecciBio.value);
}
});
pause_danNecciBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_danNecciBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_danNecciBio" ).click(function() {
if($('.play_danNecciBio:visible').length)
hidePlay_danNecciBio();
showPause_danNecciBio();
});
$( ".resume_danNecciBio" ).click(function() {
if($('.resume_danNecciBio:visible').length)
showPause_danNecciBio();
hideResume_danNecciBio();
});
$( ".pause_danNecciBio" ).click(function() {
hidePause_danNecciBio();
showResume_danNecciBio();
});
});
//danNecciBio
// end
//darynPetermanBio
// start
$( document ).ready(function() {
var hidePlay_darynPetermanBio = function(){ $('.play_darynPetermanBio').hide(); };
var showPlay_darynPetermanBio = function(){ $('.play_darynPetermanBio').show(); };
var hidePause_darynPetermanBio = function(){ $('.pause_darynPetermanBio').hide(); };
var showPause_darynPetermanBio = function(){ $('.pause_darynPetermanBio').show(); };
var hideResume_darynPetermanBio = function(){ $('.resume_darynPetermanBio').hide(); };
var showResume_darynPetermanBio = function(){ $('.resume_darynPetermanBio').show(); };
hidePause_darynPetermanBio();
hideResume_darynPetermanBio();
// Get the 'speak' button
var play_darynPetermanBio = document.getElementsByClassName("play_darynPetermanBio")[0];
// Get the 'speak' button
var pause_darynPetermanBio = document.getElementsByClassName("pause_darynPetermanBio")[0];
// Get the 'speak' button
var resume_darynPetermanBio = document.getElementsByClassName("resume_darynPetermanBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var darynPetermanBio = $('div.darynPetermanBio').text();
//var darynPetermanBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_darynPetermanBio = function () {
// Set the text.
msg.text = darynPetermanBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_darynPetermanBio();
hidePause_darynPetermanBio();
showPlay_darynPetermanBio();
};
};
play_darynPetermanBio.addEventListener('click', function(e) {
if (darynPetermanBio.length > 0) {
speak_darynPetermanBio(darynPetermanBio.value);
}
});
pause_darynPetermanBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_darynPetermanBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_darynPetermanBio" ).click(function() {
if($('.play_darynPetermanBio:visible').length)
hidePlay_darynPetermanBio();
showPause_darynPetermanBio();
});
$( ".resume_darynPetermanBio" ).click(function() {
if($('.resume_darynPetermanBio:visible').length)
showPause_darynPetermanBio();
hideResume_darynPetermanBio();
});
$( ".pause_darynPetermanBio" ).click(function() {
hidePause_darynPetermanBio();
showResume_darynPetermanBio();
});
});
//darynPetermanBio
// end
//daveBurkleBio
// start
$( document ).ready(function() {
var hidePlay_daveBurkleBio = function(){ $('.play_daveBurkleBio').hide(); };
var showPlay_daveBurkleBio = function(){ $('.play_daveBurkleBio').show(); };
var hidePause_daveBurkleBio = function(){ $('.pause_daveBurkleBio').hide(); };
var showPause_daveBurkleBio = function(){ $('.pause_daveBurkleBio').show(); };
var hideResume_daveBurkleBio = function(){ $('.resume_daveBurkleBio').hide(); };
var showResume_daveBurkleBio = function(){ $('.resume_daveBurkleBio').show(); };
hidePause_daveBurkleBio();
hideResume_daveBurkleBio();
// Get the 'speak' button
var play_daveBurkleBio = document.getElementsByClassName("play_daveBurkleBio")[0];
// Get the 'speak' button
var pause_daveBurkleBio = document.getElementsByClassName("pause_daveBurkleBio")[0];
// Get the 'speak' button
var resume_daveBurkleBio = document.getElementsByClassName("resume_daveBurkleBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var daveBurkleBio = $('div.daveBurkleBio').text();
//var daveBurkleBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_daveBurkleBio = function () {
// Set the text.
msg.text = daveBurkleBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_daveBurkleBio();
hidePause_daveBurkleBio();
showPlay_daveBurkleBio();
};
};
play_daveBurkleBio.addEventListener('click', function(e) {
if (daveBurkleBio.length > 0) {
speak_daveBurkleBio(daveBurkleBio.value);
}
});
pause_daveBurkleBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_daveBurkleBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_daveBurkleBio" ).click(function() {
if($('.play_daveBurkleBio:visible').length)
hidePlay_daveBurkleBio();
showPause_daveBurkleBio();
});
$( ".resume_daveBurkleBio" ).click(function() {
if($('.resume_daveBurkleBio:visible').length)
showPause_daveBurkleBio();
hideResume_daveBurkleBio();
});
$( ".pause_daveBurkleBio" ).click(function() {
hidePause_daveBurkleBio();
showResume_daveBurkleBio();
});
});
//daveBurkleBio
// end
//erinBrandtBio
// start
$( document ).ready(function() {
var hidePlay_erinBrandtBio = function(){ $('.play_erinBrandtBio').hide(); };
var showPlay_erinBrandtBio = function(){ $('.play_erinBrandtBio').show(); };
var hidePause_erinBrandtBio = function(){ $('.pause_erinBrandtBio').hide(); };
var showPause_erinBrandtBio = function(){ $('.pause_erinBrandtBio').show(); };
var hideResume_erinBrandtBio = function(){ $('.resume_erinBrandtBio').hide(); };
var showResume_erinBrandtBio = function(){ $('.resume_erinBrandtBio').show(); };
hidePause_erinBrandtBio();
hideResume_erinBrandtBio();
// Get the 'speak' button
var play_erinBrandtBio = document.getElementsByClassName("play_erinBrandtBio")[0];
// Get the 'speak' button
var pause_erinBrandtBio = document.getElementsByClassName("pause_erinBrandtBio")[0];
// Get the 'speak' button
var resume_erinBrandtBio = document.getElementsByClassName("resume_erinBrandtBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var erinBrandtBio = $('div.erinBrandtBio').text();
//var erinBrandtBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_erinBrandtBio = function () {
// Set the text.
msg.text = erinBrandtBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_erinBrandtBio();
hidePause_erinBrandtBio();
showPlay_erinBrandtBio();
};
};
play_erinBrandtBio.addEventListener('click', function(e) {
if (erinBrandtBio.length > 0) {
speak_erinBrandtBio(erinBrandtBio.value);
}
});
pause_erinBrandtBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_erinBrandtBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_erinBrandtBio" ).click(function() {
if($('.play_erinBrandtBio:visible').length)
hidePlay_erinBrandtBio();
showPause_erinBrandtBio();
});
$( ".resume_erinBrandtBio" ).click(function() {
if($('.resume_erinBrandtBio:visible').length)
showPause_erinBrandtBio();
hideResume_erinBrandtBio();
});
$( ".pause_erinBrandtBio" ).click(function() {
hidePause_erinBrandtBio();
showResume_erinBrandtBio();
});
});
//erinBrandtBio
// end
//javierCentenoBio
// start
$( document ).ready(function() {
var hidePlay_javierCentenoBio = function(){ $('.play_javierCentenoBio').hide(); };
var showPlay_javierCentenoBio = function(){ $('.play_javierCentenoBio').show(); };
var hidePause_javierCentenoBio = function(){ $('.pause_javierCentenoBio').hide(); };
var showPause_javierCentenoBio = function(){ $('.pause_javierCentenoBio').show(); };
var hideResume_javierCentenoBio = function(){ $('.resume_javierCentenoBio').hide(); };
var showResume_javierCentenoBio = function(){ $('.resume_javierCentenoBio').show(); };
hidePause_javierCentenoBio();
hideResume_javierCentenoBio();
// Get the 'speak' button
var play_javierCentenoBio = document.getElementsByClassName("play_javierCentenoBio")[0];
// Get the 'speak' button
var pause_javierCentenoBio = document.getElementsByClassName("pause_javierCentenoBio")[0];
// Get the 'speak' button
var resume_javierCentenoBio = document.getElementsByClassName("resume_javierCentenoBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var javierCentenoBio = $('div.javierCentenoBio').text();
//var javierCentenoBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_javierCentenoBio = function () {
// Set the text.
msg.text = javierCentenoBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_javierCentenoBio();
hidePause_javierCentenoBio();
showPlay_javierCentenoBio();
};
};
play_javierCentenoBio.addEventListener('click', function(e) {
if (javierCentenoBio.length > 0) {
speak_javierCentenoBio(javierCentenoBio.value);
}
});
pause_javierCentenoBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_javierCentenoBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_javierCentenoBio" ).click(function() {
if($('.play_javierCentenoBio:visible').length)
hidePlay_javierCentenoBio();
showPause_javierCentenoBio();
});
$( ".resume_javierCentenoBio" ).click(function() {
if($('.resume_javierCentenoBio:visible').length)
showPause_javierCentenoBio();
hideResume_javierCentenoBio();
});
$( ".pause_javierCentenoBio" ).click(function() {
hidePause_javierCentenoBio();
showResume_javierCentenoBio();
});
});
//javierCentenoBio
// end
//jeffNealBio
// start
$( document ).ready(function() {
var hidePlay_jeffNealBio = function(){ $('.play_jeffNealBio').hide(); };
var showPlay_jeffNealBio = function(){ $('.play_jeffNealBio').show(); };
var hidePause_jeffNealBio = function(){ $('.pause_jeffNealBio').hide(); };
var showPause_jeffNealBio = function(){ $('.pause_jeffNealBio').show(); };
var hideResume_jeffNealBio = function(){ $('.resume_jeffNealBio').hide(); };
var showResume_jeffNealBio = function(){ $('.resume_jeffNealBio').show(); };
hidePause_jeffNealBio();
hideResume_jeffNealBio();
// Get the 'speak' button
var play_jeffNealBio = document.getElementsByClassName("play_jeffNealBio")[0];
// Get the 'speak' button
var pause_jeffNealBio = document.getElementsByClassName("pause_jeffNealBio")[0];
// Get the 'speak' button
var resume_jeffNealBio = document.getElementsByClassName("resume_jeffNealBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var jeffNealBio = $('div.jeffNealBio').text();
//var jeffNealBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_jeffNealBio = function () {
// Set the text.
msg.text = jeffNealBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_jeffNealBio();
hidePause_jeffNealBio();
showPlay_jeffNealBio();
};
};
play_jeffNealBio.addEventListener('click', function(e) {
if (jeffNealBio.length > 0) {
speak_jeffNealBio(jeffNealBio.value);
}
});
pause_jeffNealBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_jeffNealBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_jeffNealBio" ).click(function() {
if($('.play_jeffNealBio:visible').length)
hidePlay_jeffNealBio();
showPause_jeffNealBio();
});
$( ".resume_jeffNealBio" ).click(function() {
if($('.resume_jeffNealBio:visible').length)
showPause_jeffNealBio();
hideResume_jeffNealBio();
});
$( ".pause_jeffNealBio" ).click(function() {
hidePause_jeffNealBio();
showResume_jeffNealBio();
});
});
//jeffNealBio
// end
//jimDinesBio
// start
$( document ).ready(function() {
var hidePlay_jimDinesBio = function(){ $('.play_jimDinesBio').hide(); };
var showPlay_jimDinesBio = function(){ $('.play_jimDinesBio').show(); };
var hidePause_jimDinesBio = function(){ $('.pause_jimDinesBio').hide(); };
var showPause_jimDinesBio = function(){ $('.pause_jimDinesBio').show(); };
var hideResume_jimDinesBio = function(){ $('.resume_jimDinesBio').hide(); };
var showResume_jimDinesBio = function(){ $('.resume_jimDinesBio').show(); };
hidePause_jimDinesBio();
hideResume_jimDinesBio();
// Get the 'speak' button
var play_jimDinesBio = document.getElementsByClassName("play_jimDinesBio")[0];
// Get the 'speak' button
var pause_jimDinesBio = document.getElementsByClassName("pause_jimDinesBio")[0];
// Get the 'speak' button
var resume_jimDinesBio = document.getElementsByClassName("resume_jimDinesBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var jimDinesBio = $('div.jimDinesBio').text();
//var jimDinesBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_jimDinesBio = function () {
// Set the text.
msg.text = jimDinesBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_jimDinesBio();
hidePause_jimDinesBio();
showPlay_jimDinesBio();
};
};
play_jimDinesBio.addEventListener('click', function(e) {
if (jimDinesBio.length > 0) {
speak_jimDinesBio(jimDinesBio.value);
}
});
pause_jimDinesBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_jimDinesBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_jimDinesBio" ).click(function() {
if($('.play_jimDinesBio:visible').length)
hidePlay_jimDinesBio();
showPause_jimDinesBio();
});
$( ".resume_jimDinesBio" ).click(function() {
if($('.resume_jimDinesBio:visible').length)
showPause_jimDinesBio();
hideResume_jimDinesBio();
});
$( ".pause_jimDinesBio" ).click(function() {
hidePause_jimDinesBio();
showResume_jimDinesBio();
});
});
//jimDinesBio
// end
//joelHarmelingBio
// start
$( document ).ready(function() {
var hidePlay_joelHarmelingBio = function(){ $('.play_joelHarmelingBio').hide(); };
var showPlay_joelHarmelingBio = function(){ $('.play_joelHarmelingBio').show(); };
var hidePause_joelHarmelingBio = function(){ $('.pause_joelHarmelingBio').hide(); };
var showPause_joelHarmelingBio = function(){ $('.pause_joelHarmelingBio').show(); };
var hideResume_joelHarmelingBio = function(){ $('.resume_joelHarmelingBio').hide(); };
var showResume_joelHarmelingBio = function(){ $('.resume_joelHarmelingBio').show(); };
hidePause_joelHarmelingBio();
hideResume_joelHarmelingBio();
// Get the 'speak' button
var play_joelHarmelingBio = document.getElementsByClassName("play_joelHarmelingBio")[0];
// Get the 'speak' button
var pause_joelHarmelingBio = document.getElementsByClassName("pause_joelHarmelingBio")[0];
// Get the 'speak' button
var resume_joelHarmelingBio = document.getElementsByClassName("resume_joelHarmelingBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var joelHarmelingBio = $('div.joelHarmelingBio').text();
//var joelHarmelingBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_joelHarmelingBio = function () {
// Set the text.
msg.text = joelHarmelingBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_joelHarmelingBio();
hidePause_joelHarmelingBio();
showPlay_joelHarmelingBio();
};
};
play_joelHarmelingBio.addEventListener('click', function(e) {
if (joelHarmelingBio.length > 0) {
speak_joelHarmelingBio(joelHarmelingBio.value);
}
});
pause_joelHarmelingBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_joelHarmelingBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_joelHarmelingBio" ).click(function() {
if($('.play_joelHarmelingBio:visible').length)
hidePlay_joelHarmelingBio();
showPause_joelHarmelingBio();
});
$( ".resume_joelHarmelingBio" ).click(function() {
if($('.resume_joelHarmelingBio:visible').length)
showPause_joelHarmelingBio();
hideResume_joelHarmelingBio();
});
$( ".pause_joelHarmelingBio" ).click(function() {
hidePause_joelHarmelingBio();
showResume_joelHarmelingBio();
});
});
//joelHarmelingBio
// end
//karenDuffyBio
// start
$( document ).ready(function() {
var hidePlay_karenDuffyBio = function(){ $('.play_karenDuffyBio').hide(); };
var showPlay_karenDuffyBio = function(){ $('.play_karenDuffyBio').show(); };
var hidePause_karenDuffyBio = function(){ $('.pause_karenDuffyBio').hide(); };
var showPause_karenDuffyBio = function(){ $('.pause_karenDuffyBio').show(); };
var hideResume_karenDuffyBio = function(){ $('.resume_karenDuffyBio').hide(); };
var showResume_karenDuffyBio = function(){ $('.resume_karenDuffyBio').show(); };
hidePause_karenDuffyBio();
hideResume_karenDuffyBio();
// Get the 'speak' button
var play_karenDuffyBio = document.getElementsByClassName("play_karenDuffyBio")[0];
// Get the 'speak' button
var pause_karenDuffyBio = document.getElementsByClassName("pause_karenDuffyBio")[0];
// Get the 'speak' button
var resume_karenDuffyBio = document.getElementsByClassName("resume_karenDuffyBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var karenDuffyBio = $('div.karenDuffyBio').text();
//var karenDuffyBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_karenDuffyBio = function () {
// Set the text.
msg.text = karenDuffyBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_karenDuffyBio();
hidePause_karenDuffyBio();
showPlay_karenDuffyBio();
};
};
play_karenDuffyBio.addEventListener('click', function(e) {
if (karenDuffyBio.length > 0) {
speak_karenDuffyBio(karenDuffyBio.value);
}
});
pause_karenDuffyBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_karenDuffyBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_karenDuffyBio" ).click(function() {
if($('.play_karenDuffyBio:visible').length)
hidePlay_karenDuffyBio();
showPause_karenDuffyBio();
});
$( ".resume_karenDuffyBio" ).click(function() {
if($('.resume_karenDuffyBio:visible').length)
showPause_karenDuffyBio();
hideResume_karenDuffyBio();
});
$( ".pause_karenDuffyBio" ).click(function() {
hidePause_karenDuffyBio();
showResume_karenDuffyBio();
});
});
//karenDuffyBio
// end
//koriZanglHolstenBio
// start
$( document ).ready(function() {
var hidePlay_koriZanglHolstenBio = function(){ $('.play_koriZanglHolstenBio').hide(); };
var showPlay_koriZanglHolstenBio = function(){ $('.play_koriZanglHolstenBio').show(); };
var hidePause_koriZanglHolstenBio = function(){ $('.pause_koriZanglHolstenBio').hide(); };
var showPause_koriZanglHolstenBio = function(){ $('.pause_koriZanglHolstenBio').show(); };
var hideResume_koriZanglHolstenBio = function(){ $('.resume_koriZanglHolstenBio').hide(); };
var showResume_koriZanglHolstenBio = function(){ $('.resume_koriZanglHolstenBio').show(); };
hidePause_koriZanglHolstenBio();
hideResume_koriZanglHolstenBio();
// Get the 'speak' button
var play_koriZanglHolstenBio = document.getElementsByClassName("play_koriZanglHolstenBio")[0];
// Get the 'speak' button
var pause_koriZanglHolstenBio = document.getElementsByClassName("pause_koriZanglHolstenBio")[0];
// Get the 'speak' button
var resume_koriZanglHolstenBio = document.getElementsByClassName("resume_koriZanglHolstenBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var koriZanglHolstenBio = $('div.koriZanglHolstenBio').text();
//var koriZanglHolstenBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_koriZanglHolstenBio = function () {
// Set the text.
msg.text = koriZanglHolstenBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_koriZanglHolstenBio();
hidePause_koriZanglHolstenBio();
showPlay_koriZanglHolstenBio();
};
};
play_koriZanglHolstenBio.addEventListener('click', function(e) {
if (koriZanglHolstenBio.length > 0) {
speak_koriZanglHolstenBio(koriZanglHolstenBio.value);
}
});
pause_koriZanglHolstenBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_koriZanglHolstenBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_koriZanglHolstenBio" ).click(function() {
if($('.play_koriZanglHolstenBio:visible').length)
hidePlay_koriZanglHolstenBio();
showPause_koriZanglHolstenBio();
});
$( ".resume_koriZanglHolstenBio" ).click(function() {
if($('.resume_koriZanglHolstenBio:visible').length)
showPause_koriZanglHolstenBio();
hideResume_koriZanglHolstenBio();
});
$( ".pause_koriZanglHolstenBio" ).click(function() {
hidePause_koriZanglHolstenBio();
showResume_koriZanglHolstenBio();
});
});
//koriZanglHolstenBio
// end
//martinMartinezBio
// start
$( document ).ready(function() {
var hidePlay_martinMartinezBio = function(){ $('.play_martinMartinezBio').hide(); };
var showPlay_martinMartinezBio = function(){ $('.play_martinMartinezBio').show(); };
var hidePause_martinMartinezBio = function(){ $('.pause_martinMartinezBio').hide(); };
var showPause_martinMartinezBio = function(){ $('.pause_martinMartinezBio').show(); };
var hideResume_martinMartinezBio = function(){ $('.resume_martinMartinezBio').hide(); };
var showResume_martinMartinezBio = function(){ $('.resume_martinMartinezBio').show(); };
hidePause_martinMartinezBio();
hideResume_martinMartinezBio();
// Get the 'speak' button
var play_martinMartinezBio = document.getElementsByClassName("play_martinMartinezBio")[0];
// Get the 'speak' button
var pause_martinMartinezBio = document.getElementsByClassName("pause_martinMartinezBio")[0];
// Get the 'speak' button
var resume_martinMartinezBio = document.getElementsByClassName("resume_martinMartinezBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var martinMartinezBio = $('div.martinMartinezBio').text();
//var martinMartinezBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_martinMartinezBio = function () {
// Set the text.
msg.text = martinMartinezBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_martinMartinezBio();
hidePause_martinMartinezBio();
showPlay_martinMartinezBio();
};
};
play_martinMartinezBio.addEventListener('click', function(e) {
if (martinMartinezBio.length > 0) {
speak_martinMartinezBio(martinMartinezBio.value);
}
});
pause_martinMartinezBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_martinMartinezBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_martinMartinezBio" ).click(function() {
if($('.play_martinMartinezBio:visible').length)
hidePlay_martinMartinezBio();
showPause_martinMartinezBio();
});
$( ".resume_martinMartinezBio" ).click(function() {
if($('.resume_martinMartinezBio:visible').length)
showPause_martinMartinezBio();
hideResume_martinMartinezBio();
});
$( ".pause_martinMartinezBio" ).click(function() {
hidePause_martinMartinezBio();
showResume_martinMartinezBio();
});
});
//martinMartinezBio
// end
//michaelDillonBio
// start
$( document ).ready(function() {
var hidePlay_michaelDillonBio = function(){ $('.play_michaelDillonBio').hide(); };
var showPlay_michaelDillonBio = function(){ $('.play_michaelDillonBio').show(); };
var hidePause_michaelDillonBio = function(){ $('.pause_michaelDillonBio').hide(); };
var showPause_michaelDillonBio = function(){ $('.pause_michaelDillonBio').show(); };
var hideResume_michaelDillonBio = function(){ $('.resume_michaelDillonBio').hide(); };
var showResume_michaelDillonBio = function(){ $('.resume_michaelDillonBio').show(); };
hidePause_michaelDillonBio();
hideResume_michaelDillonBio();
// Get the 'speak' button
var play_michaelDillonBio = document.getElementsByClassName("play_michaelDillonBio")[0];
// Get the 'speak' button
var pause_michaelDillonBio = document.getElementsByClassName("pause_michaelDillonBio")[0];
// Get the 'speak' button
var resume_michaelDillonBio = document.getElementsByClassName("resume_michaelDillonBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var michaelDillonBio = $('div.michaelDillonBio').text();
//var michaelDillonBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_michaelDillonBio = function () {
// Set the text.
msg.text = michaelDillonBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_michaelDillonBio();
hidePause_michaelDillonBio();
showPlay_michaelDillonBio();
};
};
play_michaelDillonBio.addEventListener('click', function(e) {
if (michaelDillonBio.length > 0) {
speak_michaelDillonBio(michaelDillonBio.value);
}
});
pause_michaelDillonBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_michaelDillonBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_michaelDillonBio" ).click(function() {
if($('.play_michaelDillonBio:visible').length)
hidePlay_michaelDillonBio();
showPause_michaelDillonBio();
});
$( ".resume_michaelDillonBio" ).click(function() {
if($('.resume_michaelDillonBio:visible').length)
showPause_michaelDillonBio();
hideResume_michaelDillonBio();
});
$( ".pause_michaelDillonBio" ).click(function() {
hidePause_michaelDillonBio();
showResume_michaelDillonBio();
});
});
//michaelDillonBio
// end
//rickEbbersBio
// start
$( document ).ready(function() {
var hidePlay_rickEbbersBio = function(){ $('.play_rickEbbersBio').hide(); };
var showPlay_rickEbbersBio = function(){ $('.play_rickEbbersBio').show(); };
var hidePause_rickEbbersBio = function(){ $('.pause_rickEbbersBio').hide(); };
var showPause_rickEbbersBio = function(){ $('.pause_rickEbbersBio').show(); };
var hideResume_rickEbbersBio = function(){ $('.resume_rickEbbersBio').hide(); };
var showResume_rickEbbersBio = function(){ $('.resume_rickEbbersBio').show(); };
hidePause_rickEbbersBio();
hideResume_rickEbbersBio();
// Get the 'speak' button
var play_rickEbbersBio = document.getElementsByClassName("play_rickEbbersBio")[0];
// Get the 'speak' button
var pause_rickEbbersBio = document.getElementsByClassName("pause_rickEbbersBio")[0];
// Get the 'speak' button
var resume_rickEbbersBio = document.getElementsByClassName("resume_rickEbbersBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var rickEbbersBio = $('div.rickEbbersBio').text();
//var rickEbbersBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_rickEbbersBio = function () {
// Set the text.
msg.text = rickEbbersBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_rickEbbersBio();
hidePause_rickEbbersBio();
showPlay_rickEbbersBio();
};
};
play_rickEbbersBio.addEventListener('click', function(e) {
if (rickEbbersBio.length > 0) {
speak_rickEbbersBio(rickEbbersBio.value);
}
});
pause_rickEbbersBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_rickEbbersBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_rickEbbersBio" ).click(function() {
if($('.play_rickEbbersBio:visible').length)
hidePlay_rickEbbersBio();
showPause_rickEbbersBio();
});
$( ".resume_rickEbbersBio" ).click(function() {
if($('.resume_rickEbbersBio:visible').length)
showPause_rickEbbersBio();
hideResume_rickEbbersBio();
});
$( ".pause_rickEbbersBio" ).click(function() {
hidePause_rickEbbersBio();
showResume_rickEbbersBio();
});
});
//rickEbbersBio
// end
//ryanNecciBio
// start
$( document ).ready(function() {
var hidePlay_ryanNecciBio = function(){ $('.play_ryanNecciBio').hide(); };
var showPlay_ryanNecciBio = function(){ $('.play_ryanNecciBio').show(); };
var hidePause_ryanNecciBio = function(){ $('.pause_ryanNecciBio').hide(); };
var showPause_ryanNecciBio = function(){ $('.pause_ryanNecciBio').show(); };
var hideResume_ryanNecciBio = function(){ $('.resume_ryanNecciBio').hide(); };
var showResume_ryanNecciBio = function(){ $('.resume_ryanNecciBio').show(); };
hidePause_ryanNecciBio();
hideResume_ryanNecciBio();
// Get the 'speak' button
var play_ryanNecciBio = document.getElementsByClassName("play_ryanNecciBio")[0];
// Get the 'speak' button
var pause_ryanNecciBio = document.getElementsByClassName("pause_ryanNecciBio")[0];
// Get the 'speak' button
var resume_ryanNecciBio = document.getElementsByClassName("resume_ryanNecciBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var ryanNecciBio = $('div.ryanNecciBio').text();
//var ryanNecciBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_ryanNecciBio = function () {
// Set the text.
msg.text = ryanNecciBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_ryanNecciBio();
hidePause_ryanNecciBio();
showPlay_ryanNecciBio();
};
};
play_ryanNecciBio.addEventListener('click', function(e) {
if (ryanNecciBio.length > 0) {
speak_ryanNecciBio(ryanNecciBio.value);
}
});
pause_ryanNecciBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_ryanNecciBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_ryanNecciBio" ).click(function() {
if($('.play_ryanNecciBio:visible').length)
hidePlay_ryanNecciBio();
showPause_ryanNecciBio();
});
$( ".resume_ryanNecciBio" ).click(function() {
if($('.resume_ryanNecciBio:visible').length)
showPause_ryanNecciBio();
hideResume_ryanNecciBio();
});
$( ".pause_ryanNecciBio" ).click(function() {
hidePause_ryanNecciBio();
showResume_ryanNecciBio();
});
});
//ryanNecciBio
// end
//sebastianRaaschBio
// start
$( document ).ready(function() {
var hidePlay_sebastianRaaschBio = function(){ $('.play_sebastianRaaschBio').hide(); };
var showPlay_sebastianRaaschBio = function(){ $('.play_sebastianRaaschBio').show(); };
var hidePause_sebastianRaaschBio = function(){ $('.pause_sebastianRaaschBio').hide(); };
var showPause_sebastianRaaschBio = function(){ $('.pause_sebastianRaaschBio').show(); };
var hideResume_sebastianRaaschBio = function(){ $('.resume_sebastianRaaschBio').hide(); };
var showResume_sebastianRaaschBio = function(){ $('.resume_sebastianRaaschBio').show(); };
hidePause_sebastianRaaschBio();
hideResume_sebastianRaaschBio();
// Get the 'speak' button
var play_sebastianRaaschBio = document.getElementsByClassName("play_sebastianRaaschBio")[0];
// Get the 'speak' button
var pause_sebastianRaaschBio = document.getElementsByClassName("pause_sebastianRaaschBio")[0];
// Get the 'speak' button
var resume_sebastianRaaschBio = document.getElementsByClassName("resume_sebastianRaaschBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var sebastianRaaschBio = $('div.sebastianRaaschBio').text();
//var sebastianRaaschBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_sebastianRaaschBio = function () {
// Set the text.
msg.text = sebastianRaaschBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_sebastianRaaschBio();
hidePause_sebastianRaaschBio();
showPlay_sebastianRaaschBio();
};
};
play_sebastianRaaschBio.addEventListener('click', function(e) {
if (sebastianRaaschBio.length > 0) {
speak_sebastianRaaschBio(sebastianRaaschBio.value);
}
});
pause_sebastianRaaschBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_sebastianRaaschBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_sebastianRaaschBio" ).click(function() {
if($('.play_sebastianRaaschBio:visible').length)
hidePlay_sebastianRaaschBio();
showPause_sebastianRaaschBio();
});
$( ".resume_sebastianRaaschBio" ).click(function() {
if($('.resume_sebastianRaaschBio:visible').length)
showPause_sebastianRaaschBio();
hideResume_sebastianRaaschBio();
});
$( ".pause_sebastianRaaschBio" ).click(function() {
hidePause_sebastianRaaschBio();
showResume_sebastianRaaschBio();
});
});
//sebastianRaaschBio
// end
//tamNguyenBio
// start
$( document ).ready(function() {
var hidePlay_tamNguyenBio = function(){ $('.play_tamNguyenBio').hide(); };
var showPlay_tamNguyenBio = function(){ $('.play_tamNguyenBio').show(); };
var hidePause_tamNguyenBio = function(){ $('.pause_tamNguyenBio').hide(); };
var showPause_tamNguyenBio = function(){ $('.pause_tamNguyenBio').show(); };
var hideResume_tamNguyenBio = function(){ $('.resume_tamNguyenBio').hide(); };
var showResume_tamNguyenBio = function(){ $('.resume_tamNguyenBio').show(); };
hidePause_tamNguyenBio();
hideResume_tamNguyenBio();
// Get the 'speak' button
var play_tamNguyenBio = document.getElementsByClassName("play_tamNguyenBio")[0];
// Get the 'speak' button
var pause_tamNguyenBio = document.getElementsByClassName("pause_tamNguyenBio")[0];
// Get the 'speak' button
var resume_tamNguyenBio = document.getElementsByClassName("resume_tamNguyenBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var tamNguyenBio = $('div.tamNguyenBio').text();
//var tamNguyenBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_tamNguyenBio = function () {
// Set the text.
msg.text = tamNguyenBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_tamNguyenBio();
hidePause_tamNguyenBio();
showPlay_tamNguyenBio();
};
};
play_tamNguyenBio.addEventListener('click', function(e) {
if (tamNguyenBio.length > 0) {
speak_tamNguyenBio(tamNguyenBio.value);
}
});
pause_tamNguyenBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_tamNguyenBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_tamNguyenBio" ).click(function() {
if($('.play_tamNguyenBio:visible').length)
hidePlay_tamNguyenBio();
showPause_tamNguyenBio();
});
$( ".resume_tamNguyenBio" ).click(function() {
if($('.resume_tamNguyenBio:visible').length)
showPause_tamNguyenBio();
hideResume_tamNguyenBio();
});
$( ".pause_tamNguyenBio" ).click(function() {
hidePause_tamNguyenBio();
showResume_tamNguyenBio();
});
});
//tamNguyenBio
// end
//tiffanyGantzBio
// start
$( document ).ready(function() {
var hidePlay_tiffanyGantzBio = function(){ $('.play_tiffanyGantzBio').hide(); };
var showPlay_tiffanyGantzBio = function(){ $('.play_tiffanyGantzBio').show(); };
var hidePause_tiffanyGantzBio = function(){ $('.pause_tiffanyGantzBio').hide(); };
var showPause_tiffanyGantzBio = function(){ $('.pause_tiffanyGantzBio').show(); };
var hideResume_tiffanyGantzBio = function(){ $('.resume_tiffanyGantzBio').hide(); };
var showResume_tiffanyGantzBio = function(){ $('.resume_tiffanyGantzBio').show(); };
hidePause_tiffanyGantzBio();
hideResume_tiffanyGantzBio();
// Get the 'speak' button
var play_tiffanyGantzBio = document.getElementsByClassName("play_tiffanyGantzBio")[0];
// Get the 'speak' button
var pause_tiffanyGantzBio = document.getElementsByClassName("pause_tiffanyGantzBio")[0];
// Get the 'speak' button
var resume_tiffanyGantzBio = document.getElementsByClassName("resume_tiffanyGantzBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var tiffanyGantzBio = $('div.tiffanyGantzBio').text();
//var tiffanyGantzBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_tiffanyGantzBio = function () {
// Set the text.
msg.text = tiffanyGantzBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_tiffanyGantzBio();
hidePause_tiffanyGantzBio();
showPlay_tiffanyGantzBio();
};
};
play_tiffanyGantzBio.addEventListener('click', function(e) {
if (tiffanyGantzBio.length > 0) {
speak_tiffanyGantzBio(tiffanyGantzBio.value);
}
});
pause_tiffanyGantzBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_tiffanyGantzBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_tiffanyGantzBio" ).click(function() {
if($('.play_tiffanyGantzBio:visible').length)
hidePlay_tiffanyGantzBio();
showPause_tiffanyGantzBio();
});
$( ".resume_tiffanyGantzBio" ).click(function() {
if($('.resume_tiffanyGantzBio:visible').length)
showPause_tiffanyGantzBio();
hideResume_tiffanyGantzBio();
});
$( ".pause_tiffanyGantzBio" ).click(function() {
hidePause_tiffanyGantzBio();
showResume_tiffanyGantzBio();
});
});
//tiffanyGantzBio
// end
//tootsieBio
// start
$( document ).ready(function() {
var hidePlay_tootsieBio = function(){ $('.play_tootsieBio').hide(); };
var showPlay_tootsieBio = function(){ $('.play_tootsieBio').show(); };
var hidePause_tootsieBio = function(){ $('.pause_tootsieBio').hide(); };
var showPause_tootsieBio = function(){ $('.pause_tootsieBio').show(); };
var hideResume_tootsieBio = function(){ $('.resume_tootsieBio').hide(); };
var showResume_tootsieBio = function(){ $('.resume_tootsieBio').show(); };
hidePause_tootsieBio();
hideResume_tootsieBio();
// Get the 'speak' button
var play_tootsieBio = document.getElementsByClassName("play_tootsieBio")[0];
// Get the 'speak' button
var pause_tootsieBio = document.getElementsByClassName("pause_tootsieBio")[0];
// Get the 'speak' button
var resume_tootsieBio = document.getElementsByClassName("resume_tootsieBio")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var tootsieBio = $('div.tootsieBio').text();
//var tootsieBio = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_tootsieBio = function () {
// Set the text.
msg.text = tootsieBio;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
// msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.cancel();
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_tootsieBio();
hidePause_tootsieBio();
showPlay_tootsieBio();
};
};
play_tootsieBio.addEventListener('click', function(e) {
if (tootsieBio.length > 0) {
speak_tootsieBio(tootsieBio.value);
}
});
pause_tootsieBio.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_tootsieBio.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_tootsieBio" ).click(function() {
if($('.play_tootsieBio:visible').length)
hidePlay_tootsieBio();
showPause_tootsieBio();
});
$( ".resume_tootsieBio" ).click(function() {
if($('.resume_tootsieBio:visible').length)
showPause_tootsieBio();
hideResume_tootsieBio();
});
$( ".pause_tootsieBio" ).click(function() {
hidePause_tootsieBio();
showResume_tootsieBio();
});
});
//tootsieBio
// end
$( document ).ready(function() {
//Abbey Connor
//
var hidePlay_%id% = function(){ $('.play_%id%').hide(); };
var showPlay_%id% = function(){ $('.play_%id%').show(); };
var hidePause_%id% = function(){ $('.pause_%id%').hide(); };
var showPause_%id% = function(){ $('.pause_%id%').show(); };
var hideResume_%id% = function(){ $('.resume_%id%').hide(); };
var showResume_%id% = function(){ $('.resume_%id%').show(); };
hidePause_%id%();
hideResume_%id%();
// Get the 'speak' button
var play_%id% = document.getElementsByClassName("play_%id%")[0];
// Get the 'speak' button
var pause_%id% = document.getElementsByClassName("pause_%id%")[0];
// Get the 'speak' button
var resume_%id% = document.getElementsByClassName("resume_%id%")[0];
// Create a new instance of SpeechSynthesisUtterance.
var msg = new SpeechSynthesisUtterance();
// Get the text to be spoken.
var %id% = $('div.%id%').text();
//var %id% = "Hello World"
var restartSpeech = function () {
speechSynthesisInstance.cancel();
window.speechSynthesis.speak(msg);
};
var speak_%id% = function () {
// Set the text.
msg.text = %id%;
// Set the attributes.
// msg.volume = globalChatterboxVolume;
msg.rate = 1;
msg.pitch = 1;
msg.lang = 1;
msg.voice = "Samantha";
// Queue this utterance.
window.speechSynthesis.speak(msg);
msg.onend = function(){
hideResume_%id%();
hidePause_%id%();
showPlay_%id%();
};
};
play_%id%.addEventListener('click', function(e) {
if (%id%.length > 0) {
speak_%id%(%id%.value);
}
});
pause_%id%.addEventListener('click', function(e) {
speechSynthesis.pause();
});
resume_%id%.addEventListener('click', function(e) {
speechSynthesis.resume();
});
// Toggle Play Pause and Resume Button
$( ".play_%id%" ).click(function() {
if($('.play_%id%:visible').length)
hidePlay_%id%();
showPause_%id%();
});
$( ".resume_%id%" ).click(function() {
if($('.resume_%id%:visible').length)
showPause_%id%();
hideResume_%id%();
});
$( ".pause_%id%" ).click(function() {
hidePause_%id%();
showResume_%id%();
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment