var presentation = ["stylish yet painful<\/word>","expectation<\/word>","Today, many women are no stranger to stylish yet painful<\/strong> shoes. Stiletto pumps, strappy sandals, and 6-inch heels have graced fashion runways for decades. But what if you were expected to stuff your feet into high-heeled, pointy-toed shoes that were only 4 inches long? For centuries, this was the expectation<\/strong> for millions of women across China, and they achieved it through a practice called \"foot binding.\"<\/phrase>","stunt<\/word>","symbol of status<\/word>","millennium<\/word>","Foot binding is the custom of wrapping a young girl's feet tightly and painfully in strips of cloth to stunt<\/strong> future growth of the foot. The practice was a popular in China for many centuries and may have started as early as the 9th or 10th century BCE. Originally a symbol of status<\/strong> among elites, the trend soon spread to all social classes and affected millions of women and girls over the next millennium<\/strong>.<\/phrase>","Shang dynasty<\/word>","concubine<\/word>","Emperor Li Yu<\/word>","There are many suggestions for the origin of foot binding. One story relates that during the Shang dynasty<\/strong>, the concubine<\/strong> Daji, who was said to have clubfoot, asked the Emperor to make foot binding mandatory for all girls in court so that her own feet would be the standard of beauty and elegance. However, the most common legend surrounding the origin of foot binding is the story of Emperor Li Yu<\/strong> around 970 BCE. The emperor asked his concubine<\/strong>, Yao Niang, to bind her feet into the shape of crescent moons and dance for him on the points of her toes.<\/phrase>","emulate<\/word>","Song Dynasty<\/word>","Her dance was so beautiful that word of it spread throughout the country, and elite women everywhere wanted to emulate<\/strong> her gracefulness. Foot binding became increasingly popular during the Song Dynasty<\/strong> (960 \u2013 1279), first in the upper classes and then trickling down to the general population by the end of the 12th century.<\/phrase>","Manchu<\/word>","three Chinese inches<\/word>","Golden Lotus<\/word>","Hakka<\/word>","In the 1630s Manchu<\/strong> leaders tried to end the practice through a series of laws, but the ban was hard to enforce, and no one paid it much attention. The government officially gave up in the late 1660s, and foot binding continued to grow in popularity. During this time, it became generally accepted that three Chinese inches<\/strong> (four western inches) was the ideal length for a woman's foot \u2013 such an achievement was called the \"Golden Lotus<\/strong>.\" By the 19th century, more than half of all Chinese women had their feet bound. The number was much higher in northern areas of China, although some groups, particularly the Manchu<\/strong> and the Hakka<\/strong>, never engaged in the practice at all.<\/phrase>","wealth and social status<\/word>","symbolize a dependence<\/word>","strong appeal<\/word>","Lotus shoes<\/word>","Women had many reasons for binding their feet despite the pain. First, small feet were a sign of wealth and social status<\/strong>. Small feet made a statement that a woman did not have to do any physical work to support herself. Second, it could symbolize a dependence<\/strong> on her husband and family, which were both valued in Chinese society. Third, small feet had quite a strong appeal<\/strong> for many men. The shape of bound feet and the pain they caused made women walk with a swaying gait, and men found this very attractive. Lotus shoes<\/strong> \u2013 special shoes designed to highlight the small size and unique shape of a bound foot \u2013 became a prized fashion accessory. Finally, in poor families, the oldest daughter would have her feet bound from a young age so she could marry into money, while her younger sisters trained to be maids in her future household.<\/phrase>","extremely painful<\/word>","The physical realities of foot binding were extremely painful<\/strong> and sometimes dangerous for young women. Binding usually began between the ages of 4 and 9, before the bones in the arch of the foot fully developed. To begin binding, the foot was soaked in a mixture of herbs and animal blood to soften the skin and bones, and the toenails were trimmed down as far as possible. Next, the toes were curled under the foot so that all the toe bones broke. The foot continued to be bent under until the arch of the foot also broke. Cotton bandages were wound around the foot to keep the broken bones tightly in position. The bandages had to be unwound at least every other day to clean the foot and check for infection, then re-wound even more tightly.<\/phrase>","agonizing<\/word>","consequences<\/word>","lethal<\/word>","inconvenient shape<\/word>","After enough months and years of this agonizing<\/strong> process, the foot eventually went numb. This did not protect the girl from long-term consequences<\/strong>, however. The broken bones would usually not heal for several years, and when they finally did, they were prone to breaking again later in life. Despite careful maintenance of the toenails, sometimes a toenail could become ingrown and lead to a serious infection, which, if improperly treated, could spread through the blood or bones and in some cases become lethal<\/strong>. As the woman aged and her balance became impaired, the inconvenient shape<\/strong> of bound feet could cause her to fall often and lead to broken arms or hips.\nThe earliest opposition to foot binding came in the 18th century, picking up more steam in the 19th century.<\/phrase>","Manchu<\/word>","Hakka<\/word>","Anti-Foot Binding Society<\/word>","abolishing<\/word>","mistreatment of women<\/word>","The minority groups who had always stood against foot binding, the Manchu<\/strong> and the Hakka<\/strong>, became more vocal about their opposition. Christian missionaries joined forces with these groups and began lobbying in the courts to outlaw the practice. In 1883, the first Anti-Foot Binding Society<\/strong> formed. Chapters popped up all over the country, and the organization soon boasted nearly 300,000 members. The people involved in these groups argued that abolishing<\/strong> the practice would lead to better health and more efficient labor. At the beginning of the 20th century, feminists also joined in, calling for an end to the mistreatment of women<\/strong>.<\/phrase>","communist regime<\/word>","criticized the custom<\/word>","Public and private campaign efforts were largely successful, and of young girls born in the early 20th century, only a very small percentage still had bound feet. By 1912, many regional governments were sending inspectors out to fine women with wrapped feet. The 1949 communist regime<\/strong> harshly criticized the custom<\/strong>, and the last reported case of foot binding was in 1957.<\/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':2730, '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':2730, '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':2730, 'userId':0, 'playerAction':action, 'playerArea':area, 'details':details, 'timestamp': t } }) .done(function(results){ }) .fail(function( jqXHR, textStatus ) { alert( "Request failed: " + textStatus ); }); }