Jasper Junior High School (2024)

Jasper Junior High School (1)

David Burt

Principal

"); }).on('focusout', function() { $("#socialIconLink_"+col).html(""); }); }); // ========================================================================= // Create Modal And Show Person Info Inside By Gathering Data from data // attributes and set with literals // ========================================================================= $(document).on("click", '.custom_349363 .personInfo', function(e) { e.preventDefault(); e.stopPropagation(); var field = $(this).attr("data-id"); var fullname = $(this).attr("data-name"); var email = $(this).attr("data-email"); var phone = $(this).attr("data-phone"); var ext = $(this).attr("data-ext"); var position = $(this).attr("data-title"); var description = $(this).attr("data-desc"); var image_src = $(this).attr("data-image"); let sendMessage = "0"; var modalContent = ""; modalContent += `

`; if (fullname != '') { modalContent += `

Meet: ${fullname}

`; } modalContent += `

`; if (position != '') { modalContent += ` ${position} `; } if (description != '') { modalContent += `

${description}

`; } modalContent += `

`; if (fullname != '') { modalContent += `

${fullname}

`; } if (image_src != '') { modalContent += `Jasper Junior High School (2)`; } modalContent += `

`; if (position != '') { modalContent += ` ${position} `; } if (phone != '') { modalContent += `
${phone} `; } if (ext != '') { modalContent += `
ext.${" "+ext} ` } if (email != '') { modalContent += `
`; if (sendMessage == '1') { modalContent += `
`; } else if (sendMessage == '2') { modalContent += ` Send E-Mail `; } else { modalContent += `Send E-Mail`; } } modalContent += `

`; $('.directoryModalContent').html(modalContent); $('.directoryModal').modal('show'); $(".contactForm").hide(); $(".alert_message_349363").html(""); $(document).on('click', '#send_m_349363', function() { $(".contactForm").fadeIn("slow"); $(".personInfoArea").hide(); $(".modal_title_349363").html("Send Message To: "+fullname+""); }) $(document).on('click', '#back_to_info_349363', function() { $(".contactForm").hide(); $(".personInfoArea").fadeIn("slow"); $(".modal_title_349363").text("Meet: "+fullname); }) $(".directoryModal").on("shown.bs.modal", function () { $("#directoryModal").removeClass("directoryRowModal").addClass("meetTeamModal"); $("#directoryModal.meetTeamModal .modal-dialog").removeClass('modal-xxl').addClass('modal-lg'); $(".modal-backdrop").addClass("meetTeam"); $(".modal-backdrop.meetTeam").fadeTo( "fast", 0.70 ); $('.directoryModal.meetTeamModal').animate({ scrollTop: 0 }, 'slow'); }); $(".directoryModal").on("hidden.bs.modal", function () { $("#directoryModal.meetTeamModal .modal-dialog").removeClass('modal-lg').addClass('modal-xxl'); $(".modal-backdrop").removelass("meetTeam"); }) $(document).on('click', '#sendSubmit_button_349363', function() { if ($("#eName_349363").val() == '' || $("#eEmail_349363").val() == '' || $("#eSubject_349363").val() == '' || $("#eNote_349363").val() == ''){ alert("Please provide us with your name, your email address, a subject for your message, and a message. Thank you."); } else { if ($("#eEmail_349363").val()) { submit_recap('g-recaptcha-response_contact_349363', 'eForm_349363'); } } }); $("#phone_349363").on('paste', function(e) { var data = e.originalEvent.clipboardData.getData('Text').replace(/-|\./g,''); $(this).val(data); $(this).val(function(i, v) { return v.replace(/[^\d]/gi, ''); }); $(this).attr({ maxLength : 10 }); }); $("#phone_349363").on("keyup", function(e) { thisLen = $(this).val().replace(/\s+/g, '').length; if (e.keyCode != 8) { if (thisLen <= 11) { e.target.value = e.target.value.replace(/[^\d]/, ""); if (e.target.value.length === 10) { var ph = e.target.value.split(""); ph.splice(3, 0, "-"); ph.splice(7, 0, "-"); $(this).val(ph.join("")); } } } else { newVal = $(this).val().replace(/-|\./g,''); $(this).val(newVal); } if ($(this).val().indexOf("-") >= 0) { $(this).attr({ maxLength : 12 }); } else { $(this).attr({ maxLength : 14 }); } }) $("#eEmail_349363").blur(function() { $email = $(this).val(); validateEmail($(this),$email); }); function submit_recap(id_attr, form_id){ grecaptcha.execute('6LcgqJAUAAAAAJhQs01VmAHQEf3SatmIFQjI7iNP', {action: 'homepage'}).then(function(token) { $('#'+id_attr).val(token); if (token != '') { //start ajax let copytome = ''; let eName = $("#eName_349363").val(); let eEmail = $("#eEmail_349363").val(); let phone = $("#phone_349363").val(); let eSubject = $("#eSubject_349363").val(); let eNote = $("#eNote_349363").val(); let hiddenemail = $("#hiddenemail_349363").val(); let g_recaptcha_response_contact = $("#g-recaptcha-response_contact_349363").val(); if ($("#copytome_349363").is(':checked')) { copytome = 'true'; } else { copytome = 'false'; } $.LoadingOverlay("show"); var form = document.forms.namedItem('eForm_349363'); formData = new FormData(form); formData.append('fullname', eName); formData.append('email', eEmail); formData.append('phone', phone); formData.append('subject', eSubject); formData.append('note', eNote); formData.append('hiddenemail', hiddenemail); formData.append('g-recaptcha-response', g_recaptcha_response_contact); formData.append('copytome', copytome); $.ajax({ url : "/sndreq/send_meetteam_message.php", cache : false, processData: false, contentType: false, data : formData, type : 'post', success: function(result) { //console.log(result); let splitArray = result.split("!_!"); let alertMessage = splitArray[0]; let alertType = splitArray[1].replace(/\s+/g, '') let display_alert_type = ''; if (alertType == "danger") { alertify.error('ERROR'); display_alert_type = "Error"; } if (alertType == "warning") { alertify.error('ERROR'); display_alert_type = "Warning"; } if (alertType == "success") { alertify.success('MESSAGE SENT'); display_alert_type = "Success"; } $(".alert_message_349363").html('

×'+display_alert_type+'! '+ alertMessage +'

'); $.LoadingOverlay("hide"); } }); //end ajax } else { // unable to verify recaptcha $(".alert_message_349363").html('

×Error! Unable To Verify Captcha, Message Not Sent

'); } }); } !function(e){var t=function(t,n){this.$element=e(t),this.type=this.$element.data("uploadtype")||(this.$element.find(".thumbnail").length>0?"image":"file"),this.$input=this.$element.find(":file");if(this.$input.length===0)return;this.name=this.$input.attr("name")||n.name,this.$hidden=this.$element.find('input[type=hidden][name="'+this.name+'"]'),this.$hidden.length===0&&(this.$hidden=e(''),this.$element.prepend(this.$hidden)),this.$preview=this.$element.find(".fileupload-preview");var r=this.$preview.css("height");this.$preview.css("display")!="inline"&&r!="0px"&&r!="none"&&this.$preview.css("line-height",r),this.original={exists:this.$element.hasClass("fileupload-exists"),preview:this.$preview.html(),hiddenVal:this.$hidden.val()},this.$remove=this.$element.find('[data-dismiss="fileupload"]'),this.$element.find('[data-trigger="fileupload"]').on("click.fileupload",e.proxy(this.trigger,this)),this.listen()};t.prototype={listen:function(){this.$input.on("change.fileupload",e.proxy(this.change,this)),e(this.$input[0].form).on("reset.fileupload",e.proxy(this.reset,this)),this.$remove&&this.$remove.on("click.fileupload",e.proxy(this.clear,this))},change:function(e,t){if(t==="clear")return;var n=e.target.files!==undefined?e.target.files[0]:e.target.value?{name:e.target.value.replace(/^.+\\/,"")}:null;if(!n){this.clear();return}this.$hidden.val(""),this.$hidden.attr("name",""),this.$input.attr("name",this.name);if(this.type==="image"&&this.$preview.length>0&&(typeof n.type!="undefined"?n.type.match("image.*"):n.name.match(/\.(gif|png|jpe?g)$/i))&&typeof FileReader!="undefined"){var r=new FileReader,i=this.$preview,s=this.$element;r.onload=function(e){i.html('Jasper Junior High School (3)"),s.addClass("fileupload-exists").removeClass("fileupload-new")},r.readAsDataURL(n)}else this.$preview.text(n.name),this.$element.addClass("fileupload-exists").removeClass("fileupload-new")},clear:function(e){this.$hidden.val(""),this.$hidden.attr("name",this.name),this.$input.attr("name","");if(navigator.userAgent.match(/msie/i)){var t=this.$input.clone(!0);this.$input.after(t),this.$input.remove(),this.$input=t}else this.$input.val("");this.$preview.html(""),this.$element.addClass("fileupload-new").removeClass("fileupload-exists"),e&&(this.$input.trigger("change",["clear"]),e.preventDefault())},reset:function(e){this.clear(),this.$hidden.val(this.original.hiddenVal),this.$preview.html(this.original.preview),this.original.exists?this.$element.addClass("fileupload-exists").removeClass("fileupload-new"):this.$element.addClass("fileupload-new").removeClass("fileupload-exists")},trigger:function(e){this.$input.trigger("click"),e.preventDefault()}},e.fn.fileupload=function(n){return this.each(function(){var r=e(this),i=r.data("fileupload");i||r.data("fileupload",i=new t(this,n)),typeof n=="string"&&i[n]()})},e.fn.fileupload.Constructor=t,e(document).on("click.fileupload.data-api",'[data-provides="fileupload"]',function(t){var n=e(this);if(n.data("fileupload"))return;n.fileupload(n.data());var r=e(t.target).closest('[data-dismiss="fileupload"],[data-trigger="fileupload"]');r.length>0&&(r.trigger("click.fileupload"),t.preventDefault())})}(window.jQuery) function validateEmail($current_input,$email) { var emailReg = /^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/; if( !emailReg.test( $email ) ) { $current_input.css('border', '3px solid #c44c45'); } else { $current_input.css('border', 'none'); } } // ========================================================================= // Actions when modal opens // ========================================================================= $('.directoryModal').on('shown.bs.modal', function () { $('.closeDetails:visible').focus(); if ($('#eName_349363').length) { $("#eName_349363").focus(); } $(document).on('keydown', this, function(e) { // ========================================================================= // If user tabs inside modal restrict focus within modal or alter user to // exit to continue tabbing through the webpage // ========================================================================= var keyCode = e.keyCode || e.which; if (keyCode == 9 && !e.shiftKey) { if ($(".closeDetails.fromFooter").is(":focus")) { e.preventDefault(); e.stopImmediatePropagation(); alert("You need to close the modal before continuing to tab through this webpage"); } } if (keyCode == 9 && e.shiftKey) { if ($(".closeDetails.fromHeader").is(":focus")) { e.preventDefault(); e.stopImmediatePropagation(); alert("You need to close the modal before continuing to tab through this webpage"); } } }); }) }); // ========================================================================= // Resize text team-content areas to match the largest box in the row // ========================================================================= let largestHeight = 0; $('#stack_content_349363 .team-content').each(function() { if ($(this).height() > largestHeight) { largestHeight = $(this).height(); } }); $('#stack_content_349363 .team-content').height(largestHeight+20); // Add in an extra 20 pixels to accomodate for the button});// =========================================================================// Resize text team-content areas to match the largest box in the row on // resize of window// =========================================================================$(window).resize(function() { $('#stack_content_349363 .team-content').css("height", "initial"); let largestHeight = 0; $('#stack_content_349363 .team-content').each(function() { if ($(this).height() > largestHeight) { largestHeight = $(this).height(); } }); $('#stack_content_349363 .team-content').height(largestHeight+20); // Add in an extra 20 pixels to accomodate for the button});

About Jasper Jr. High Dashboard

Our School

Our Principal

Our Assistant Principals

Front Office Staff

Our Staff

') { $("#item349362").remove(); } magic_truncate('anchor-plates', 'anchor-plates-text'); $('[data-toggle="tooltip"]').tooltip(); }); $(window).resize(function(){ setTimeout(function() { magic_truncate('anchor-plates', 'anchor-plates-text'); }, 500); });

Jasper Junior High School (2024)
Top Articles
Latest Posts
Article information

Author: Catherine Tremblay

Last Updated:

Views: 6528

Rating: 4.7 / 5 (67 voted)

Reviews: 82% of readers found this page helpful

Author information

Name: Catherine Tremblay

Birthday: 1999-09-23

Address: Suite 461 73643 Sherril Loaf, Dickinsonland, AZ 47941-2379

Phone: +2678139151039

Job: International Administration Supervisor

Hobby: Dowsing, Snowboarding, Rowing, Beekeeping, Calligraphy, Shooting, Air sports

Introduction: My name is Catherine Tremblay, I am a precious, perfect, tasty, enthusiastic, inexpensive, vast, kind person who loves writing and wants to share my knowledge and understanding with you.