Sorting by

×

Home – Franklin County Schools


Home – Franklin County Schools actualWidth) { this.height(origHeight * (actualWidth / origWidth)); this.width(actualWidth); //Retroactively fixes an issue with resizing videos //the style attribute shouldn’t be on the parent jQuery(‘#’ + guid).parent().removeAttr(‘style’); } else { this.height(origHeight); this.width(origWidth); } if (playlist != ‘{}’) { this.on(‘ended’, function () { this.playlist.next(); }); } //fixes issue in IE when going full screen //video would be behind other content on the page this.on(‘enterFullWindow’, function () { $(this.el).parents().not(‘html,body’).each(function () { $(this) .data(‘oldzindex’, $(this).css(‘z-index’)) .css(‘z-index’, 99999) .addClass(‘forcedzindex’); }); }); this.on(‘exitFullWindow’, function () { $(‘.forcedzindex’).each(function () { $(this) .css(‘z-index’, $(this).data(‘oldzindex’)) .removeClass(‘forcedzindex’) .removeData(‘oldzindex’); }); }); }); } jQuery(window).load(function () { //Create the input element var reCaptchinput = $(‘#recaptcha_response_field’); if (reCaptchinput != “”) { reCaptchinput.wrapAll(“recaptcha “); } jQuery.browser = {}; (function () { jQuery.browser.msie = false; jQuery.browser.version = 0; if (navigator.userAgent.match(/MSIE ([0-9]+)./)) { jQuery.browser.msie = true; jQuery.browser.version = RegExp.$1; } })(); if (jQuery.browser.msie && jQuery.browser.version .video-js’).each(function () { var guid = this.id; var playlist = jQuery(‘#’ + guid).parent().data(‘playlist’); if (playlist === undefined || playlist === null) { playlist = ‘{}’; loadVideo(guid, playlist); } }); //remove aria menu from video js because it makes ada errors setTimeout( function () { $(“.videoplayer ul”).each(function () { $(this).removeAttr(“role”) }) }, 200); }); ]]> >> 0; // convert ot number or 0 index |= 0; // rounds and NaN-checks if (index = len) // else, check if too big return -1; if (searchValue === undefined) // Because searchValue is undefined, keys that // don’t exist will have the same value as the // searchValue, and thus do need to be checked. do { if (index in this && this[index] === undefined) return index; } while (++index !== len) else // Because searchValue is not undefined, there’s no // need to check if the current key is in the array // because if the key isn’t in the array, then it’s // undefined which is not equal to the searchValue. do { if (this[index] === searchValue) return index; } while (++index !== len) // if nothing was found, then simply return -1 return -1; }; window[‘HtmlCodeSniffer_Done’] = false; $(document).ready(function () { $(‘#goog-gt-tt .logo > img’).attr(‘alt’, ‘Google tanslate icon’); var submitErrors = function () { try { var options = { path: “https://cdn.schoolpointe.com/HTML_CodeSniffer-2.0.7/build/” }; HTMLCS.process(“WCAG2AA”, document, function (data) { var messages = HTMLCS.getMessages(); var length = messages.length; if (length > 0) { messages = messages.filter(function (a) { return a.type == 1; }); var filterOut = [ ‘WCAG2AA.Principle1.Guideline1_3.1_3_1.H49.AlignAttr’, ‘WCAG2AA.Principle1.Guideline1_4.1_4_3.G18.Fail’, ‘WCAG2AA.Principle4.Guideline4_1.4_1_1.F77’, ‘WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.InputHidden.Name’, ‘WCAG2AA.Principle1.Guideline1_3.1_3_1.F68’, ‘WCAG2AA.Principle1.Guideline1_4.1_4_3.G145.Fail’, ‘WCAG2AA.Principle3.Guideline3_2.3_2_2.H32.2’, ‘WCAG2AA.Principle1.Guideline1_3.1_3_1.H49.Font’, //’WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.A.NoContent’, //’WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.A.EmptyNoId’, ‘WCAG2AA.Principle2.Guideline2_4.2_4_1.G1,G123,G124.NoSuchID’, ‘WCAG2AA.Principle1.Guideline1_1.1_1_1.H67.1’, ‘WCAG2AA.Principle1.Guideline1_3.1_3_1.H49.Center’, ‘WCAG2AA.Principle2.Guideline2_4.2_4_2.H25.1.EmptyTitle’, ‘WCAG2AA.Principle1.Guideline1_3.1_3_1.H49.Big’, ‘WCAG2AA.Principle1.Guideline1_3.1_3_1.H39.3.LayoutTable’, ‘WCAG2AA.Principle1.Guideline1_1.1_1_1.H53,ARIA6’, ‘WCAG2AA.Principle2.Guideline2_4.2_4_1.H64.1’, ‘WCAG2AA.Principle1.Guideline1_3.1_3_1.F92,ARIA4’, ‘WCAG2AA.Principle1.Guideline1_3.1_3_1.H49.Tt’, ‘WCAG2AA.Principle1.Guideline1_3.1_3_1.H43,H63’, ‘WCAG2AA.Principle1.Guideline1_3.1_3_1.H49.Strike’, ‘WCAG2AA.Principle1.Guideline1_3.1_3_1.H43.HeadersRequired’, ‘WCAG2AA.Principle4.Guideline4_1.4_1_2.H91.A.EmptyNoId’ ]; messages = messages.filter(function (a) { return filterOut.indexOf(a.code) == -1; }); var count = messages.length; console.log(messages); window[‘HtmlCodeSniffer_ErrorMessages’] = messages; window[‘HtmlCodeSniffer_Errors’] = count; if (count > 0) { $(“#AdaErrorCount”).text(“ADA errors: ” + count); var url = “http://wave.webaim.org/report#/” + window.location.href; $(“#AdaErrorCount”).attr(“href”, url); $(“#AdaErrorLog”).attr(‘style’, ”); } else { $(“#AdaErrorCount”).remove(); } var data = { districtId: “KY_FranklinCntySchs”, url: “/index.aspx”, errorCount: count, value: parseInt(“0”, 10), forceUpdate: ‘false’ === ‘true’ }; try { var methodUrl = “/admin/shared/AdaLog.asmx/RecordLog”; $.ajax({ type: “POST”, url: methodUrl, data: JSON.stringify(data), contentType: “application/json; charset=utf-8”, dataType: “json”, success: function (msg) { window[‘HtmlCodeSniffer_Done’] = true; }, error: function (e) { console.log(e); window[‘HtmlCodeSniffer_Done’] = true; } }); } catch (ex) { window[‘HtmlCodeSniffer_Done’] = true; } } }, function (error) { console.log(error) }); } catch (ex) { console.log(ex); } }; submitErrors(); }); ]]> 0) { linkSrc = linkSrc.substring(linkSrc.indexOf(‘href=’) + 5); } if (linkSrc.indexOf(‘&’) > 0) { linkSrc = linkSrc.substring(0, linkSrc.indexOf(‘&’)); } linkSrc = decodeURIComponent(linkSrc); $(element).before(‘visit facebook.com to view embeded facebook feed’); $(element).prop(‘tabindex’, -1); $(element).data(‘fixed’, ‘true’); } } function findAndUpdateFacebookIframe(element) { var iframe = $(element).find(‘iframe’); if (iframe.length > 0) { $.each(iframe, function (index, elem) { updateFacebookIframe(elem); }); } } function updateTwitterIframe(element) { var username = $(element).data(‘widget-id’); var linkURL = ”; if (username && username !== ”) { linkURL = ‘https://twitter.com/’ + username.split(“:”)[1]; $(element).before(‘visit twitter.com to view embeded twitter feed’); $(element).prop(‘tabindex’, -1); } else { setTimeout(function () { updateTwitterIframe(element); return; }, 500); } } var timeoutFindTwitterIframe = null; function findAndUpdateTwitterIframe(element) { timeoutFindTwitterIframe = setTimeout(function () { var iframe = $(element).find(‘iframe’); if (iframe.length > 0) { clearTimeout(timeoutFindTwitterIframe); updateTwitterIframe(iframe); } else { findAndUpdateTwitterIframe(element); } }, 500); } var checkForFacebookTimeout = null; function checkForFacebook(times) { if (times > 1) { checkForFacebookTimeout = setTimeout(function () { if ($(‘iframe[src*=”facebook.com”]’).length > 0) { $(‘iframe[src*=”facebook.com”]’).each(function (index, element) { updateFacebookIframe(element); }); } if ($(‘div.fb-page[data-href*=”facebook.com”]’).length > 0) { $(‘div.fb-page[data-href*=”facebook.com”]’).each(function (index, element) { findAndUpdateFacebookIframe(element); }); } checkForFacebook(times – 1); }, 500); } } $(document).ready(function () { checkForFacebook(10); if ($(‘script[src*=”twitter.com/widgets.js”]’).length > 0) { $(‘script[src*=”twitter.com/widgets.js”]’).parent().each(function (index, element) { findAndUpdateTwitterIframe(element); }); } }); ]]> 0) { $openMenus.not($focusedParents).removeClass(‘open’); } } else if (keyCode == 9) { var $focusedParents = $(‘:focus’).parents(‘.dropdown.open’); var $openMenus = $(‘.dropdown.open’); if ($focusedParents.length ul > li > a’).each(function () { var table = $(”); var tr = $(”); table.append(tr); var icon = $(this).find(‘i.fa’); if (icon.length > 0) { var td1 = $(”); td1.append(icon.clone()); tr.append(td1); icon.remove(); } var td2 = $(”); td2.append($(this).text().trim()); tr.append(td2); $(this).html(table); }); } function moveNews() { $(‘#news-list .article.row’).each(function (index, elem) { var article = $(”); var image = $(elem).find(‘.news-image img’); if (image.length > 0) { var imageSrc = image.attr(‘src’); if (imageSrc.indexOf(‘&thumbwidth’) > 0) { imageSrc = imageSrc.substring(0, imageSrc.indexOf(‘&thumbwidth’)); } if (imageSrc.indexOf(‘&fullwidth’) > 0) { imageSrc = imageSrc.substring(0, imageSrc.indexOf(‘&fullwidth’)); } image.attr(‘src’, imageSrc); } else { image = $(‘default news image‘); } var wrapImage = $(”); wrapImage.append(image); article.append(wrapImage); var wrapTitle = $(”); var title = $(elem).find(‘.news-title’); wrapTitle.append(title); article.append(wrapTitle); var wrapReadMore = $(”); var readMore = $(elem).find(‘.view-all-link-container’); wrapReadMore.append(readMore); article.append(wrapReadMore); article.wrapInner(”); $(‘.wrap-news’).append(article); }); $(‘#news-list’).remove(); } function moveQLDropdown() { if ($(‘#topNav > ul’).length < 0) { $('#topNav').append('

    ‘); } $(‘#topNav > ul’).append($(‘#quicklinksDropDown’)); } $(document).ready(function () { moveQLDropdown(); wrapTopNav(); moveNews(); moveSlideshowNav(); setTimeout( function () { matchHeight(‘.matchHeight1’, 992); }, 1500); }); $(window).resize(function () { matchHeight(‘.matchHeight1’, 992); }); ]]> Skip to main content span’).attr(‘tabindex’, 0); }); function doXTimes(x, callback) { if (x > 0) { x–; setTimeout(function () { callback(); doXTimes(x, callback); }, 500); } } removeAriaHidden = function () { if ($(‘.prevNext > svg’).length > 0) { $(‘.prevNext > svg’).each(function () { $(this).removeAttr(‘aria-hidden’); }); } if ($(‘.playPause > svg’).length > 0) { $(‘.playPause > svg’).each(function () { $(this).removeAttr(‘aria-hidden’); }); } } $(document).ready(function () { // For ADA Compliance $(‘.wrap-slideshow’).on(‘keydown’, ‘.prevNext > i, .prevNext > svg, .cycle-pager > span, .playPause > i, .playPause > svg’, function (e) { if (e.keyCode === 32 || e.keyCode === 13) { e.preventDefault(); $(this).click(); } }); doXTimes(5, removeAriaHidden); }); ]]> .slide’, ‘pager’: ‘.slideshow.cycle-pager’, ‘pagerTemplate’: ‘slide number {{slideNum}}’, ‘autoHeight’: ‘1900:650’, ‘timeout’: 3000, ‘fx’: ‘fade’, ‘log’: false }); setTimeout(function () { $(‘.wrap-slideshow.slideshow .playPause .fa-play’).on(‘click’, function () { $slideshow.cycle(‘resume’); $(‘#slideshow’).data(‘paused’, false); }); $(‘.wrap-slideshow.slideshow .playPause .fa-pause’).on(‘click’, function () { $slideshow.cycle(‘pause’); $(‘#slideshow’).data(‘paused’, true); }); $(‘.wrap-slideshow.slideshow .prevNext .fa-chevron-left’).on(‘click’, function () { $slideshow.cycle(‘prev’); }); $(‘.wrap-slideshow.slideshow .prevNext .fa-chevron-right’).on(‘click’, function () { $slideshow.cycle(‘next’); }); }, 500); $slideshow.on(‘cycle-before’, function (event, optionHash, outgoingSlideEl, incomingSlideEl, forwardFlag) { }); $slideshow.on(‘cycle-after’, function (event, optionHash, outgoingSlideEl, incomingSlideEl, forwardFlag) { }); }); ]]>
    Source