Highlights
jQuery(document).ready(function ($) {
jQuery("img[data-rel^='ewicprettyPhoto[ewic-slider-1330]']").ewcPhoto({theme: "ewc_default", allow_expand: false, deeplinking: false, slideshow: 5000, autoplay_slideshow: false, hook: "data-rel", social_tools:false}); var _SlideshowTransitions = [
{$Duration:1000,$Zoom:11,$Easing:{$Zoom:$JssorEasing$.$EaseInCubic,$Opacity:$JssorEasing$.$EaseOutQuad},$Opacity:2}, ];
var _CaptionTransitions = [
{$Duration: 900, $Clip: 3, $Easing: $JssorEasing$.$EaseInOutCubic } ];
//Slider Options
var options = { $LazyLoading: 1, $AutoPlay: true, $AutoPlayInterval: 8000, $FillMode: '4', $PauseOnHover: 1, $DragOrientation: 3, $ArrowKeyNavigation: true, $SlideDuration: 800,
$SlideshowOptions: { $Class: $JssorSlideshowRunner$, $Transitions: _SlideshowTransitions, $TransitionsOrder: 1, $ShowLink: true },
$ArrowNavigatorOptions: { $Class: $JssorArrowNavigator$, $ChanceToShow: 1 },
$CaptionSliderOptions: { $Class: $JssorCaptionSlider$, $CaptionTransitions: _CaptionTransitions, $PlayInMode: 1, $PlayOutMode: 3 },
$BulletNavigatorOptions: { $Class: $JssorBulletNavigator$, $ChanceToShow: 2, $AutoCenter: 1, $Steps: 1, $Lanes: 1, $SpacingX: 10, $SpacingY: 10, $Orientation: 1 },
};
var ewic_slider_1330_slider = new $JssorSlider$("ewic-slider-1330", options);
//responsive code begin //you can disable responsive mode from slider setting if you don't want the slider scales while window resizes function ScaleSlider() { var parentWidth = ewic_slider_1330_slider.$Elmt.parentNode.clientWidth; if (parentWidth) ewic_slider_1330_slider.$ScaleWidth(Math.max(Math.min(parentWidth, 378), 300)); else window.setTimeout(ScaleSlider, 30); } ScaleSlider();
$(window).bind("load", ScaleSlider); $(window).bind("resize", ScaleSlider); $(window).bind("orientationchange", ScaleSlider); //responsive code end
//Arrow Reposition
var arrowph = jQuery('#ewic-slider-1330-slidercon').height(); var arrowh = jQuery('#ewic-slider-1330-wrapper .jssora11l').height() /2; var btmbgh = jQuery('#ewic-slider-1330-wrapper .jssort01').height(); var arrowmin = arrowph - btmbgh; var arrowpos = arrowmin / 2;
jQuery('#ewic-slider-1330-wrapper .jssora11l, #ewic-slider-1330-wrapper .jssora11r').css('top', arrowpos - arrowh);
// Share Button Properties var ewic_slider_1330_imgtoshare; var ewic_slider_1330_imgttl; ewic_slider_1330_slider.$On($JssorSlider$.$EVT_PARK,function(slideIndex,fromIndex){
ewic_slider_1330_imgtoshare = ewic_slider_1330_image_prop[slideIndex][0]; ewic_slider_1330_imgttl = ewic_slider_1330_image_prop[slideIndex][1]; });
var fbdialogw; var fbdialogh; jQuery('.ewic-slider-1330-share .share-icon-ul li').on('click', function () { jQuery(this).addClass('ajax-share'); if ( jQuery(this).data('sharetype') == 'facebook' ) { fbdialogw = '940'; fbdialogh = '500'; } else { fbdialogw = '548'; fbdialogh = '325'; }
if ( jQuery(this).data('sharetype') == 'email' ) { var myPopup = ''; } else { var myPopup = window.open('','sharer','toolbar=0,status=0,width='+fbdialogw+',height='+fbdialogh+''); }
do_the_ajax_call(myPopup, jQuery(this).data('sharetype'));
});
function do_the_ajax_call(myPopup, dat){ var ewic_slider_1330_appid = 'none'; jQuery.post( 'https://www.kingsleyelementary.org/wp-admin/admin-ajax.php', { 'action': 'ewic_share_via_ajax', 'imgurl': ''+ewic_slider_1330_imgtoshare+'', 'imgtitle': ''+ewic_slider_1330_imgttl+'', 'dattype': ''+dat+'', 'appid': ''+ewic_slider_1330_appid+'', 'thelink': ''+window.location.href+'' },
function(response){
jQuery('.ewic-slider-1330-share .share-icon-ul .share-'+dat+'').removeClass('ajax-share');
if ( dat == 'email' ) { document.location.href = response; } else { myPopup.location = response; } } ); }
jQuery("#preloader-ewic-slider-1330").fadeOut(1500, function () { jQuery("#ewic-slider-1330-wrapper").fadeIn(1000); jQuery('#ewic-slider-1330-wrapper').width('auto').height('auto'); });
jQuery('#ewic-slider-1330').fadeIn("1000", function () { jQuery('#ewic-slider-1330-wrapper').addClass('effect1');
});
jQuery('[data-clickurl]').on('click', function() {
var redirectWindow = window.open($(this).data('url'), $(this).data('target')); redirectWindow.location;
});
});
https://www.kingsleyelementary.org/wp-content/plugins/easy-image-slider-pro/images/jssor/loading.gif) no-repeat center center;
top: 0px; left: 0px;width: 100%;height:100%;”>
top: 0px; left: 0px;width: 100%;height:100%;”>
Contact Us
Kingsley Elementary School
5200 Virginia AvenueLos Angeles, CA 90029
Phone: 323.644.7700
Fax: 323.913.3360
Office Hours
Monday – Friday: 7:30 am – 4:00 pm