var presentation = ["A Goofy Movie<\/word>","animated musical comedy film<\/word>","The Disney Afternoon television series<\/word>","show<\/word>","a few years after the events of Goof Troop<\/word>","Goofy<\/word>","Max<\/word>","bond with his son<\/word>","impeding Max's social life<\/word>","film<\/word>","Goof Troop<\/word>","standalone follow-up<\/word>","his son<\/word>","high school<\/word>","father-son relationship<\/word>","misguided mission<\/word>","cross-country fishing trip<\/word>","high school crush<\/word>","Roxanne<\/word>","A Goofy Movie<\/strong> is a 1995 American animated musical comedy film<\/strong>. The film<\/strong> is based on The Disney Afternoon television series<\/strong> Goof Troop<\/strong> and serves as a standalone follow-up<\/strong> to the show<\/strong>. Taking place a few years after the events of Goof Troop<\/strong>, A Goofy Movie<\/strong> follows Goofy<\/strong> and his son<\/strong>, Max<\/strong>, who is now in high school<\/strong>, and revolves around the father-son relationship<\/strong> between the two as Goofy<\/strong> embarks on a misguided mission<\/strong> to bond with his son<\/strong> by taking him on a cross-country fishing trip<\/strong>, impeding Max's social life<\/strong> by taking him away from his friends, in particular his high school crush<\/strong> Roxanne<\/strong>.<\/phrase>","Goofy<\/word>","Max<\/word>","last day of school before summer vacation<\/word>","P.J.<\/word>","hijack the auditorium<\/word>","Principal Mazur's speech<\/word>","Max performs<\/word>","dressed as the pop singer<\/word>","making Max a school celebrity<\/word>","impressing his love interest<\/word>","sent to Mazur's office<\/word>","Roxanne speaks with Max<\/word>","agrees to go with him to a party where Powerline's concert will be viewed live on television<\/word>","Mazur calls Goofy<\/word>","forewarns him that Max's behavior<\/word>","single father<\/word>","his son<\/word>","tense relationship<\/word>","best friends<\/word>","Bobby Zimuruski<\/word>","small concert<\/word>","Powerline<\/word>","Roxanne<\/word>","capital punishment<\/word>","Goofy<\/strong> is the single father<\/strong> of his son<\/strong> Max<\/strong> Goof, although the two have a tense relationship<\/strong>. On the last day of school before summer vacation<\/strong>, Max<\/strong> and his best friends<\/strong> P.J.<\/strong> and Bobby Zimuruski<\/strong> hijack the auditorium<\/strong> in the middle of Principal Mazur's speech<\/strong>, creating a small concert<\/strong> where Max performs<\/strong>, while dressed as the pop singer<\/strong> Powerline<\/strong>. The performance succeeds in making Max a school celebrity<\/strong> and impressing his love interest<\/strong>, Roxanne<\/strong>, but he, P.J.<\/strong>, and Bobby are sent to Mazur's office<\/strong>. While waiting outside of the office, Roxanne speaks with Max<\/strong> and agrees to go with him to a party where Powerline's concert will be viewed live on television<\/strong>. However, Mazur calls Goofy<\/strong> and forewarns him that Max's behavior<\/strong> may result in him facing capital punishment<\/strong>.<\/phrase>","Oblivious to Max's plans with Roxanne<\/word>","Goofy<\/word>","Max<\/word>","Lake Destiny, Idaho<\/word>","Max manages to stop by Roxanne's house<\/word>","call off their date<\/word>","Roxanne mentions going with someone else<\/word>","fabricates a story<\/word>","father knowing Powerline<\/word>","he will be on stage at the concert<\/word>","fishing trip<\/word>","cross-country map route<\/word>","Oblivious to Max's plans with Roxanne<\/strong>, Goofy<\/strong> decides to take Max<\/strong> on a fishing trip<\/strong> to Lake Destiny, Idaho<\/strong>, following a cross-country map route<\/strong> he and his father took years ago. Before they leave town, Max manages to stop by Roxanne's house<\/strong> to call off their date<\/strong>, but when the heartbroken Roxanne mentions going with someone else<\/strong>, Max<\/strong> panics and instead fabricates a story<\/strong> about his father knowing Powerline<\/strong>, telling her he will be on stage at the concert<\/strong>.<\/phrase>","his son's objections<\/word>","Goofy<\/word>","Max<\/word>","angrily hurts his father's feelings<\/word>","Goofy inadvertently humiliates Max<\/word>","P.J.<\/word>","meet up with them while camping<\/word>","Pete advises Goofy to keep Max under control<\/word>","Goofy takes his son fishing<\/word>","shows him the Perfect Cast fishing technique<\/word>","accidentally luring Bigfoot<\/word>","Pete and P.J. flee<\/word>","leaving Goofy and Max to spend the night with Bigfoot<\/word>","Max alters the map's route to Los Angeles<\/word>","own trip<\/word>","disastrous results<\/word>","Pete<\/word>","Powerline<\/word>","Despite his son's objections<\/strong>, Goofy<\/strong> plans his own trip<\/strong>, with initially disastrous results<\/strong>. Max<\/strong> angrily hurts his father's feelings<\/strong> after Goofy inadvertently humiliates Max<\/strong> at an opossum-based theme park. Later, Pete<\/strong> and P.J.<\/strong> happen to meet up with them while camping<\/strong> by a lake. While P.J.<\/strong> informs Max<\/strong> of how all their peers back home anticipate seeing him onstage at the Powerline<\/strong> concert, Pete advises Goofy to keep Max under control<\/strong>. Goofy takes his son fishing<\/strong> and shows him the Perfect Cast fishing technique<\/strong>, accidentally luring Bigfoot<\/strong> to their camp. Pete and P.J. flee<\/strong>, leaving Goofy and Max to spend the night with Bigfoot<\/strong>. At night, while Goofy<\/strong> sleeps, Max alters the map's route to Los Angeles<\/strong>, where the concert is taking place.<\/phrase>","Goofy decides to make Max the navigator of the trip<\/word>","stop by a motel<\/word>","meet Pete and P.J. again<\/word>","he tells Goofy that Max has tricked him into traveling to Los Angeles<\/word>","Goofy<\/word>","Max<\/word>","Max chooses the route to California<\/word>","making Goofy stop the car at the Grand Canyon<\/word>","car drives off on its own<\/word>","Goofy and Max chase after it<\/word>","end up in a river<\/word>","Goofy solemnly declares<\/word>","no matter how old Max gets he will always be his son<\/word>","two finally reconcile<\/word>","After learning of Max's promise to Roxanne<\/word>","Goofy decides to take him to the concert<\/word>","two nearly plummet to their deaths down a waterfall<\/word>","Max saves Goofy<\/word>","using the Perfect Cast technique<\/word>","Pete<\/word>","Idaho<\/word>","California<\/word>","Los Angeles<\/word>","The next morning, Goofy decides to make Max the navigator of the trip<\/strong>. The two go to different locations that satisfy both of them. Eventually, they stop by a motel<\/strong> where they meet Pete and P.J. again<\/strong>. When Pete<\/strong> overhears a conversation between the boys, he tells Goofy that Max has tricked him into traveling to Los Angeles<\/strong>. The next day, Goofy<\/strong> and Max<\/strong> come to a junction: one leading to Idaho<\/strong>, the other to California<\/strong>. Max chooses the route to California<\/strong>, making Goofy stop the car at the Grand Canyon<\/strong> and storm off in anger. With the brake loose, the car drives off on its own<\/strong>; Goofy and Max chase after it<\/strong> and end up in a river<\/strong>. After a heated argument, Goofy solemnly declares<\/strong> that no matter how old Max gets he will always be his son<\/strong>, and the two finally reconcile<\/strong> with each other. After learning of Max's promise to Roxanne<\/strong>, Goofy decides to take him to the concert<\/strong> in Los Angeles<\/strong>. The two nearly plummet to their deaths down a waterfall<\/strong>, but Max saves Goofy<\/strong> using the Perfect Cast technique<\/strong>.<\/phrase>","Goofy<\/word>","Max<\/word>","make it to the concert<\/word>","attempting to sneak backstage<\/word>","end up onstage and dance with Powerline<\/word>","watched by Pete, P.J. and Roxanne<\/word>","Goofy and Max later return to Roxanne's house<\/word>","Max tells the truth to Roxanne<\/word>","admits she always had feelings for him<\/word>","relationship starts between them<\/word>","Goofy's car suddenly explodes<\/word>","ejecting Goofy in the process<\/word>","falls through the porch roof of Roxanne's house<\/word>","Max proceeds to introduce him to Roxanne<\/word>","Goofy<\/strong> and Max<\/strong> make it to the concert<\/strong>, and while attempting to sneak backstage<\/strong>, they end up onstage and dance with Powerline<\/strong>, watched by Pete, P.J. and Roxanne<\/strong> on separate televisions. Goofy and Max later return to Roxanne's house<\/strong> in their damaged car. Max tells the truth to Roxanne<\/strong>, though she accepts it and admits she always had feelings for him<\/strong>, ever since the first time she ever heard him laugh; thus, a relationship starts between them<\/strong>. Goofy's car suddenly explodes<\/strong> because of damage it had sustained, ejecting Goofy in the process<\/strong>, who then falls through the porch roof of Roxanne's house<\/strong>, and Max proceeds to introduce him to Roxanne<\/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':2278, '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':2278, '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':2278, 'userId':0, 'playerAction':action, 'playerArea':area, 'details':details, 'timestamp': t } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); }