// Execute code
function FB_addBudgetBadge() {
- var lTransparencyUrl = window.site_url +'/about-us/reports';
+ var lTransparencyUrl = window.base_url +'/the-latest/public-information-and-reports/transparency-reporting';
var lTransparencyTarget = '';
- var lSchoolDataUrl = 'https://www.mischooldata.org/DistrictSchoolProfiles/ReportCard/Dashboard/Dashboard.aspx';
+ var lSchoolDataUrl = 'https://www.mischooldata.org/DistrictSchoolProfiles2/ReportCard/EducationDashboard4.aspx?Common_Locations=1-D,1704,71,0&Common_SchoolYear=&Common_LocationIncludeComparison=False';
var lSchoolDataTarget = '_blank';
if (typeof budgetBadgeTransparencyUrl !== "undefined"
&& budgetBadgeTransparencyUrl != null
$is_front = is_front_page();
?>
<script>
- window.site_url = "<?php echo get_template_directory_uri(); ?>"
- window.page_title = "<?php echo $page_title ?>"
- window.page = "<?php echo $page ?>"
- window.is_front = "<?php echo $is_front; ?>";
+ window.site_url = "<?php echo get_template_directory_uri(); ?>"
+ window.page_title = "<?php echo $page_title ?>"
+ window.page = "<?php echo $page ?>"
+ window.is_front = "<?php echo $is_front; ?>";
+ window.base_url = "<?php echo bloginfo('url'); ?>"
</script>
</head>
\ No newline at end of file
$col.siblings('.sidebar-container').height(height + 50);
}
}
+ $('a[href*=#]:not([href=#])').click(function() {
+ if (location.pathname.replace(/^\//,'') == this.pathname.replace(/^\//,'')
+ || location.hostname == this.hostname) {
+
+ var target = $(this.hash),
+ headerHeight = $("header.main").height(); // Get fixed header height
+
+ target = target.length ? target : $('[name=' + this.hash.slice(1) +']');
+
+ if (target.length)
+ {
+ $('html,body').animate({
+ scrollTop: target.offset().top - headerHeight
+ }, 500);
+ return false;
+ }
+ }
+ });
})
</script>
\ No newline at end of file