Disney Homework Calendar
Download File ->>->>->> https://urlin.us/2tpicA
Disney Homework Calendar
IF EMPTY if($.trim("Dedicated To Excellence In Education") == "") $("#gb-sitename .sitename-tagline").remove(); }, "ChannelBar": function() $(".sw-channel-item").unbind('hover'); $(".sw-channel-item").hover(function() $(".sw-channel-item").off; $(".sw-channel-item ul").stop(true, true); var subList = $(this).children('ul'); if ($.trim(subList.html()) !== "") subList.slideDown(300, "swing"); $(this).addClass("hover"); , function() $(".sw-channel-dropdown").slideUp(300, "swing"); $(this).removeClass("hover"); ); $(".sw-channel-dropdown").each(function() $(this).children().wrapAll(''); ); , "StickyChannelBar": function() var navHeight = $("#gb-channel-list-outer").height(); //ACCOUNT FOR MULTILINE CHANNEL BAR SO THAT DROPDOWNS FROM TOP LINE OF CHANNELS CAN BE REACHED if(navHeight > 70) $("ul.sw-channel-dropdown").css("top","70px"); $(document).scroll(function() distanceFromTop = $(this).scrollTop(); if(distanceFromTop >= 150 && distanceFromTop < 399) $("#gb-page").removeClass("sticky-header"); $("#gb-page").removeClass("sticky-header-show"); $("#gb-page").removeClass("no-nav-overflow"); $("nav").height(navHeight); if(distanceFromTop >= 400) $("nav").height(navHeight); $("#gb-page").addClass("sticky-header"); $("#gb-page").addClass("sticky-header-show"); setTimeout(function () $("#gb-page").addClass("no-nav-overflow"); , 500); if(distanceFromTop < 149) $("#gb-page").removeClass("sticky-header"); $("nav").css("height","auto"); if($(".sp").length && $(".ui-widget.app.calendar").length) if($(".wcm-controls").hasClass("wcm-stuck")) $(".wcm-controls").css("margin-top", navHeight); $("#sw-maincontent").css( "display": "block", "position": "relative", "top": "-" + navHeight + "px" ); ); , "Body": function() // FOR SCOPE var _this = this; // ADD CLASS TO NAV IF DASHBOARD IS ACTIVE if($("#dashboard-sidebar").length) $("#gb-page").addClass("dashboard-active"); // AUTO FOCUS SIGN IN FIELD $("#swsignin-txt-username").focus(); // APPLY RESPONSIVE DIMENSIONS TO CONTENT IMAGES $(".ui-widget.app .ui-widget-detail img") .not($(".ui-widget.app.multimedia-gallery .ui-widget-detail img")) .each(function() if ($(this).attr('width') !== undefined && $(this).attr('height') !== undefined) // IMAGE HAS INLINE DIMENSIONS $(this).css("display": "inline-block", "width": "100%", "max-width": $(this).attr("width") + "px", "height": "auto", "max-height": $(this).attr("height") + "px"); ); // ADJUST FIRST BREADCRUMB $("li.ui-breadcrumb-first > a > span").text("Home"); //MORE LINKS $(".headlines .ui-read-more, .announcements .ui-read-more").each(function() var moreLink = $(this); $(this).closest(".ui-widget-detail").next().prepend(moreLink); ); $("a.more-link span").show(); $(".more-link-under").remove(); // CHECK PAGELIST HEADER if($.trim($(".ui-widget.app.pagenavigation .ui-widget-header").text()) == "") $(".ui-widget.app.pagenavigation .ui-widget-header").html(""); // CHECK FOR APPS if(!$("#sw-content-layout-wrapper .ui-widget.app").length) $("#sw-content-layout-wrapper").addClass("cs-no-apps"); , "Shortcuts": function() { var _this = this; // EDIT THESE TWO VARS var columnNums = [4, 1, 1, 1, 1]; // [960, 768, 640, 480, 320] var selector = "[data-region='b'] div.ui-widget.app.siteshortcuts, [data-region='f'] div.ui-widget.app.siteshortcuts"; // RETURN BREAKPOINT INDEX var bp = function() switch(_this.GetBreakPoint()) case "desktop": return 0; break; case "768": return 1; break; case "640": return 2; break; case "480": return 3; break; case "320": return 4; break; // SET COLUMN NUM AND OTHER VARS var columnNum = columnNums[bp()]; var endRange; $(selector).each(function() { // RETURN THE LI'S TO THE ORIGINAL UL $(".ui-widget-detail > ul.site-shortcuts", this).append($(".site-shortcuts-column > li", this)); // REMOVE COLUMN CONTAINER FOR REBUILD $(".site-shortcuts-columns", this).remove(); // GET SHORTCUT NUM var shortcutNum = $(".ui-widget-detail > ul.site-shortcuts > li", this).length; // ADD COLUM