This repository has been archived by the owner on Apr 20, 2021. It is now read-only.
forked from ChicagoPublicSchools/Map-SchoolLocator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·1291 lines (1233 loc) · 68.9 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<meta http-equiv="cache-control" content="max-age=0">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="-1">
<meta http-equiv="expires" content="Tue, 01 Jan 1980 11:00:00 GMT">
<meta http-equiv="pragma" content="no-cache">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<!-- Icons -->
<link rel="shortcut icon" href="images/favicon.ico"/>
<link rel="apple-touch-icon" href="images/nonretina76x76.png" sizes="76x76"/>
<link rel="apple-touch-icon" href="images/iphone120x120.png" sizes="120x120"/>
<link rel="apple-touch-icon" href="images/iPad152x152.png" sizes="152x152"/>
<title>TPS School Locator</title>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDBgH1Z_xKIjf1FVwvexUWfW-2FEhUjvF8&libraries=places"></script>
<script src="https://www.google.com/jsapi"></script>
<script src="scripts/jquery-1.11.1.min.js"></script>
<script src="scripts/map.js?v=2.99"></script>
<script src="scripts/bootstrap-3.3.4-dist/js/bootstrap.min.js"></script>
<!-- hopscotch feature tour -->
<script src="scripts/hopscotch-dist/js/hopscotch.min.js"></script>
<script src="scripts/maptour1.js?v=2.99"></script>
<link rel="stylesheet" href="scripts/hopscotch-dist/css/hopscotch.min.css"/>
<!--only for autocomplete and slide -->
<script src="scripts/jqueryui/jquery-ui.js"></script>
<!-- analytics and fusiontips overlay hover -->
<script src="scripts/analytics_lib.js"></script>
<script src="scripts/fusiontips.js?v=2.99"></script>
<!-- excel export <script src="scripts/jquery.table2excel.js"></script> -->
<!--only for autocomplete and slide-->
<link href="scripts/jqueryui/jquery-ui.css" rel="stylesheet">
<!-- <script src="scripts/jquery.geocomplete.min.js"></script> -->
<link href="scripts/bootstrap-3.3.4-dist/css/bootstrap.min.css" media="all" rel="stylesheet"/>
<link href="scripts/font-awesome-4.3.0/css/font-awesome.min.css" media="all" rel="stylesheet">
<link href="styles/map.css?v=2.99" media="all" rel="stylesheet"/>
<script>
$(document).ready(function () {
initializeMap();
// init the compare info popovers
$(".compareInfo").popover({trigger: 'click', html: true});
// close the popover by clicking anywhere
$('body').on('click', function (e) {
$('[data-toggle="popover"]').each(function () {
//the 'is' for buttons that trigger popups the 'has' for icons within a button that triggers a popup
if (!$(this).is(e.target) && $(this).has(e.target).length === 0 && $('.popover').has(e.target).length === 0) {
$(this).popover('hide');
}
});
});
$(".markerhelp").tooltip({trigger: 'hover', placement: "top"});
$(".markerhelp2").tooltip({trigger: 'hover', placement: "bottom"});
$(".markerhelp3").tooltip({trigger: 'hover', placement: "right"});
if ($(window).width() < 768) {
$(".markerhelp2").tooltip('destroy')
$(".markerhelp3").tooltip('destroy')
}
// analytics event tracking
$(document).on("click", "button.btnMapLegend", function () {
_trackClickEventWithGA("Click", "Info", "Map Legend");
});
$(document).on("click", "a.btnPDF", function () {
_trackClickEventWithGA("Click", "Info", "Download PDF");
});
$(document).on("click", "button.btnFAQ", function () {
_trackClickEventWithGA("Click", "Info", "FAQ");
});
// show the buttons if the window goes from mobile to desktop
$(window).resize(function () {
if ($(window).width() > 767) {
$('#collapseButtons').collapse('show');
} else {
//$('#collapseButtons').collapse('hide');
}
adjustResultsHeight();
});
//set the width of the help container based on window width
function setHelpContainerWidth() {
if ($(window).width() < 768) {
$('#divHelpContainer').width($(window).width() - 25);
} else {
$('#divHelpContainer').width("50%");
}
}
//set the width of the advanced search container based on window width
function setAdvancedContainerWidth() {
if ($(window).width() < 768) {
$('#divAdvancedContainer').width($(window).width() - 25);
} else {
$('#divAdvancedContainer').width("50%");
}
}
$("#btnAdvancedSearch").click(function (e) { //open
e.stopPropagation();
setAdvancedContainerWidth();
var effect = 'slide';
var options = {
direction: 'right',
easing: 'swing',
complete: coverFadeIn()
};
var duration = 400;
$('#divAdvancedContainer').toggle(effect, options, duration);
});
$(".btnAdvancedSearch2").click(function (e) { //two buttons - close
e.stopPropagation();
var effect = 'slide';
var options = {
direction: 'right',
easing: 'swing',
complete: coverFadeOut()
};
var duration = 400;
$('#divAdvancedContainer').toggle(effect, options, duration);
});
$("#btnHelp").click(function (e) { //open
e.stopPropagation();
setHelpContainerWidth();
var effect = 'slide';
var options = {
direction: 'right',
easing: 'swing',
complete: coverFadeIn()
};
var duration = 400;
$('#divHelpContainer').toggle(effect, options, duration);
});
$(".btnHelp2").click(function (e) { //close - two buttons
e.stopPropagation();
var effect = 'slide';
var options = {
direction: 'right',
easing: 'swing',
complete: coverFadeOut()
};
var duration = 400;
$('#divHelpContainer').toggle(effect, options, duration);
});
$("#cover").click(function (e) {
e.stopPropagation();
var effect = 'slide';
var options = {
direction: 'right',
complete: coverFadeOut()
};
var duration = 400;
if ($('#divHelpContainer').css('display') != 'none') {
$('#divHelpContainer').toggle(effect, options, duration);
} else {
$('#divAdvancedContainer').toggle(effect, options, duration);
}
});
$("#btnCompare").click(function () {
$('#divCompareContainer').collapse("hide");
$('#btnCompareBig2').removeClass("hidden");
});
$("#btnCompareBig2").click(function () {
$('#divCompareContainer').collapse("show");
$('#btnCompareBig2').addClass("hidden");
});
$("#btnSearchRadius").click(function () {
_trackClickEventWithGA("Click", "Result List", "More Schools Button");
radiusSearch();
});
//zooms in and out of map
$("#btnZoomIn").click(function () {
_trackClickEventWithGA("Click", "Zoom", "Zoom In");
map.setZoom(map.getZoom() + 1);
});
$("#btnZoomOut").click(function () {
_trackClickEventWithGA("Click", "Zoom", "Zoom Out");
map.setZoom(map.getZoom() - 1);
});
//change placeholder text for smaller screens
$(function () {
var txt = $(window).width() < 400
? 'Search'
: 'school / address / zip';
$('#autocomplete').attr('placeholder', txt);
});
// closes the tour once user clicks on the input field
$("#autocomplete").on("focus", function () {
//show the clear button (x)
$("#btnClearSearch").css("display", "block");
// highlight the entire line $(this).select(); close the tour
if (hopscotch.getCurrTour()) {
if (hopscotch.getCurrTour().id == "maptour-xs") {
t = "Mobile";
} else {
t = "Desktop";
}
_trackClickEventWithGA("Tour", t, "Close Tour at Step " + hopscotch.getCurrStepNum().toString());
hopscotch.endTour();
}
});
$('#divResultsContainer').on('shown.bs.collapse', function (e) {
e.stopPropagation();
adjustResultsHeight();
});
});
</script>
</head>
<body>
<a id="btnTPSedu" href="http://www.tulsaschools.org" target="_blank" class="tps-logo">
<img class="hidden-xs" src="images/tps_logo.png"/>
<img class="visible-xs-block" src="images/tps_logo.png"/>
</a>
<!-- SEARCH -->
<div id="divSearchContainer" class="container-search">
<button id="btnSearch" type="search" onclick="searchInputField();" class="btnSearch">
<i class="fa fa-search fa-2x"></i>
</button>
<button id="btnClearSearch" type="button" onclick="clearSearchInputField();" class="btnClearSearch">
<i class="fa fa-times fa-lg"></i>
</button>
<form method="post" action="">
<!-- To display "Search" instead of "Return" on iDevice -->
<div class="form-group" style="margin-bottom:0;">
<label for="autocomplete" class="sr-only">Search</label>
<input id="autocomplete" type="search" name="search" class="form-control input-lg autocomplete"/>
</div>
</form>
</div>
<!-- If Javascript is not enabled -->
<noscript>
<div style="padding:40px;">
<h2>JavaScript is turned off in your web browser.</h2>
<h4>
Instructions on how to enable JavaScript are found at
<strong>
http://www.enable-javascript.com/</strong>
</h4>
</div>
</noscript>
<!-- RESULTS -->
<div id="divResultsContainer" class="container-fluid collapse in">
<div id="pinLocAlertContainer" class="container-fluid">
<div class="row">
<div id="pinLocAlert" class="alert alert-info-blue alert-dismissible clearfix" role="alert">
<div class="col-xs-1" style="padding:0; margin-left:0; text-align: center;">
<img class="img" style="height:30px; margin-top:10px;" src="images/yellow-pin-lg.png" alt="address location">
<span id="txtTierLoc"></span></div>
<div class="col-xs-10" style="line-height:1.1em; padding:2px 0 0 5px; font-size: .875em;">
<span id="txtGeoLoc"></span>
</div>
<div class="col-xs-1" style="padding-left:0px; padding-right:5px;">
<button type="button" class="close close-lg closepinloc" onclick="$('#pinLocAlert').hide();" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
</div>
</div>
</div>
<!-- Home List displays 'attendable' Neighborhood schools on Address, LongPress, and FindMe searches -->
<div id="homeListContainer">
<div id="resultListPoly"></div>
</div>
<!-- Result Count displays schools on Radius, Zipcode, Advanced (Filtered), and URL searches -->
<div id="resultCountContainer" class="container-fluid">
<div class="row">
<div id="resultCount"></div>
</div>
</div>
<div id="divResultsCollapse" class="collapse in">
<div id="resultListContainer">
<div id="resultList"></div>
</div>
<!-- Extraswrapper contains the '*Attendance grades within boundary' message-->
<div id="extraswrapper" class="collapse in">
<div id="boundaryAsterisk"></div>
<!-- <div id="safepassdiv"></div> -->
</div>
<!-- moreSchoolsRow contains buttons and filters -->
<div id="moreSchoolsRow" class="container-fluid">
<!-- row contains the More Schools, School Ratings, and Filter Results buttons-->
<div class="row" style="background-color:#fff; padding:5px 0px;">
<div class="col-xs-12">
<div class="clearfix">
<button type="button" id="btnSearchRadius" class="btn btn-default btn-xs">
<span class="glyphicon glyphicon-map-marker" aria-hidden="true"></span>
More Schools
</button>
<button type="button" id="lnkRating" class="btn btn-default btn-xs pull-right ratings" onclick="setPerformanceRatingData();">
<span class="glyphicon glyphicon-star-empty" aria-hidden="true"></span>
School Ratings
</button>
<button type="button" id="btnShowFilters" class="btn btn-default btn-xs" data-toggle="collapse" data-target="#filterresults" aria-expanded="false" aria-controls="filterresults">
Filter Results
</button>
</div>
</div>
</div>
<!-- filterresults contains the filter options and the buttons -->
<div id="filterresults" class="row collapse" style="background-color:#FFFFFF;">
<!-- filteraccordion contains the filter options -->
<div id="filteraccordion" class="panel-group refineDropdown" style="margin-bottom:0; padding-top:5px;" role="tablist" aria-multiselectable="true">
<div class="panel panel-default panel-filtered">
<div class="panel-heading" role="tab" id="headingOneFiltered">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#filteraccordion" href="#collapseOneFiltered" aria-expanded="true" aria-controls="collapseOne">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
Grade Category
</a>
<span class="pull-right">
<button class="btn btn-primary btn-xs" type="button" data-toggle="collapse" data-target="#collapseGradeCategoryHelp" aria-expanded="false" aria-controls="collapseGradeCategoryHelp">?</button>
</span>
</h4>
<div class="collapse" id="collapseGradeCategoryHelp">
<h4>
Neighborhood schools
<br/>
<img src="images/blue_blank.png" width="14" height="20" alt="Attendance Area Elementary School" title="Attendance Area Elementary School"/>
<img src="images/orange_blank.png" width="14" height="20" alt="Attendance Area Middle School" title="Attendance Area Middle School"/>
<img src="images/red_blank.png" width="14" height="20" alt="Attendance Area High School" title="Attendance Area High School"/>
</h4>
<p>
Your home address falls within an elementary and high school attendance boundary: these are your neighborhood schools. You have the option to send your child to this elementary school and high school.
</p>
<h4>
City-wide schools
<br/>
<img src="images/blue_circle.png" width="14" height="20" alt="City-wide Elementary School" title="City-wide Elementary School"/>
<img src="images/orange_circle.png" width="14" height="20" alt="City-wide Middle School" title="City-wide Middle School"/>
<img src="images/red_circle.png" width="14" height="20" alt="City-wide High School" title="City-wide High School"/>
</h4>
<p>
Some schools - like magnet, selective enrollment, and military schools - have their own processes for enrollment. These schools are marked with a CW inside their map pin. Visit
<a href="http://cpsoae.org" target="_blank" class="perfpoplink">http://cpsoae.org</a>
to learn how to apply to these kinds of schools.
</p>
<h4>
Charter schools
<br/>
<img src="images/blue_c.png" width="14" height="20" alt="Charter Elementary School" title="Charter Elementary School">
<img src="images/orange_c.png" width="14" height="20" alt="Charter Middle School" title="Charter Middle School">
<img src="images/red_c.png" width="14" height="20" alt="Charter High School" title="Charter High School"></h4>
<p>
Charter schools are public schools that are independently operated. Charter schools are open to all Tulsa children but an application and sometimes a lottery is required for enrollment. These schools are marked with a CH inside their map pin.
</p>
</div>
</div>
<div id="collapseOneFiltered" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingOne">
<div class="panel-body">
<ul class='options-v clearfix'>
<li>
<input type='checkbox' id='st1'/>
<label for='st1' class="label-blue">Elementary School</label>
<div class="pull-right" style="text-indent:0px; width:60px;">
<a href="#" class="markerhelp" rel="tooltip" title="Attendance Area Elementary School">
<img src="images/blue_blank.png" width="14" height="20" alt="Attendance Area Elementary School" title=""></a>
<a href="#" class="markerhelp" rel="tooltip" title="City-wide Elementary School">
<img src="images/blue_circle.png" width="14" height="20" alt="City-wide Elementary School" title=""></a>
<a href="#" class="markerhelp" rel="tooltip" title="Charter Elementary School">
<img src="images/blue_c.png" width="14" height="20" alt="Charter Elementary School" title=""></a>
</div>
</li>
<li>
<input type='checkbox' id='st2'/>
<label for='st2' class="label-orange">Middle School</label>
<div class="pull-right" style="text-indent:0px; width:60px;">
<a href="#" class="markerhelp" rel="tooltip" title="Attendance Area Middle School">
<img src="images/orange_blank.png" width="14" height="20" alt="Attendance Area Middle School" title=""></a>
<a href="#" class="markerhelp" rel="tooltip" title="City-wide Middle School">
<img src="images/orange_circle.png" width="14" height="20" alt="City-wide Middle School" title=""></a>
<a href="#" class="markerhelp" rel="tooltip" title="Charter Middle School">
<img src="images/orange_c.png" width="14" height="20" alt="Charter Middle School" title=""></a>
</div>
</li>
<li>
<input type='checkbox' id='st3'/>
<label for='st3' class="label-red">High School</label>
<div class="pull-right" style="text-indent:0px; width:60px;">
<a href="#" class="markerhelp" rel="tooltip" title="Attendance Area High School">
<img src="images/red_blank.png" width="14" height="20" alt="Attendance Area High School" title=""></a>
<a href="#" class="markerhelp" rel="tooltip" title="City-wide High School">
<img src="images/red_circle.png" width="14" height="20" alt="City-wide High School" title=""></a>
<a href="#" class="markerhelp" rel="tooltip" title="Charter High School">
<img src="images/red_c.png" width="14" height="20" alt="Charter High School" title=""></a>
</div>
</li>
</ul>
</div>
</div>
</div>
<div class="panel panel-default panel-filtered">
<div class="panel-heading" role="tab" id="headingTwoFiltered">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#filteraccordion" href="#collapseTwoFiltered" aria-expanded="false" aria-controls="collapseTwo">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
Performance Rating
</a>
<span class="pull-right">
<button class="btn btn-primary btn-xs" type="button" data-toggle="collapse" data-target="#collapsePerformanceRatingHelp" aria-expanded="false" aria-controls="collapsePerformanceRatingHelp">?</button>
</span>
</h4>
<div class="collapse" id="collapsePerformanceRatingHelp">
<p style="margin-bottom:10px; margin-top:10px;">
A Performance Rating for a school is based on the school's score on the Performance Policy. To learn more, visit:
<a href="http://cps.edu/performance/" target="_blank" class="perfpoplink">http://cps.edu/performance/</a>
</p>
<h4>
LEVEL 1+
<img src="images/Level_1a_small.png" width="20" height="20" alt="Level 1+ Rating" title="Level 1+ Rating"></h4>
<p>Schools receiving a Level 1+ rating.</p>
<h4>
LEVEL 1
<img src="images/Level_1_small.png" width="20" height="20" alt="Level 1 Rating" title="Level 1 Rating"></h4>
<p>Schools receiving a Level 1 rating.</p>
<h4>
LEVEL 2+
<img src="images/Level_2a_small.png" width="20" height="20" alt="Level 2+ Rating" title="Level 2+ Rating"></h4>
<p>Schools receiving a Level 2+ rating.</p>
<h4>
LEVEL 2
<img src="images/Level_2_small.png" width="20" height="20" alt="Level 2 Rating" title="Level 2 Rating"></h4>
<p>Schools receiving a Level 2 rating.</p>
<h4>
LEVEL 3
<img src="images/Level_3_small.png" width="20" height="20" alt="Level 3 Rating" title="Level 3 Rating"></h4>
<p>Schools receiving a Level 3 rating.</p>
<h4>
INABILITY TO RATE
<img src="images/Level_NA_small.png" width="20" height="20" alt="INABILITY TO RATE" title="INABILITY TO RATE"></h4>
<p>
Schools not having enough data for a Performance Policy rating.
</p>
</div>
</div>
<div id="collapseTwoFiltered" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingTwo">
<div class="panel-body">
<ul class='options-v'>
<li>
<span class="green-dark">
<label for='st13'>
<input type='checkbox' id='st13'/>
Level 1+
</label>
</span>
<div class="pull-right" style="text-indent:0px; width:40px;">
<a href="#" class="markerhelp" rel="tooltip" title="LEVEL 1+">
<img src="images/Level_1a_small.png" width="20" height="21" alt="LEVEL 1+" title=""></a>
</div>
</li>
<li>
<span class="green-light">
<label for='st14'>
<input type='checkbox' id='st14'/>
Level 1
</label>
</span>
<div class="pull-right" style="text-indent:0px; width:40px;">
<a href="#" class="markerhelp" rel="tooltip" title="LEVEL 1">
<img src="images/Level_1_small.png" width="20" height="21" alt="LEVEL 1" title=""></a>
</div>
</li>
<li>
<span class="yellow-dark">
<label for='st15'>
<input type='checkbox' id='st15'/>
Level 2+
</label>
</span>
<div class="pull-right" style="text-indent:0px; width:40px;">
<a href="#" class="markerhelp" rel="tooltip" title="LEVEL 2+">
<img src="images/Level_2a_small.png" width="20" height="21" alt="LEVEL 2+" title=""></a>
</div>
</li>
<li>
<span class="red-light">
<label for='st16'>
<input type='checkbox' id='st16'/>
Level 2
</label>
</span>
<div class="pull-right" style="text-indent:0px; width:40px;">
<a href="#" class="markerhelp" rel="tooltip" title="LEVEL 2">
<img src="images/Level_2_small.png" width="20" height="21" alt="LEVEL 2" title=""></a>
</div>
</li>
<li>
<span class="red-dark">
<label for='st17'>
<input type='checkbox' id='st17'/>
Level 3
</label>
</span>
<div class="pull-right" style="text-indent:0px; width:40px;">
<a href="#" class="markerhelp" rel="tooltip" title="LEVEL 3">
<img src="images/Level_3_small.png" width="20" height="21" alt="LEVEL 3" title=""></a>
</div>
</li>
<li>
<span id="perf-label-black">
<label for='st18'>
<input type='checkbox' id='st18'/>
Inability to Rate
</label>
</span>
<div class="pull-right" style="text-indent:0px; width:40px;">
<a href="#" class="markerhelp" rel="tooltip" title="NO DATA">
<img src="images/Level_NA_small.png" width="20" height="21" alt="NO DATA" title=""></a>
</div>
</li>
</ul>
</div>
</div>
</div>
<div class="panel panel-default panel-filtered hidden">
<div class="panel-heading" role="tab" id="headingFourFiltered">
<h4 class="panel-title">
<a data-toggle="collapse" data-parent="#filteraccordion" href="#collapseFourFiltered" aria-expanded="false" aria-controls="collapseFour">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
Programs Offered
</a>
<span class="pull-right">
<button class="btn btn-primary btn-xs" type="button" data-toggle="collapse" data-target="#collapseProgramsOfferedHelp" aria-expanded="false" aria-controls="collapseSchoolClassificationHelp">?</button>
</span>
</h4>
<div class="collapse" id="collapseProgramsOfferedHelp">
<h4>How does the Programs Offered filter work?</h4>
<p>
The Programs Offered filter will display the schools who have the selected program type. You must click Show All Schools or Search by Address to get results.
</p>
</div>
</div>
<div id="collapseFourFiltered" class="panel-collapse collapse" role="tabpanel" aria-labelledby="headingFour">
<div class="panel-body">
<ul class='options-v'>
<li>
<span class="label-grey">
<span style='position: absolute; right:25px;' class="label-grey">
<label for='pt00'>
<input name='pt' type='radio' id='pt00' onclick='togglePT("All Off");'/>
All Off
</label>
</span>
</span>
</li>
<li>
<span class="label-grey">
<label for='pt10'>
<input name='pt' type='radio' id='pt10' onclick='togglePT("Early_Childhood_Program");'/>
Early Childhood Program
</label>
<br/>
</span>
<div style='margin-left:20px;'>
<a href="http://www.cps.edu/schools/earlychildhood/Pages/EarlyChildhood.aspx" target="_blank">Apply and enroll</a>
<br/>
<a href="http://chicagoearlylearning.org/" target="_blank">More pre-K options</a>
</div>
</li>
</ul>
</div>
</div>
</div>
</div>
<!-- Update and Reset buttons - Advanced (Filtered) Search -->
<div class="col-xs-12" style="margin-top:10px; margin-bottom:20px;">
<button id="btnAdvancedSearchGo2" type="button" onclick="filteredSearch();" class="btn btn-primary btn-md btnAdvancedSearchGo2">
<span class="glyphicon glyphicon-search" aria-hidden="true"></span>
Update
</button>
<button id="resetMap3" onclick="resetFilters();" type="button" style="margin-left:20px;" class="btn btn-danger btn-md">
<span class="glyphicon glyphicon-refresh" aria-hidden="true"></span>
Reset
</button>
</div>
</div>
</div>
</div>
</div>
<!-- Detail Container displays school specific data. Toggles with ResultList displays -->
<div id="divDetailContainer" class="container-fluid collapse"></div>
<!-- Buttons located on the right side of the screen, displayed on Mobile only -->
<div id="divButtonContainer2">
<button type="button" id="btnShowButtons" class="btnShowButtons visible-xs-block btnXS" data-toggle="collapse" data-target="#collapseButtons" aria-expanded="false" aria-controls="collapseButtons">
<span class="fa-stack fa-2x">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-ellipsis-v fa-stack-1x fa-inverse"></i>
</span>
</button>
<div id="collapseButtons" class="collapse clearfix">
<button id="btnHelp" type="button" class="btnHelp pull-right btnXS markerhelp2" data-toggle="tooltip" title="Info">
<span class="fa-stack fa-2x">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-info fa-stack-1x fa-inverse"></i>
</span>
</button>
<button id="btnAdvancedSearch" type="button" class="btnAdvancedSearch pull-right btnXS markerhelp2" data-toggle="tooltip" title="Overlays">
<span class="fa-stack fa-2x">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-align-justify fa-stack-1x fa-inverse"></i>
</span>
</button>
<button id="btnFindMe" type="button" onclick="findMe(); return false;" class="btnFindMe pull-right btnXS markerhelp2" data-toggle="tooltip" title="Find Schools Around Me">
<span class="fa-stack fa-2x">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-location-arrow fa-stack-1x fa-inverse"></i>
</span>
</button>
<button id="btnResetMap" type="button" onclick="resetmap();" class="btnResetMap pull-right btnXS markerhelp2" data-toggle="tooltip" title="Reset Map" data-placement="left">
<span class="fa-stack fa-2x">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-refresh fa-stack-1x fa-inverse"></i>
</span>
</button>
</div>
</div>
<!-- Buttons located on the bottom left side of the screen -->
<div id="divButtonContainer3">
<button id="btnCompareBig2" type="button" class="btnCompare markerhelp3 hidden" data-toggle="tooltip" title="Compare Schools">
<span class="fa-stack fa-2x">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-check-square-o fa-stack-1x fa-inverse"></i>
<!-- <i class="fa fa-heart fa-stack-1x fa-inverse"></i> -->
</span>
</button>
<br/>
<button id="btnZoomIn" type="button" class="btnZoomIn markerhelp3" data-toggle="tooltip" data-placement="right" title="Zoom In">
<span class="fa-stack fa-2x">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-plus fa-stack-1x fa-inverse"></i>
</span>
</button><br/>
<button id="btnZoomOut" type="button" class="btnZoomOut markerhelp3" data-toggle="tooltip" data-placement="right" title="Zoom Out">
<span class="fa-stack fa-2x">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-minus fa-stack-1x fa-inverse"></i>
</span>
</button>
</div>
<!-- Table that displays comparison data at the bottom of the screen -->
<div id="divCompareContainer" class="collapse">
<div class="table-responsive" style="border:0; height: 100%;">
<table id="tblCompare" class="table table-condensed" style="white-space: nowrap;">
<thead>
<tr class="noExl" style="color:#FFF; background-color:#36C;">
<td style="text-align:center; vertical-align: middle;">
<button id="btnCompare" type="button" class="btnCompare" style="color:#FFF;">
<i class="fa fa-chevron-circle-down fa-2x"></i>
</button>
</td>
<td colspan="17">
<h4>Compare Schools
<i class="fa fa-check-square-o fa-lg"></i>
</h4>
</td>
</tr>
<tr style="color:#36c; background-color:#C8DAFF;">
<th>Name</th>
<th># of Students</th>
<th>Rating
<button
id="btnInfoRating"
type="button"
class="btnHelp compareInfo"
data-container="body"
data-toggle="popover"
data-placement="auto top"
title="School Rating <i class='fa fa-times-circle pull-right' onclick='hideAllPopovers();'></i>"
data-content="The school rating is based on the TPS School Quality Rating Policy (SQRP). To learn more, visit: <a href='http://cps.edu/sqrp' target='_blank'>http://cps.edu/sqrp</a>.">
<i class="fa fa-info-circle"></i>
</button>
</th>
<th>Reading
<button
id="btnInfoReading"
type="button"
class="btnHelp compareInfo"
data-container="body"
data-toggle="popover"
data-placement="auto top"
title="Reading Attainment<i class='fa fa-times-circle pull-right' onclick='hideAllPopovers();'></i>"
data-content="Reading Attainment measures how well the school performed on the <strong>reading</strong> section of the <a href='http://nwea.org' target='_blank'>NWEA MAP®</a> standardized test in the Spring of 2017. This school’s scores are compared to national average scores. A 50th percentile score means the school scored the same as the national average.">
<i class="fa fa-info-circle"></i>
</button>
</th>
<th>Math
<button
id="btnInfoMath"
type="button"
class="btnHelp compareInfo"
data-container="body"
data-toggle="popover"
data-placement="auto top"
title="Math Attainment<i class='fa fa-times-circle pull-right' onclick='hideAllPopovers();'></i>"
data-content="Math Attainment measures how well the school performed on the <strong>math</strong> section of the <a href='http://nwea.org' target='_blank'>NWEA MAP®</a> standardized test in the Spring of 2017. This school’s scores are compared to national average scores. A 50th percentile score means the school scored the same as the national average.">
<i class="fa fa-info-circle"></i>
</button>
</th>
<th>SAT
<button
id="btnInfoACT"
type="button"
class="btnHelp compareInfo"
data-container="body"
data-toggle="popover"
data-placement="auto top"
title="SAT Average <i class='fa fa-times-circle pull-right' onclick='hideAllPopovers();'></i>"
data-content="The SAT is a standardized test for high school achievement and college admissions in the United States produced by College Board. Each profile provides the average score received by students in 11th grade at the school in spring 2017.">
<i class="fa fa-info-circle"></i>
</button>
</th>
<th>Graduation
<button
id="btnInfoGraduation"
type="button"
class="btnHelp compareInfo"
data-container="body"
data-toggle="popover"
data-placement="auto top"
title="Graduation Rate <i class='fa fa-times-circle pull-right' onclick='hideAllPopovers();'></i>"
data-content="Graduation rate is based on the performance of a group of students observed over 5 years.">
<i class="fa fa-info-circle"></i>
</button>
</th>
<th>College
<button
id="btnInfoCollege"
type="button"
class="btnHelp compareInfo"
data-container="body"
data-toggle="popover"
data-placement="auto top"
title="College Enrollment <i class='fa fa-times-circle pull-right' onclick='hideAllPopovers();'></i>"
data-content="Percentage of graduates enrolled in college in 2016.">
<i class="fa fa-info-circle"></i>
</button>
</th>
<th>Growth
<button
id="btnInfoGrowth"
type="button"
class="btnHelp compareInfo"
data-container="body"
data-toggle="popover"
data-placement="auto top"
title="Student Growth <i class='fa fa-times-circle pull-right' onclick='hideAllPopovers();'></i>"
data-content="<strong>High School:</strong> Student Growth measures the change in standardized test scores between two points in time, in this case between students' 8th grade NWEA score (Spring 2014) and 11th grade SAT score (Spring 2017). This growth measure compares students' actual SAT scores to expected SAT scores based on 8th grade NWEA score.<br/><strong>Elementary School:</strong> Student Growth measures the change in standardized test scores between two points in time, in this case between Spring 2016 and Spring 2017. This growth is compared to the average national growth for schools that had similar scores in 2016. A 50th percentile score means the school grew at the same rate as the national average.">
<i class="fa fa-info-circle"></i>
</button>
</th>
<th>Attainment
<button
id="btnInfoAttainment"
type="button"
class="btnHelp compareInfo"
data-container="body"
data-toggle="popover"
data-placement="auto top"
title="Student Attainment <i class='fa fa-times-circle pull-right' onclick='hideAllPopovers();'></i>"
data-content="<strong>High School:</strong> Student Attainment measures how well the school performed on standardized tests at a single point in time, in this case Spring 2017. This school's score is based on attainment relative to the combined College Readiness Benchmark score, set by College Board. To learn more, visit <a href='https://collegereadiness.collegeboard.org' target='_blank'>collegereadiness.collegeboard.org</a>. <br/><strong>Elementary School:</strong> Student Attainment measures how well the school performed on standardized tests at a single point in time, in this case Spring 2017. This school’s scores are compared to national average scores. A 50th percentile score means the school is performing at the same level as the national average school.">
<i class="fa fa-info-circle"></i>
</button>
</th>
<th>Culture
<button
id="btnInfoCulture"
type="button"
class="btnHelp compareInfo"
data-container="body"
data-toggle="popover"
data-placement="auto top"
title="School Culture and Climate <i class='fa fa-times-circle pull-right' onclick='hideAllPopovers();'></i>"
data-content="Results are based on student and teacher responses to the My Voice, My School 5Essentials survey. For more information on this survey and other measures of school culture and climate visit: <a href='https://cps.5-essentials.org/2017' target='_blank'>https://cps.5-essentials.org/2017</a>.">
<i class="fa fa-info-circle"></i>
</button>
</th>
<th>Mobility
<button
id="btnInfoMobility"
type="button"
class="btnHelp compareInfo"
data-container="body"
data-toggle="popover"
data-placement="auto top"
title="Mobility Rate <i class='fa fa-times-circle pull-right' onclick='hideAllPopovers();'></i>"
data-content="Student mobility (turnover) reflects any enrollment change between the first school day in October and the last day of the school year. It is the sum of the students who transferred out and the students who transferred in, divided by the average daily enrollment, multiplied by 100. Students are counted each time they transfer out or in during the reporting year. Thus, individual students may be counted more than once.">
<i class="fa fa-info-circle"></i>
</button>
</th>
<th>Dress Code</th>
<!-- <th>ADA</th>-->
<!-- <th>Type</th> -->
<!-- <th>Classification</th> -->
<!-- <th>Programs</th> -->
<!-- <th>Phone</th>-->
<th></th>
</tr>
</thead>
<tbody class='comparerow'></tbody>
</table>
</div>
</div>
<!-- Slideout contains the info panel -->
<div id="divHelpContainer">
<div id="divHelp">
<div class="container-fluid height100 backgroundfillwhite">
<button id="btnHelp2" type="button" class="btnHelp2 btnHelp">
<span class="fa-stack fa-2x">
<i class="fa fa-circle fa-stack-2x"></i>
<i class="fa fa-close fa-stack-1x fa-inverse"></i>
</span>
</button>
<div class="row backgroundfillwhite">
<div class="col-xs-12">
<h2 style="color:#36C; padding-bottom:20px">Information</h2>
<p>
<strong>Attendance Boundary Questions?</strong>
Neighborhood attendance boundaries can only be officially confirmed through the Data Strategy and Analytics team at 918-746-6373.<br/>
<br/>
<strong>Enrollment Questions?</strong>
Questions regarding specific enrollment procedures should be directed to the Enrollment Center at 918.746.7500.
<br/>
<br/>
</p>
</div>
</div>
<div class="row backgroundfillwhite">
<div class="col-xs-12" style="padding-bottom:10px;">
<button id="btnStartTour" type="button" class="btn btn-default col-xs-12 btnHelp2" onclick="trackTour(); startTour();">Take the Tour</button>
</div>
</div>
<div class="row backgroundfillwhite">
<div class="col-xs-12" style="padding-bottom:10px;">
<button type="button" class="btn btn-default col-xs-12 btnMapLegend" data-toggle="collapse" data-target="#collapseLegend" aria-expanded="false" aria-controls="collapseLegend">Map Legend</button>
<div id="collapseLegend" class="collapse backgroundfillwhite">
<div class="height100 backgroundfillwhite">
<ul class="list-group" style="margin-top: 34px;">
<li class="list-group-item">
<div class="label-blue"><img src="images/blue_blank.png" width="14" height="20" alt="Attendance Area Elementary School" title=""/>
Attendance Area Elementary School</div>
<div class="label-blue">
<img src="images/blue_circle.png" width="14" height="20" alt="City-wide Elementary School" title=""/>
City-wide Elementary School</div>
<div class="label-blue"><img src="images/blue_c.png" width="14" height="20" alt="Charter Elementary School" title=""/>
Charter Elementary School</div>
</li>
<li class="list-group-item">
<div class="label-orange"><img src="images/orange_blank.png" width="14" height="20" alt="Attendance Area Middle School" title="">
Attendance Area Middle School</div>
<div class="label-orange"><img src="images/orange_circle.png" width="14" height="20" alt="City-wide Middle School" title="">
City-wide Middle School</div>
<div class="label-orange"><img src="images/orange_c.png" width="14" height="20" alt="Charter Middle School" title="">
Charter Middle School</div>
</li>
<li class="list-group-item">
<div class="label-red"><img src="images/red_blank.png" width="14" height="20" alt="Attendance Area High School" title="">
Attendance Area High School</div>
<div class="label-red"><img src="images/red_circle.png" width="14" height="20" alt="City-wide High School" title="">
City-wide High School</div>
<div class="label-red"><img src="images/red_c.png" width="14" height="20" alt="Charter High School" title="">
Charter High School</div>
</li>
<li class="list-group-item">
<span style="width:15px; height:5px; background-color:#ff00ff; margin:8px 5px 0 0; display:block; float:left;"> </span>Safe Passage Route
</li>
<li class="list-group-item">
<div><img src="images/yellow-pin-lg.png" width="14" height="20" alt="Pin Drop Location" title="">
Pin Drop Location</div>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="row backgroundfillwhite">
<div class="col-xs-12" style="padding-bottom:10px;">
<button type="button" class="btn btn-default col-xs-12 btnFAQ" data-toggle="collapse" data-target="#collapseFAQGuide" aria-expanded="false" aria-controls="collapseFAQGuide">FAQ</button>
<div id="collapseFAQGuide" class="collapse backgroundfillwhite">
<div class="height100 backgroundfillwhite">
<div class="well">
<h1>School Locator - Frequently Asked Questions</h1>
<h3>What is the school locator tool?</h3>
<p>
The school locator allows you to search for TPS schools by name, address and zip code. Results can be viewed in a variety of ways including by attendance boundary, ward, neighborhood or zip code.
</p>
<h3>What information is available on the map?</h3>
<p>
The map features color-coded pins for each school that you can click to access general information about schools such as contact information, grade category, grades and performance rating. The school detail box also provides a link to the school's
profile that has more extensive information including enrollment, academic performance and demographics.
</p>
<h3>How do I find my neighborhood school?</h3>
<p>
Type your street address into the text box and click the search button. Schools near your location will appear in a list on the left side of the screen. Click a school name to see its location on the map.
</p>
<h3>
How can I see the attendance boundary for a neighborhood school?
</h3>
<p>
Click on a colored school pin on the map to see the attendance boundary for that school. The attendance boundary will appear as a shaded area on the map. This will help you identify the attendance area down to the street level. It can sometimes be
helpful to zoom in on the map to see specific street names.
</p>
<h3>How do I search for a school near me?</h3>
<p>
Click the "Find Schools Around Me" button to find schools near your current location. Some devices and/or browsers may ask you for permission before sending your current location. You must allow your current location to be sent in order for this
feature to work.
</p>
<h3>How do I find a school by name?</h3>
<p>
Start typing the name of the school in the search box and click the drop down list of schools to find a school by name. When a school is selected, the school location will be marked with a colored pin on the map and a detail panel will appear with
additional information.
</p>
<h3>What is an overlay?</h3>
<p>
An overlay is a transparent layer of additional information that appears on top of the existing map to help denote specific boundaries or regions. For example, a zip code overlay will show boundaries for all the zip codes in Tulsa. Click on a
specific boundary area on the map to see more details about that area.
</p>
<h3>
What if I only want to see high schools or elementary schools?
</h3>
<p>
The Filter Results button allows you to filter your search. Click on Grade Category and check any grades categories you want to appear. For example, to view high schools only, check High School. By default all grade categories (elementary, middle and
high school) are displayed.
</p>
<h3>
How do I see all the schools?
</h3>
<p>
To view all the schools, click the Reset Map button then click the search icon (magnifying glass).
</p>
<h3>
How do I see the Local School Council boundaries?
</h3>
<p>
To view the LSC boundary, click the on the school to bring up the detail view then click the LSC button.
</p>
</div>
</div>
</div>
</div>
</div>
<div class="row backgroundfillwhite">
<div class="col-xs-12">
<p>
<br/>
<strong>Disclaimer:</strong>
Disclaimer: The neighborhood school address search is provided to allow easy access and visual display of school attendance boundary and school location information. Every reasonable effort has been made to assure the accuracy of the maps and data
provided; nevertheless, due to applied assumptions made by the technology used some information may not be presented accurately. All data visualizations on maps should be considered approximate.</p>
</div>
</div>
</div>
</div>
</div>