var presentation = ["Aphrodite<\/word>","Greek goddess<\/word>","love<\/word>","passion and procreation<\/word>","Roman<\/word>","Venus<\/word>","major symbols<\/word>","main cult centers<\/word>","main festival<\/word>","Aphrodisia<\/word>","Laconia<\/word>","warrior goddess<\/word>","generously rewarded<\/word>","also punished<\/word>","Aphrodite<\/strong> is an ancient Greek goddess<\/strong> associated with love<\/strong>, beauty, pleasure, passion and procreation<\/strong>. She was syncretized with the Roman<\/strong> goddess Venus<\/strong>. Aphrodite<\/strong>'s major symbols<\/strong> include Myrtles, roses, doves, sparrows, and swans. Aphrodite<\/strong>'s main cult centers<\/strong> were Cythera, Cyprus, Corinth, and Athens. Her main festival<\/strong> was the Aphrodisia<\/strong>, which was celebrated annually in midsummer. In Laconia<\/strong>, Aphrodite<\/strong> was worshipped as a warrior goddess<\/strong>. Aphrodite<\/strong> generously rewarded<\/strong> those who honored her, but also punished<\/strong> those who disrespected her, often quite brutally.<\/phrase>","Aphrodite<\/word>","Iliad<\/word>","Zeus<\/word>","Dione<\/word>","other epithets<\/word>","different aspect<\/word>","same goddess<\/word>","local cult<\/word>","Cytherea<\/word>","Lady of Cythera<\/word>","Cypris<\/word>","Lady of Cyprus<\/word>","place<\/word>","In Homer's Iliad<\/strong>, she is the daughter of Zeus<\/strong> and Dione<\/strong>. Aphrodite<\/strong> had many other epithets<\/strong>, each emphasizing a different aspect<\/strong> of the same goddess<\/strong>, or used by a different local cult<\/strong>. Thus she was also known as Cytherea<\/strong> (Lady of Cythera<\/strong>) and Cypris<\/strong> (Lady of Cyprus<\/strong>), because both locations claimed to be the place<\/strong> of her birth.<\/phrase>","Aphrodite<\/word>","blacksmiths<\/word>","unfaithful<\/word>","Hephaestus<\/word>","Odyssey<\/word>","Ares<\/word>","First Homeric Hymn<\/word>","Anchises<\/word>","Adonis<\/word>","Athena<\/word>","Hera<\/word>","Iliad<\/word>","In Greek mythology, Aphrodite<\/strong> was married to Hephaestus<\/strong>, the god of blacksmiths<\/strong> and metalworking. Despite this, Aphrodite<\/strong> was frequently unfaithful<\/strong> to him and had many lovers; in the Odyssey<\/strong>, she is caught in the act of adultery with Ares<\/strong>, the god of war. In the First Homeric Hymn<\/strong> to Aphrodite<\/strong>, she seduces the mortal shepherd Anchises<\/strong>. Aphrodite<\/strong> was also the surrogate mother and lover of the mortal shepherd Adonis<\/strong>, who was killed by a wild boar. Along with Athena<\/strong> and Hera<\/strong>, Aphrodite<\/strong> was one of the three goddesses whose feud resulted in the beginning of the Trojan War and she plays a major role throughout the Iliad<\/strong>. Aphrodite<\/strong> has been featured in Western art as a symbol of female beauty and has appeared in numerous works of Western literature.<\/phrase>","Aphrodite<\/word>","Iliad<\/word>","Ares<\/word>","Hephaestus<\/word>","Charis<\/word>","Likewise<\/word>","Theogony<\/word>","Aglaea<\/word>","Aphrodite<\/strong> is consistently portrayed as a nubile, infinitely desirable adult, having had no childhood. She is often depicted nude. In the Iliad<\/strong>, Aphrodite<\/strong> is the apparently unmarried consort of Ares<\/strong>, the god of war, and the wife of Hephaestus<\/strong> is a different goddess named Charis<\/strong>. Likewise<\/strong>, in Hesiod's Theogony<\/strong>, Aphrodite<\/strong> is unmarried and the wife of Hephaestus<\/strong> is Aglaea<\/strong>, the youngest of the three Charites.<\/phrase>","Aphrodite<\/word>","hand in marriage<\/word>","irresistible<\/word>","Later<\/word>","explain<\/word>","Hephaestus<\/word>","Zeus<\/word>","order<\/word>","prevent<\/word>","Hera<\/word>","Later<\/strong> stories were invented to explain<\/strong> Aphrodite<\/strong>'s marriage to Hephaestus<\/strong>. In the most famous story, Zeus<\/strong> hastily married Aphrodite<\/strong> to Hephaestus<\/strong> in order<\/strong> to prevent<\/strong> the other gods from fighting over her. In another version of the myth, Hephaestus<\/strong> gave his mother Hera<\/strong> a golden throne, but when she sat on it, she became trapped and he refused to let her go until she agreed to give him Aphrodite<\/strong>'s hand in marriage<\/strong>. Hephaestus<\/strong> was overjoyed to be married to the goddess of beauty, and forged her beautiful jewelry, including a strophion known as the keston himanta, a saltire-shaped undergarment (usually translated as \"girdle\"), which accentuated her breasts and made her even more irresistible<\/strong> to men.<\/phrase>","Aphrodite<\/word>","Eros<\/word>","Theogony<\/word>","time<\/word>","Himeros<\/word>","Sappho<\/word>","Uranus<\/word>","Apollonius of Rhodes<\/word>","Argonautica<\/word>","Ares<\/word>","Priapus<\/word>","Dionysus<\/word>","Hermes<\/word>","Adonis<\/word>","Zeus<\/word>","Aphrodite<\/strong> is almost always accompanied by Eros<\/strong>, the god of lust and sexual desire. In his Theogony<\/strong>, Hesiod describes Eros<\/strong> as one of the four original primeval forces born at the beginning of time<\/strong>, but, after the birth of Aphrodite<\/strong> from the sea foam, he is joined by Himeros<\/strong> and, together, they become Aphrodite<\/strong>'s constant companions. In early Greek art, Eros<\/strong> and Himeros<\/strong> are both shown as idealized handsome youths with wings. The Greek lyric poets regarded the power of Eros<\/strong> and Himeros<\/strong> as dangerous, compulsive, and impossible for anyone to resist. In modern times, Eros<\/strong> is often seen as Aphrodite<\/strong>'s son, but this is actually a comparatively late innovation. A scholion on Theocritus's Idylls remarks that the sixth-century BC poet Sappho<\/strong> had described Eros<\/strong> as the son of Aphrodite<\/strong> and Uranus<\/strong>, but the first surviving reference to Eros<\/strong> as Aphrodite<\/strong>'s son comes from Apollonius of Rhodes<\/strong>'s Argonautica<\/strong>, written in the third century BC, which makes him the son of Aphrodite<\/strong> and Ares<\/strong>. The fertility god Priapus<\/strong> was usually considered to be Aphrodite<\/strong>'s son by Dionysus<\/strong>, but he was sometimes also described as her son by Hermes<\/strong>, Adonis<\/strong>, or even Zeus<\/strong>.<\/phrase>","Aphrodite<\/word>","Adonis<\/word>","Myrrha<\/word>","own<\/word>","King Cinyras of Cyprus<\/word>","Adonis<\/strong> was the son of Myrrha<\/strong>, who was cursed by Aphrodite<\/strong> with insatiable lust for her own<\/strong> father, King Cinyras of Cyprus<\/strong>, after Myrrha<\/strong>'s mother bragged that her daughter was more beautiful than the goddess. Driven out after becoming pregnant, Myrrha<\/strong> was changed into a myrrh tree, but still gave birth to Adonis<\/strong>.<\/phrase>","Aphrodite<\/word>","strikingly handsome<\/word>","custody battle<\/word>","found<\/word>","Persephone<\/word>","Adonis<\/word>","possess<\/word>","Zeus<\/word>","time<\/word>","Ares<\/word>","Artemis<\/word>","Hippolytus<\/word>","Aphrodite<\/strong> found<\/strong> the baby, and took him to the underworld to be fostered by Persephone<\/strong>. She returned for him once he was grown and discovered him to be strikingly handsome<\/strong>. Persephone<\/strong> wanted to keep Adonis<\/strong>, resulting in a custody battle<\/strong> between the two goddesses over whom should rightly possess<\/strong> Adonis<\/strong>. Zeus<\/strong> settled the dispute by decreeing that Adonis<\/strong> would spend one third of the year with Aphrodite<\/strong>, one third with Persephone<\/strong>, and one third with whomever he chose. Adonis<\/strong> chose to spend that time<\/strong> with Aphrodite<\/strong>. Then, one day, while Adonis<\/strong> was hunting, he was wounded by a wild boar and bled to death in Aphrodite<\/strong>'s arms. In different versions of the story, the boar was either sent by Ares<\/strong>, who was jealous that Aphrodite<\/strong> was spending so much time<\/strong> with Adonis<\/strong>, or by Artemis<\/strong>, who wanted revenge against Aphrodite<\/strong> for having killed her devoted follower Hippolytus<\/strong>.<\/phrase>","Aphrodite<\/word>","Paris, a Trojan prince<\/word>","Judgement of Paris<\/word>","Iliad<\/word>","Cypria<\/word>","Epic Cycle<\/word>","Peleus<\/word>","Thetis<\/word>","Achilles<\/word>","Eris<\/word>","Hera<\/word>","Athena<\/word>","place<\/word>","matter<\/word>","Zeus<\/word>","The myth of the Judgement of Paris<\/strong> is mentioned briefly in the Iliad<\/strong>, but is described in depth in an epitome of the Cypria<\/strong>, a lost poem of the Epic Cycle<\/strong>, which records that all the gods and goddesses as well as various mortals were invited to the marriage of Peleus<\/strong> and Thetis<\/strong> (the eventual parents of Achilles<\/strong>). Only Eris<\/strong>, goddess of discord, was not invited. She was annoyed at this, so she arrived with a golden apple inscribed with the word \u03ba\u03b1\u03bb\u03bb\u03af\u03c3\u03c4\u1fc3 (\"for the fairest\"), which she threw among the goddesses. Aphrodite<\/strong>, Hera<\/strong>, and Athena<\/strong> all claimed to be the fairest, and thus the rightful owner of the apple.The goddesses chose to place<\/strong> the matter<\/strong> before Zeus<\/strong>, who, not wanting to favor one of the goddesses, put the choice into the hands of Paris, a Trojan prince<\/strong>.<\/phrase>","bribes<\/word>","Aphrodite<\/word>","Mount Ida<\/word>","Troy<\/word>","decide<\/word>","Hera<\/word>","Asia<\/word>","Europe<\/word>","Athena<\/word>","marry<\/word>","Helen<\/word>","King Menelaus of Sparta<\/word>","Greeks in the Trojan War<\/word>","After bathing in the spring of Mount Ida<\/strong> where Troy<\/strong> was situated, the goddesses appeared before Paris for his decision. All three goddesses were ideally beautiful and Paris could not decide<\/strong> between them, so they resorted to bribes<\/strong>. Hera<\/strong> tried to bribe Paris with power over all Asia<\/strong> and Europe<\/strong>, and Athena<\/strong> offered wisdom, fame and glory in battle, but Aphrodite<\/strong> promised Paris that, if he were to choose her as the fairest, she would let him marry<\/strong> the most beautiful woman on earth. This woman was Helen<\/strong>, who was already married to King Menelaus of Sparta<\/strong>. Paris selected Aphrodite<\/strong> and awarded her the apple. The other two goddesses were enraged and, as a direct result, sided with the Greeks in the Trojan War<\/strong>.<\/phrase>"]; var currentPosition = 0; var totalPositions = 0; var timePerWord = 1500; var timePerPhraseWord = 120 var readAheadPlayerTimer; var autoPlay = true; var setMinimized = false; var wordSpeedOptions = {'Slower':2000,'Moderate':1200,'Fast':800}; var phraseSpeedOptions = {'Slower':280,'Moderate':200,'Fast':80}; var defaultWordSpeedOption = 'Moderate'; var defaultPhraseSpeedOption = 'Moderate'; var logToLTI = false; $(window).load(function(){ totalPositions = presentation.length; if (totalPositions > 0){ $('body').prepend('
'); $('body').prepend('
'); $('#read_ahead_player').prepend('
'); initializeReadAheadControls(); initializeReadAheadSlider(); initializeReadAheadSpeedOptions(); currentReadAheadControls(); resumeReadAheadPlayback(); } }); $(document).keyup(function(e){ switch(e.which) { case 37: pauseReadAheadPresentation(); priorReadAheadPresentationItem(); break; case 39: pauseReadAheadPresentation(); nextReadAheadPresentationItem(); break; default: break; } }); function initializeReadAheadControls(){ var s = ''; s += ''; s += ''; s += ''; s += '
'; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += ''; s += '
'; $('#read_ahead_player').append(s); } function initializeReadAheadSlider(){ var s = ''; s += '
'; s += '
'; s += '
'; $('#read_ahead_controls').prepend(s); updateReadAheadSliderPosition(); } function initializeReadAheadSpeedOptions(){ var s = '
'; s += '
'; s += ' Word Speed
'; s += '
'; optionCount = 0; for (index in wordSpeedOptions) { optionCount++; } optionWidth = 100 / optionCount; for (index in wordSpeedOptions) { var option = wordSpeedOptions[index]; if (index == defaultWordSpeedOption) { s += ''; updateReadAheadWordSpeed(option); } else { s += ''; } } s += '
'; s += '
'; s += '
'; s += ' Phrase Speed
'; s += '
'; optionCount = 0; for (index in phraseSpeedOptions) { optionCount++; } optionWidth = 100 / optionCount; for (index in phraseSpeedOptions) { var option = phraseSpeedOptions[index]; if (index == defaultWordSpeedOption) { s += ''; updateReadAheadPhraseSpeed(option); } else { s += ''; } } s += '
'; s += '
'; s += '
'; $('#read_ahead_controls').append(s); } function updateReadAheadWordSpeed(microseconds,sender) { microseconds = microseconds != undefined && microseconds > 0 ? microseconds : 0; if (microseconds > 0) { timePerWord = microseconds; } if (sender!=undefined) { $('#slider_control_word_speed').find('a').removeClass('current_speed'); $(sender).addClass('current_speed'); } logReadAheadPlayerAction('updateReadAheadWordSpeed','Presentation',microseconds); } function updateReadAheadPhraseSpeed(microseconds,sender) { microseconds = microseconds != undefined && microseconds > 0 ? microseconds : 0; if (microseconds > 0 ) { timePerPhraseWord = microseconds; } if (sender!=undefined) { $('#slider_control_phrase_speed').find('a').removeClass('current_speed'); $(sender).addClass('current_speed'); } logReadAheadPlayerAction('updateReadAheadPhraseSpeed','Presentation',microseconds); } function updateReadAheadSliderPosition(){ var currentSliderBarWidth = 100 - (100 / totalPositions * (currentPosition + 1)); $('#readAheadSliderBar').css('width',currentSliderBarWidth+'%'); } function currentReadAheadControls(){ $('#read_ahead_player_pause_play').show(); if (currentPosition < totalPositions - 1) { $('#read_ahead_player_next_word').removeClass('disabled'); } else { $('#read_ahead_player_next_word').addClass('disabled'); } if (currentPosition > 0) { $('#read_ahead_player_previous_word').removeClass('disabled'); } else { $('#read_ahead_player_previous_word').addClass('disabled'); } } function restartReadAheadPresentation(){ currentPosition = 0; logReadAheadPlayerAction('restartReadAheadPresentation','Presentation',''); resumeReadAheadPlayback(); } function resumeReadAheadPlayback(){ $('.fa-repeat').removeClass('fa-repeat').addClass('fa-play'); $('#read_ahead_player_pause_play').each(function(){ $(this).find('.fa-play').removeClass('fa-play').addClass('fa-pause'); $(this).off('click'); $(this).attr('onclick','pauseReadAheadPresentation()'); }); logReadAheadPlayerAction('resumeReadAheadPlayback','Presentation',''); playReadAheadPresentation(); } function pauseReadAheadPresentation(){ $('#read_ahead_player_pause_play').each(function(){ $(this).find('.fa-pause').removeClass('fa-pause').addClass('fa-play'); $(this).off('click'); $(this).attr('onclick','resumeReadAheadPlayback()'); }); logReadAheadPlayerAction('pauseReadAheadPresentation','Presentation',''); read_ahead_pause(); } function endReadAheadPresentation(){ $('.fa-play').removeClass('fa-play').addClass('fa-repeat'); $('.fa-pause').removeClass('fa-pause').addClass('fa-repeat'); $('#read_ahead_player_pause_play').each(function(){ $(this).off('click'); $(this).attr('onclick','restartReadAheadPresentation()'); }); logReadAheadPlayerAction('endReadAheadPresentation','Presentation',''); logLTIEndPresentation(); } function playReadAheadPresentation(){ autoPlay=true; currentPosition--; logReadAheadPlayerAction('playReadAheadPresentation','Presentation',''); nextReadAheadPresentationItem(); } function startReadAheadStepper(timeDisplayWord){ clearInterval(readAheadPlayerTimer); readAheadPlayerTimer = setTimeout(function() { read_ahead_step(); },timeDisplayWord); } function stopReadAheadStepper(){ clearInterval(readAheadPlayerTimer); } function read_ahead_step(){ if (autoPlay) { nextReadAheadPresentationItem(); } } function read_ahead_pause(){ autoPlay=false; stopReadAheadStepper(); } function showReadAheadPresentationItem(index){ currentPosition = index; currentPresentationItem = presentation[currentPosition] != undefined ? presentation[currentPosition].trim() : ""; if (currentPresentationItem != "") { currentItemWordCount = presentation[currentPosition].replace("\n","").split(" ").length; if (currentPresentationItem.startsWith("")){ startReadAheadStepper(currentItemWordCount*timePerWord); $('#read_ahead_player_field').html('
'+currentPresentationItem+'
'); logReadAheadPlayerAction('showReadAheadPresentationItem','Word',currentPresentationItem); } else { startReadAheadStepper(currentItemWordCount*timePerPhraseWord); $('#read_ahead_player_field').html('
'+currentPresentationItem.replace("\n","
")+'
'); logReadAheadPlayerAction('showReadAheadPresentationItem','Phrase',''); } } else { if (currentPosition < totalPositions) { nextReadAheadPresentationItem(); } else { endReadAheadPresentation(); read_ahead_minimize(); } } currentReadAheadControls(); updateReadAheadSliderPosition(); saveReadAheadPosition(); } function priorReadAheadPresentationItem(){ stopReadAheadStepper(); logReadAheadPlayerAction('priorReadAheadPresentationItem','Controls',''); showReadAheadPresentationItem(currentPosition-1); } function nextReadAheadPresentationItem(){ stopReadAheadStepper(); logReadAheadPlayerAction('nextReadAheadPresentationItem','Controls',''); showReadAheadPresentationItem(currentPosition+1); } function read_ahead_playAgain(){ currentWordIndex = 0; logReadAheadPlayerAction('read_ahead_playAgain','Controls',''); playReadAheadPresentation(); } function read_ahead_minimize(){ setMinimized = true; logReadAheadPlayerAction('read_ahead_minimize','Controls',''); read_ahead_switch_min_max(); } function read_ahead_maximize(){ setMinimized = false; logReadAheadPlayerAction('read_ahead_maximize','Controls',''); read_ahead_switch_min_max(); } function read_ahead_switch_min_max(forceSwitch){ forceSwitch = forceSwitch != undefined ? forceSwitch : false; if (forceSwitch) { setMinimized = !setMinimized; } if (setMinimized) { $('#read_ahead_player_back').fadeOut(); $('#read_ahead_player').addClass('minimize'); $('.player-icons .fa-stack').removeClass('fa-lg').addClass('fa-sm'); $('.player-icons .fa-minus').removeClass('fa-minus').addClass('fa-expand'); logReadAheadPlayerAction('read_ahead_switch_min_max','Min',''); //$('#read_ahead_player_max_min').each(function(){ // $(this).off('click'); // $(this).attr('onclick','read_ahead_maximize()'); //}); } else { $('#read_ahead_player_back').fadeIn(); $('#read_ahead_player').removeClass('minimize'); $('.player-icons .fa-stack').removeClass('fa-sm').addClass('fa-lg'); $('.player-icons .fa-expand').removeClass('fa-expand').addClass('fa-minus'); logReadAheadPlayerAction('read_ahead_switch_min_max','Max',''); //$('#read_ahead_player_max_min').each(function(){ // $(this).off('click'); // $(this).attr('onclick','read_ahead_minimize()'); //}); } } function saveReadAheadPosition(){ $.ajax({ type:'POST', url:'/ajax/save_user_presentation_position.php', data: { 'id':1193, 'position': currentPosition } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); } function logLTIEndPresentation(action) { if (!logToLTI) { return; } $.ajax({ type:'POST', url:'/lti/presentationEnded.php', data: { 'documentId':1193, 'userId':0, } }) } function logReadAheadPlayerAction(action,area,details){ var d = new Date(); var t = d.getTime(); action = action != undefined ? action.trim() : 'UNKNOWN'; area = area != undefined ? area.trim() : ''; details = details != undefined ? details : ''; // If we are about to show a new word, increase the number of keywords // reinforced so we can log that for the Dashboard page. if (area == 'Word') { window.keywordCount++; } $.ajax({ type:'POST', url:'/logging/logPlayerAction.php', data: { 'documentId':1193, 'userId':0, 'playerAction':action, 'playerArea':area, 'details':details, 'timestamp': t } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); }