Mister-Johns’-music-new-logo
Register/Login
// Note: window.jQuery same as typeof jQuery !== 'undefined' if( window.jQuery ){ jQuery(document).ready(function() { jQuery('#id-52_122-AlpinePhotoTiles_container').addClass('loading'); }); } //Use self invoking function expression (function(){ // Wait for window to load. Them start plugin. var alpinePluginLoadingFunction = function(method){ // Check for jQuery and on() ( jQuery 1.7+ ) if(window.jQuery){ if(jQuery.isFunction( jQuery(window).on )){ jQuery(window).on('load', method); // Check for jQuery and bind() }else{jQuery(window).bind('load', method);} // Check for addEventListener }else if( window.addEventListener ){ window.addEventListener('load', method, false); // Check for attachEvent }else if ( window.attachEvent ){ window.attachEvent('on' + 'load', method); } }; alpinePluginLoadingFunction( function(){ if( window.jQuery ){jQuery('#id-52_122-AlpinePhotoTiles_container').removeClass('loading'); var alpineLoadPlugin = function(){jQuery('#id-52_122-hidden-parent').AlpinePhotoTilesPlugin({ id:'id-52_122', style:'wall', shape:'square', perRow:3, imageBorder:1, imageShadow:1, imageCurve:0, imageHighlight:0, lightbox:0, galleryHeight:0,//Keep for Compatibility galRatioWidth:800, galRatioHeight:600, highlight:'#64a2d8', pinIt:0, siteURL:'https://misterjohnsmusic.com', callback:'' });} // Load Alpine Plugin if( jQuery().AlpinePhotoTilesPlugin ){ alpineLoadPlugin(); }else{ // Load Alpine Script and Style var css = 'https://misterjohnsmusic.com/wp-content/plugins/alpine-photo-tile-for-instagram/css/AlpinePhotoTiles_style.css'; var link = jQuery(document.createElement('link')).attr({'rel':'stylesheet','href':css,'type':'text/css','media':'screen'}); jQuery.getScript('https://misterjohnsmusic.com/wp-content/plugins/alpine-photo-tile-for-instagram/js/AlpinePhotoTiles_script.js', function(){ if(document.createStyleSheet){ document.createStyleSheet(css); }else{ jQuery('head').append(link); }alpineLoadPlugin();});// Close getScript }}else{ console.log('Alpine plugin failed because jQuery never loaded'); } }); })();//--> [/et_pb_code][/et_pb_column][/et_pb_row][/et_pb_section]