"); } function searchText() { //DOC custom mystart search placeholder //SEARCH TEXT $("div#sw-mystart-search input#sw-search-input").removeAttr("placeholder"); $("div#sw-mystart-search label").html('Search'); $("div#sw-mystart-search input#sw-search-input") .attr('aria-label', 'Search') .attr("value", "Search"); //$("div#sw-mystart-search input#sw-search-input").attr('id', 'sw-search-input-2'); //$("div#sw-mystart-search a#sw-search-button").attr('id', 'sw-search-button-2'); $("div#sw-mystart-search input#sw-search-input").focus(function() { if($(this).val() == "Search") { $(this).val(""); } }); $("div#sw-mystart-search input#sw-search-input").blur(function() { if($(this).val() == "") { $(this).val("Search"); } }); } function calendarListView(){ //DOC auto click function for schoolwires calendar list view for small mobile devices if(!$(".ui-widget.app.calendar #calendarlist-pnl-specialview.loaded").length){ $("a.ui-btn-toggle.list").click(); $("a.ui-btn-toggle.month").click(); $(".ui-widget.app.calendar #calendarlist-pnl-specialview").addClass("loaded"); } var getWidth = $(window).width(); if(getWidth >= 640){ // 640+ $(".ui-widget.app.calendar #calendar").removeClass("ui-helper-hidden"); $(".ui-widget.app.calendar #calendarlist-pnl-specialview").addClass("ui-helper-hidden"); } if(getWidth < 640){ // 480- $(".ui-widget.app.calendar #calendar").addClass("ui-helper-hidden"); $(".ui-widget.app.calendar #calendarlist-pnl-specialview").removeClass("ui-helper-hidden"); } } function imgResize(){ var imgHeight = $("#hp-slideshow .rotating-images img").height(); $("#hp-slideshow, #hp-slideshow .rotating-images").height(imgHeight); } //REMOVE LOGO ERROR IF NONE SELECTED function removeLogo(){ $("#footer-logo").remove(); } function addFramesetTranslate(){ var pageURL = window.location.href; pageURL = encodeURIComponent(pageURL); var translateDropdown = '