');
$(".awardLLA").attr("data-toggle","tooltip").attr("data-placement","bottom");
$(".awardLLA").attr({
title: "Life Achievement Award: This filmmaker received an AFI Life Achievement Award."
});
$(".offscreenCrediticon").append('
');
$(".awardOF").attr("data-toggle","tooltip").attr("data-placement","bottom");
$(".awardOF").attr({
title: "Offscreen Credit: This credit did not appear onscreen and was derived from contemporary sources."
});
$(".partiallyViewIcon").append('
');
$(".awardPV").attr("data-toggle","tooltip").attr("data-placement","bottom");
$(".awardPV").attr({
title: "Partially Viewed by AFI: This film was partially viewed by AFI for the Synopsis and Credits."
});
$(".nameTitleicon").append('
');
$(".awardNA").attr("data-toggle","tooltip").attr("data-placement","bottom");
$(".awardNA").attr({
title: "Name Occurs Before Title: This filmmaker's name was displayed before the title in onscreen credits."
});
$(".viewbyAFIicon").append('
');
$(".awardAFI").attr("data-toggle","tooltip").attr("data-placement","bottom");
$(".awardAFI").attr({
title: "Viewed by AFI: This film was viewed in its entirety by AFI for the Synopsis and Credits."
});
var Fullview;
$(".fullviewheadings").hide();
var isPremium = ($("#modelIsPremium").val() == "True");
var isShowPoster = ($("#modelIsShowPoster").val() == "True");
var isShowVideo = ($("#modelIsShowVideo").val() == "True");
if (isPremium == true || isShowPoster == true) {
//$(".blockMovies").addClass("col-md-7");
//$(".blockMovies").removeClass("col-xs-12");
} else {
if (ReleaseYear >= 1994) {
$(".blockMovies").removeClass("col-lg-8 col-sm-8");
$(".blockMovies").addClass("col-lg-12 col-sm-12");
$("#movieDetials").attr("class","col-md-12");
// $("#movieDetials").addClass("col-lg-12");
// $(".bannerImg-container").css("display","none");
}
else
{
$(".blockMovies").removeClass("col-md-7");
$(".blockMovies").addClass("col-lg-12 col-sm-12");
$(".row").removeClass("imagerow");
if (($(window).width() < 768)) {
$(".bannerImg-container").css("display","none");
$(".blockMovies h1, h3, .headerBg ").removeClass("nomobil");
$(".row").removeClass("imagerow");
}
$(window).resize(function() {
var width = $(document).width();
if (($(window).width() < 768)) {
$(".bannerImg-container").css("display","none");
$(".blockMovies h1, h3, .headerBg ").removeClass("nomobil");
$(".row").removeClass("imagerow");
}
});
//new line of code//
}
}
function scrollToAnchor(aid){
var aTag = $("#"+aid);
$('html,body').animate({scrollTop: aTag.offset().top},'slow');
}
$(".morecastlink").click(function (e) {
e.preventDefault();
$("#historytab").removeClass("active");
$("#detailstab").removeClass("active");
$("#creditstab").removeClass("active");
$("#synopsistab").removeClass("active");
$("#genretab").removeClass("active");
$("#creditstab").addClass("active");
if ((Fullview == false) || (typeof Fullview == 'undefined'))
{
scrollToAnchor("topofcastsection1");
}
else
{
scrollToAnchor("topofcastsection2");
}
});
//debugger;
if ($("#historytab").is(':visible') === false)
{
$("#historytab").removeClass("active");
$("#detailstab").removeClass("active");
$("#creditstab").removeClass("active");
$("#synopsistab").removeClass("active");
$("#genretab").removeClass("active");
$('#detailstablink').trigger('click');
$("#detailstab").addClass("active");
}
$('.ccplus , .ccminus').click(function () {
$(".ccresultgrid").toggle();
$(".ccminus").toggle();
$(".ccplus").toggle();
$("#limcredits").toggle();
});
$('.histplus , .histminus').click(function () {
$("#exTab2 .histresultgrid").toggle();
$(".histminus").toggle();
$(".histplus").toggle();
$("#limhistory").toggle();
});
$('.sumplus , .summinus').click(function () {
$("#exTab2 .sumresultgrid").toggle();
$(".summinus").toggle();
$(".sumplus").toggle();
$("#limsummary").toggle();
});
$('.histplus, .sumplus, .summinus').click(function () {
$("#fullhistory p").addClass('fullviewp');
});
$('.ssplus , .ssminus').click(function () {
$(".ssresultgrid").toggle();
$(".ssminus").toggle();
$(".ssplus").toggle();
$("#limsongsource").toggle();
});
$('.lsplus , .lsminus').click(function () {
$(".lsresultgrid").toggle();
$(".lsminus").toggle();
$(".lsplus").toggle();
$("#limliterarysource").toggle();
});
$('.msplus , .msminus').click(function () {
$(".msresultgrid").toggle();
$(".msminus").toggle();
$(".msplus").toggle();
$("#limmusicsource").toggle();
});
$('.authplus , .authminus').click(function () {
$(".authresultgrid").toggle();
$(".authminus").toggle();
$(".authplus").toggle();
$("#limauthsource").toggle();
});
$('.compplus , .compminus').click(function () {
$(".compresultgrid").toggle();
$(".compminus").toggle();
$(".compplus").toggle();
$("#limcompsource").toggle();
});
$('.perfplus , .perfminus').click(function () {
$(".perfresultgrid").toggle();
$(".perfminus").toggle();
$(".perfplus").toggle();
$("#limperfsource").toggle();
});
$('.fullView , .fpvplus , .fpvminus').click(function () {
var Credit_div = $("#2");
var Details_div = $("#3");
var History_div = $("#1");
var Genre_div = $("#5");
var Synopsis_div = $("#4");
var limhistory_div = $("#limhistory");
var BibliographicSources_div = $("#6");
var NotesCredit_div = $("#7");
if ((Fullview == false) || (typeof Fullview == 'undefined')) {
$("#tab-menu").toggle();
$("#tab-conentcontainer").removeClass("tab-content");
$(".fullviewheadings").show();
$(".fullView").addClass('minusview');
$("#exTab2").show();
$(".sumresultgrid").show();
$(".histresultgrid").show();
$(".minus").hide();
$(".plus").hide();
$("#limhistory").hide();
$("#limcredits").hide();
$("#limsummary").hide();
$(".ccresultgrid").show();
$(".ccminus").hide();
$(".ccplus").hide();
$(".ssresultgrid").show();
$(".ssminus").hide();
$(".ssplus").hide();
$("#limsongsource").hide();
$(".lsresultgrid").show();
$(".lsminus").show();
$(".lsplus").hide();
$("#limliterarysource").hide();
$(".msresultgrid").show();
$(".msminus").show();
$(".msplus").hide();
$("#limmusicsource").hide();
$(".authresultgrid").show();
$(".authminus").show();
$(".authplus").hide();
$("#limauthsource").hide();
$(".compresultgrid").show();
$(".compminus").hide();
$(".compplus").hide();
$("#limcompsource").hide();
$(".perfresultgrid").show();
$(".perfminus").show();
$(".perfplus").hide();
$("#limperfsource").hide();
$("#fullhistory p").addClass('fullviewp');
$('[class*="plus"]').hide();
$('[class*="minus"]').hide();
$(".fpvminus").show();
$(".fpvplus").hide();
$(".border-nav").toggleClass('border-top-0');
Details_div.insertAfter(Credit_div);
if(History_div.is(':visible'))
{
History_div.insertAfter(Details_div);
if(Genre_div.is(':visible'))
{
Genre_div.insertAfter(History_div);
if(Synopsis_div.is(':visible'))
{
Synopsis_div.insertAfter(Genre_div);
if(BibliographicSources_div.is(':visible'))
{
BibliographicSources_div.insertAfter(Synopsis_div);
}
}
}
}
if(Genre_div.is(':visible'))
{
Genre_div.insertAfter(History_div);
if(Synopsis_div.is(':visible'))
{
Synopsis_div.insertAfter(Genre_div);
if(BibliographicSources_div.is(':visible'))
{
BibliographicSources_div.insertAfter(Synopsis_div);
}
}
}
if(Synopsis_div.is(':visible'))
{
Synopsis_div.insertAfter(Genre_div);
if(BibliographicSources_div.is(':visible'))
{
BibliographicSources_div.insertAfter(Synopsis_div);
}
}
if(BibliographicSources_div.is(':visible'))
{
BibliographicSources_div.insertAfter(Synopsis_div);
}
Fullview = true;
} else {
$("#tab-menu").toggle();
$(".fullView").removeClass('minusview');
$(".border-nav").toggleClass('border-top-0');
$("#tab-conentcontainer").addClass("tab-content");
$(".fullviewheadings").hide();
$("#exTab2").show();
$(".sumresultgrid").hide();
$(".histresultgrid").hide();
$(".minus").hide();
$(".plus").show();
$("#limhistory").show();
$("#limcredits").show();
$("#limsummary").show();
$(".ccresultgrid").hide();
$(".ccminus").hide();
$(".ccplus").show();
$(".ssresultgrid").hide();
$(".ssminus").hide();
$(".ssplus").show();
$("#limsongsource").show();
$(".lsresultgrid").hide();
$(".lsminus").hide();
$(".lsplus").show();
$("#limliterarysource").show();
$(".msresultgrid").hide();
$(".msminus").hide();
$(".msplus").show();
$("#limmusicsource").show();
$(".authresultgrid").hide();
$(".authminus").hide();
$(".authplus").show();
$("#limauthsource").show();
$(".compresultgrid").hide();
$(".compminus").hide();
$(".compplus").show();
$("#limcompsource").show();
$(".perfresultgrid").hide();
$(".perfminus").hide();
$(".perfplus").show();
$("#limperfsource").show();
$("#fullhistory p").addClass('fullviewp');
$('[class*="plus"]').show();
$('[class*="minus"]').hide();
$(".fpvminus").hide();
$(".fpvplus").show();
if(BibliographicSources_div.is(':visible'))
{
BibliographicSources_div.insertAfter(limhistory_div);
}
Fullview = false;
}
$(".fa-plus-square").show();
});
if (ReleaseYear <= 1910) {
$(".fullView").trigger("click");
}
if (ReleaseYear >= 1994) {
$(".hedAfi").hide();
$(".subhedAfi").hide();
$("#divMasterPageTop").addClass("bgpost93");
$(".panelSearch").css("top","17px");
$(".nav-search-scope").css("background-color","#263f66");
$("#headerBackground").removeClass("headerBg");
$("#headerBackground").addClass("headerBgpost93");
$(".search-header-details").attr('id','headerBgpost93');
$(".blockMovies").attr('id','headerBgpost93');
$(".search-header-details").css("margin","0");
$(".tabdetail ").attr('id','tabpost93');
$(".more, .less").addClass("morepost93");
$(".icon-containerInner").css("right","33px");
$(".row-eq-height").attr("id","rowpost93");
$(".bannerImg-container").hide();
$("#movieDetials").removeClass("resultbg");
$("#movieDetials").removeClass("col-md-9");
$("#movieDetials").addClass("col-md-12");
$(".topsearch").css("display","none");
if ("STUB RECORD VERIFIED" == "STUB RECORD VERIFIED")
{
$(".fullView").trigger("click");
}
if (($(window).width() < 991)) {
$(".panelSearch").css("top","0");
//$(".bgpost93").css("display", "none");
$("#mobilsearch").css({
'background' : '#263f66',
});
$(".nav-search-scope").css("border","0");
$(".searchContainer").css("top","10px");
$(".addinfoList")
$(".headcontainer").addClass("bgpost93Hed");
$('.addinfoList ul li').hide().filter(':lt(6)').show();
$("#mobilsearch").css({
'background': '#263f66',
'border-top': '1px solid rgba(255, 255, 255, 0.41)',
'border-bottom': '1px solid rgba(255, 255, 255, 0.41)',
});
$(".icon-bar").css("background", "#5388db");
$(".closeSearch").css("background", "red");
$("#mobilesearchIcon").addClass("cp93");
$(".searchContainer").addClass("p93");
$(".nav-search-scope").css("border", "0");
$(".searchContainer").css("top", "10px");
$(".headcontainer").addClass("bgpost93Hed");
}
var a;
$(window).resize(function () {
clearTimeout(a);
a = setTimeout(function () {
if (($(window).width() < 991)) {
//$(".bgpost93").css("display", "none");
$(".panelSearch").css("top", "0");
$("#mobilsearch").css({
'background': '#263f66',
'border-top': '1px solid rgba(255, 255, 255, 0.41)',
'border-bottom': '1px solid rgba(255, 255, 255, 0.41)',
});
$(".icon-bar").css("background", "#5388db");
$(".closeSearch").css("background", "red");
$("#mobilesearchIcon").addClass("cp93");
$(".searchContainer").addClass("p93");
$(".nav-search-scope").css("border", "0");
$(".searchContainer").css("top", "10px");
$(".headcontainer").addClass("bgpost93Hed");
}
if (($(window).width() > 991)) {
//$(".bgpost93").css("display", "block");
$(".panelSearch").css("top", "15px");
//$("#mobilsearch").css({
// 'background': '#263f66',
// 'border-top': '1px solid rgba(255, 255, 255, 0.41)',
// 'border-bottom': '1px solid rgba(255, 255, 255, 0.41)',
//});
//$(".icon-bar").css("background", "#5388db");
//$(".closeSearch").css("background", "red");
//$("#mobilesearchIcon").addClass("cp93");
//$(".searchContainer").addClass("p93");
$(".nav-search-scope").css("border", "2px solid #fff");
//$(".searchContainer").css("top", "10px");
$(".headcontainer").removeClass("bgpost93Hed");
}
}, 150);
});
}
$(document).ready(function (){
var toolOptions2
var toolOptions;
var isOS = /iPad|iPhone|iPod/.test(navigator.platform);
var isAndroid = /(android)/i.test(navigator.userAgent);
///////////////////////////////////////// if OS
if (isOS){
toolOptions = {
animation: false,
placement:"bottom",
container:"body"
};
$('.red-tooltip').tooltip(toolOptions);
$('.red-tooltip').css( 'cursor', 'pointer' );
$('body').on("touchstart", function(e){
$(".red-tooltip").each(function () {
// hide any open tooltips when the anywhere else in the body is clicked
if (!$(this).is(e.target) && $(this).has(e.target).length === 0 && $('.tooltip').has(e.target).length === 0) {
$(this).tooltip('hide');
}////end if
});
});
///////////////////////////////////////// if Android
} else if(isAndroid){
toolOptions = {
animation: false,
placement:"bottom",
container:"body"
};
toolOptions2 = {
animation: false,
placement:"left",
container:"body"
};
$('.c_tool1').tooltip(toolOptions);
$('.c_tool2').tooltip(toolOptions);
$('.c_tool3').tooltip(toolOptions2);
///////////////////////////////////////// if another system
} else {
toolOptions = {
animation: true,
placement:"bottom",
container:"body"
};
$('.red-tooltip').tooltip(toolOptions);
}//end if system
});
var divs = $(".columndisplay > .col-sm-4");
for (var i = 0; i < divs.length; i += 3) {
divs.slice(i, i + 3).wrapAll("
");
}
//if (($(window).width() < 991)) {
// var ndivs = $(".wrapper > .col-sm-4");
// for (var i = 0; i < ndivs.length; i += 3) {
// ndivs.slice(i, i + 3).wrapAll("
");
// var iframe = $(".tabVideo >iframe");
// iframe.addClass("videoFrame");
// $(".row .row-eq-height").css("margin","0");
// }
//}
//debugger;
$(window).resize(function() {
if($(window).width() > 414){
$(".wrapper > div").removeClass("tabVideo col-sm-4 ");
$(".wrapper > div").addClass("col-md-12")
$(".topsearch").removeClass("col-sm-12 col-xs-12");
}
if($(window).width() < 414){
$(".wrapper > div").addClass("tabVideo col-sm-4 ");
$(".wrapper > div").removeClass("col-md-12")
$(".topsearch").addClass("col-sm-12 col-xs-12");
}
});
if($(window).width() > 414){
$(".wrapper > div").removeClass("tabVideo col-sm-4 ");
$(".wrapper > div").addClass("col-md-12")
$(".topsearch").removeClass("col-sm-12 col-xs-12");
}
if($(window).width() < 414){
$(".wrapper > div").addClass("tabVideo col-sm-4 ");
$(".wrapper > div").removeClass("col-md-12")
$(".topsearch").addClass("col-sm-12 col-xs-12");
}
//if (($(window).width() < 768)) {
// $(".wrapper > div").removeClass("row row-eq-height");
// $(".wrapper > div").children().unwrap();
// $("#tab-menu li").click(function(){
// $('#tab-menu li').tooltip({ "data-placement": 'top' });
// });
//}
// $("#preimumDetails ").find('.listMovies:not(:first)').remove();
$(window).resize(function() {
var windowWidth = $(this).width();
if (($(window).width() > 414)) {
//$('.listMovies:nth-child(2), .listMovies:nth-child(3)').css("display","none");
$(".thumbnails li:first-child").addClass("col-xs-3").removeClass("col-xs-5");
$(".thumbnails li:nth-child(2)").addClass("col-xs-9").removeClass("col-xs-7");
$('#preimumDetails .listMovies:nth-child(1)').removeClass("col-xs-12").addClass("col-xs-6");
$('#preimumDetails .listMovies:nth-child(2)').removeClass("col-xs-12").addClass("col-xs-6").css("display","block");
}
if (($(window).width() < 414)) {
//$('.listMovies:nth-child(2), .listMovies:nth-child(3)').css("display","none");
$(".thumbnails li:first-child").addClass("col-xs-5").removeClass("col-xs-3");
$(".thumbnails li:nth-child(2)").addClass("col-xs-7").removeClass("col-xs-9");
$('#preimumDetails .listMovies:nth-child(1)').removeClass("col-xs-6").addClass("col-xs-12");
$('#preimumDetails .listMovies:nth-child(2)').removeClass("col-xs-12").addClass("col-xs-6").css("display","none");
}
});
if (($(window).width() > 414)) {
//$('.listMovies:nth-child(2), .listMovies:nth-child(3)').css("display","none");
$(".thumbnails li:first-child").addClass("col-xs-3").removeClass("col-xs-5");
$(".thumbnails li:nth-child(2)").addClass("col-xs-9").removeClass("col-xs-7");
$('#preimumDetails .listMovies:nth-child(1)').removeClass("col-xs-12").addClass("col-xs-6");
$('#preimumDetails .listMovies:nth-child(2)').removeClass("col-xs-12").addClass("col-xs-6").css("display","block");
}
if (($(window).width() < 414)) {
//$('.listMovies:nth-child(2), .listMovies:nth-child(3)').css("display","none");
$(".thumbnails li:first-child").addClass("col-xs-5").removeClass("col-xs-3");
$(".thumbnails li:nth-child(2)").addClass("col-xs-7").removeClass("col-xs-9");
$('#preimumDetails .listMovies:nth-child(1)').removeClass("col-xs-6").addClass("col-xs-12");
$('#preimumDetails .listMovies:nth-child(2)').removeClass("col-xs-12").addClass("col-xs-6").css("display","none");
}
// $(".result a").attr("data-toggle","tooltip").attr("class","red-tooltip").attr("data-placement","bottom");
//$(".result a").prop("title","Keep exploring the AFI Catalog for films with similar themes, subjects and filmmakers.");
var tabs = $('.cd-tabs');
tabs.each(function(){
var tab = $(this),
tabItems = tab.find('ul.cd-tabs-navigation'),
tabContentWrapper = tab.children('ul.cd-tabs-content'),
tabNavigation = tab.find('nav');
tabItems.on('click', 'a', function(event){
event.preventDefault();
var selectedItem = $(this);
if( !selectedItem.hasClass('selected') ) {
var selectedTab = selectedItem.data('content'),
selectedContent = tabContentWrapper.find('li[data-content="'+selectedTab+'"]'),
slectedContentHeight = selectedContent.innerHeight();
tabItems.find('a.selected').removeClass('selected');
selectedItem.addClass('selected');
selectedContent.addClass('selected').siblings('li').removeClass('selected');
//animate tabContentWrapper height when content changes
tabContentWrapper.animate({
'height': slectedContentHeight
}, 200);
}
});
//hide the .cd-tabs::after element when tabbed navigation has scrolled to the end (mobile version)
checkScrolling(tabNavigation);
tabNavigation.on('scroll', function(){
checkScrolling($(this));
});
});
//debugger;
//if ($(window).width() < 1990) {
// if ( $('.cd-tabs-navigation li').length < 5 ) {
// $(".nav-tabs").css("padding","0 0 0 150px")
// }
//}else{
// $(".nav-tabs").css("","")
//}
//if ($(window).width() < 430){
// $(".nav-tabs").css("padding","0")
//}
//var supportsOrientationChange = "onorientationchange" in window,
//orientationEvent = supportsOrientationChange ? "orientationchange" : "resize";
//$(window).on(orientationEvent, function(evt){
// if ($(window).width() < 737) {
// if ( $('.cd-tabs-navigation li').length < 5 ) {
// $(".nav-tabs").css("padding","0 0 0 130px")
// }
// }if ($(window).width() < 430){
// $(".nav-tabs").css("padding","0")
// }
//});
$(window).on('resize', function(){
tabs.each(function(){
var tab = $(this);
checkScrolling(tab.find('nav'));
tab.find('.cd-tabs-content').css('height', 'auto');
});
});
function checkScrolling(tabs){
var totalTabWidth = parseInt(tabs.children('.cd-tabs-navigation').width()),
tabsViewport = parseInt(tabs.width());
if( tabs.scrollLeft() >= totalTabWidth - tabsViewport) {
tabs.parent('.cd-tabs').addClass('is-ended');
} else {
tabs.parent('.cd-tabs').removeClass('is-ended');
}
}
$('#tab-menu #printnav a').click(function (){
var href = $('#printnav a').attr('href');
window.location.href = href;
//$(href).attr( 'target', '_blank' );
});
});
THIS TITLE IS OUTSIDE THE AFI CATALOG OF FEATURE FILMS (1893-1993)
You may also like these titles from the AFI Catalog of Feature Films , the most authoritative documentation of the First 100 Years of American filmmaking.
Based on the book Fantastic Beasts and Where to Find Them by Newt Scamander [a.k.a. J. K. Rowling] (New York, 2001).
Release Date:
18 November 2016