var presentation = ["Abigail Fillmore<\/word>","First Lady of the United States<\/word>","Second Lady of the United States<\/word>","Millard Fillmore<\/word>","American scholar<\/word>","Abigail Fillmore<\/strong> (March 13, 1798 \u2013 March 30, 1853), wife of Millard Fillmore<\/strong>, was an American scholar<\/strong> who became the First Lady of the United States<\/strong> from 1850 to 1853 and the Second Lady of the United States<\/strong> from 1849 to 1850.<\/phrase>","Stillwater, New York<\/word>","Reverend Lemuel Leland Powers<\/word>","Baptist minister<\/word>","Moravia, New York<\/word>","died<\/word>","educated<\/word>","library<\/word>","Saratoga County<\/word>","seven children<\/word>","Abigail Newland-Powers<\/word>","her birth<\/word>","Her mother<\/word>","family westward<\/word>","her scanty<\/word>","settled region<\/word>","small son and daughter<\/word>","frontier level<\/word>","help<\/word>","late husband<\/word>","Abigail was possibly born in Stillwater, New York<\/strong>, 1798, in Saratoga County<\/strong>. She was the youngest of seven children<\/strong> born to Reverend Lemuel Leland Powers<\/strong>, a Baptist minister<\/strong>, and Abigail Newland-Powers<\/strong>. Abigail grew up in Moravia, New York<\/strong>, not far from the Fillmore farm. Her father died<\/strong> shortly after her birth<\/strong>. Her mother<\/strong> moved the family westward<\/strong>, thinking her scanty<\/strong> funds would go further in a less settled region<\/strong>, and ably educated<\/strong> her small son and daughter<\/strong> beyond the usual frontier level<\/strong> with the help<\/strong> of her late husband<\/strong>'s library<\/strong>.<\/phrase>","Cayuga County, New York<\/word>","library<\/word>","educated<\/word>","teacher<\/word>","First Lady<\/word>","wagon train<\/word>","Cyprus Powers<\/word>","impoverished state<\/word>","personal books<\/word>","Her mother<\/word>","love<\/word>","also became<\/word>","other subjects<\/word>","continue<\/word>","After moving to Cayuga County, New York<\/strong> by wagon train<\/strong>, they moved in with Cyprus Powers<\/strong> because of their impoverished state<\/strong>. Her father left behind a large library<\/strong> of his personal books<\/strong>, and she was educated<\/strong> by Her mother<\/strong> from this wealth of books. She came to love<\/strong> literature and also became<\/strong> proficient in other subjects<\/strong> such as math, government, history, philosophy, and geography. After finishing school she became a teacher<\/strong> and continued to teach after marriage, making her the first First Lady<\/strong> to continue<\/strong> working after marriage.<\/phrase>","teacher<\/word>","Sempronius Village school<\/word>","New Hope<\/word>","part<\/word>","time<\/word>","private tutor<\/word>","Lisle<\/word>","open<\/word>","private school<\/word>","Broome County<\/word>","back<\/word>","original position<\/word>","In 1814 Abigail became a part<\/strong>-time<\/strong> school teacher<\/strong> at the Sempronius Village school<\/strong>. In 1817 she became a full-time<\/strong> teacher<\/strong> and in 1819 she took on another teaching job and began to teach at the private New Hope<\/strong> Academy. Then, in 1824 she became a private tutor<\/strong> in Lisle<\/strong> to three of her cousins. She was then asked to open<\/strong> up a private school<\/strong> in Broome County<\/strong>, she opened the school, and in 1825, went back<\/strong> to Sempronius to teach in her original position<\/strong>.<\/phrase>","New Hope<\/word>","teacher<\/word>","romantic<\/word>","teaching post<\/word>","new academy<\/word>","Millard Fillmore<\/word>","In 1819, she took a teaching post<\/strong> at the new academy<\/strong> in New Hope<\/strong>, where her oldest pupil was 19-year-old Millard Fillmore<\/strong>. The world of knowledge and Fillmore's steady progress in it drew them together, and gradually the relationship of teacher<\/strong> and student evolved into romantic<\/strong> attachment.<\/phrase>","married<\/word>","Judge Powers<\/word>","Moravia, New York<\/word>","East Aurora, New York<\/word>","library<\/word>","long<\/word>","interest<\/word>","love<\/word>","After a long<\/strong> courtship, Millard, aged 26, and Abigail, aged 27, were married<\/strong> on February 5, 1826, by the Reverend Orasius H. Smith at the home of the bride's brother Judge Powers<\/strong> in Moravia, New York<\/strong>. Without a honeymoon, they settled at East Aurora, New York<\/strong>. Mrs. Fillmore continued to teach school until the birth of her first son and maintained a lifelong interest<\/strong> in education. She shared her husband's love<\/strong> of books and helped build their personal library<\/strong>.<\/phrase>","Mary Abigail Fillmore<\/word>","Fillmores<\/word>","Millard Powers Fillmore<\/word>","The Fillmores<\/strong> had a son and a daughter: Millard Powers Fillmore<\/strong>, and Mary Abigail Fillmore<\/strong>.<\/phrase>","prosperity<\/word>","Buffalo, New York<\/word>","Albany, New York<\/word>","Attaining<\/word>","last<\/word>","Congressman<\/word>","flower<\/word>","time<\/word>","New York State Comptroller<\/word>","Attaining<\/strong> prosperity<\/strong> at last<\/strong>, Fillmore bought his family a six-room house in Buffalo, New York<\/strong>. Enjoying comparative luxury, Abigail learned the ways of society as the wife of a Congressman<\/strong>. She cultivated a noted flower<\/strong> garden; but much of her time<\/strong>, as always, she spent reading. In 1847 when Fillmore was elected New York State Comptroller<\/strong> the family temporarily moved to Albany, New York<\/strong>; their children were away in boarding school and college.<\/phrase>","Abigail Fillmore<\/word>","Washington, D.C.<\/word>","Second Lady of the United States<\/word>","Vice President<\/word>","In 1849, Abigail Fillmore<\/strong> came to Washington, D.C.<\/strong> as wife of the Vice President<\/strong>. She thereby became the Second Lady of the United States<\/strong>.<\/phrase>","First Lady<\/word>","Sixteen<\/word>","Zachary Taylor<\/word>","Fillmores<\/word>","White House<\/word>","Sixteen<\/strong> months later, after Zachary Taylor<\/strong>'s death at a height of sectional crisis, the Fillmores<\/strong> moved into the White House<\/strong> and she became First Lady<\/strong>.<\/phrase>","mourning<\/word>","reception<\/word>","long<\/word>","time<\/word>","Abby<\/word>","Friday<\/word>","White House<\/word>","Even after the period of official mourning<\/strong>, the social life of the Fillmore administration remained subdued. Suffering from an injured ankle that never properly healed Abigail couldn't stand for long<\/strong> periods of time<\/strong> and, pleading her delicate health, she entrusted many routine social duties to her younger daughter (who was known as Abby<\/strong>). Every Friday<\/strong> night the White House<\/strong> hosted a reception<\/strong>, where she had to stand for hours greeting and socializing with guests.<\/phrase>","library<\/word>","piano<\/word>","intellectual<\/word>","White House<\/word>","Shakespeare<\/word>","play<\/word>","William Thackeray<\/word>","Charles Dickens<\/word>","Washington Irving<\/word>","Jenny Lind<\/word>","When Abigail first moved into the White House<\/strong> she was reportedly appalled at the fact that there was no library<\/strong> in it. With a special appropriation of $2,000 from Congress, she spent contented hours selecting books for a White House<\/strong> library<\/strong>. In the library<\/strong> was Shakespeare<\/strong>, history and geography books, and her piano<\/strong>, which she had taught herself to play<\/strong>. She invited writers such as William Thackeray<\/strong>, Charles Dickens<\/strong>, and Washington Irving<\/strong> to meet with her and performance artists like Jenny Lind<\/strong>, essentially creating a White House<\/strong> literary salon. \"She was reportedly a witty and even erudite conversationalist, the most intellectual<\/strong> of the early first ladies.\"<\/phrase>","letters<\/word>","counsel<\/word>","nomination<\/word>","second term<\/word>","back<\/word>","sign<\/word>","Fugitive Slave Act<\/word>","end<\/word>","happen<\/word>","When her husband was away he missed her and wrote her letters<\/strong> about politics, and she would write back<\/strong> offering him advice and counsel<\/strong> on political matters. In fact, he valued her opinion so much that he reportedly never made any important decision without first consulting her. Some history suggests that Abigail advised her husband not to sign<\/strong> the Fugitive Slave Act<\/strong>, which he did in the end<\/strong> sign<\/strong>, losing his nomination<\/strong> for a second term<\/strong> as Abigail predicted would happen<\/strong> if he signed the Act.<\/phrase>","First Lady<\/word>","Abigail Fillmore<\/word>","educated<\/word>","teacher<\/word>","library<\/word>","work<\/word>","receive<\/word>","As First Lady<\/strong> Abigail Fillmore<\/strong> left a legacy of women and work<\/strong>. As First Lady<\/strong>, the public was aware that she was educated<\/strong> and had worked as a teacher<\/strong>. They also knew about the library<\/strong> she created and that teaching is an honorable profession. Abigail paved the way for future women and future First Ladies to receive<\/strong> an education and become teachers.<\/phrase>","post-presidency<\/word>","died<\/word>","Willard Hotel<\/word>","Washington, D.C.<\/word>","First Lady<\/word>","Forest Lawn Cemetery<\/word>","Buffalo, New York<\/word>","Abigail Fillmore Chapter<\/word>","American Revolution<\/word>","Europe<\/word>","Franklin Pierce<\/word>","White House<\/word>","post<\/word>","National Society Daughters<\/word>","Excited about their life post-presidency<\/strong> Abigail and Millard discussed traveling through Europe<\/strong> in the months coming. At the outdoor inaugural ceremonies for Franklin Pierce<\/strong> in 1853, she caught a cold and the next day came down with a fever, which turned into bronchitis and then developed into pneumonia. At age 55 Abigail died<\/strong> just 26 days after leaving the White House<\/strong>, on March 30, 1853, at the Willard Hotel<\/strong> in Washington, D.C.<\/strong>, the shortest post<\/strong>-Presidential life of any former First Lady<\/strong>. Her sudden and quick death became the most widely reported death of a First Lady<\/strong>. She was buried at Forest Lawn Cemetery<\/strong> in Buffalo, New York<\/strong>. The memorial stone was placed by the Abigail Fillmore Chapter<\/strong>, National Society Daughters<\/strong> of the American Revolution<\/strong>, of Buffalo.<\/phrase>","married<\/word>","Mrs. Caroline Carmichael McIntosh<\/word>","On February 10, 1858, five years after her death, her husband married<\/strong> Mrs. Caroline Carmichael McIntosh<\/strong>, a wealthy Buffalo widow. They remained married<\/strong> until Millard's death on March 8, 1874.<\/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':1333, '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':1333, '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':1333, 'userId':0, 'playerAction':action, 'playerArea':area, 'details':details, 'timestamp': t } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); }