MEMBER LOGIN
Lightbox */ $("a[data-rel^='prettyPhoto']").prettyPhoto({ hook: 'data-rel', social_tools: false, deeplinking: false, overlay_gallery: false, opacity: 0.83, allow_expand: false, /* Allow the user to expand a resized image. true/false */ show_title: false }); /* Lightbox for Smartphones OFF */ var windowWidth = window.screen.width < window.outerWidth ? window.screen.width : window.outerWidth; var mobile = windowWidth < 500; if(mobile){ $('a[href$=jpg], a[href$=JPG], a[href$=jpeg], a[href$=JPEG], a[href$=png], a[href$=gif], a[href$=bmp]:has(img), a[class^="prettyPhoto"]').unbind('click.prettyphoto'); } /* Transparent Header */ function transparentHeader() { if ($(document).scrollTop() >= 60) { $('#header.header-v1').removeClass('header-transparent'); } else { $('#header.header-v1.stuck').addClass('header-transparent'); } } /* Sticky Header */ if (/Android|BlackBerry|iPhone|iPad|iPod|webOS/i.test(navigator.userAgent) === false) { var $stickyHeaders = $('#header.header-v1, #header.header-v3 .navigation-wrap, #header.header-v4 .navigation-wrap'); $stickyHeaders.waypoint('sticky'); $(window).resize(function() { $stickyHeaders.waypoint('unsticky'); if ($(window).width() < 944) { $stickyHeaders.waypoint('unsticky'); } else { $stickyHeaders.waypoint('sticky'); } }); if ($("body").hasClass("header-is-transparent")) { $(document).scroll(function() { transparentHeader(); }); transparentHeader(); } } /* WooCommerce: Second Image on Hover */ $( 'ul.products li.pif-has-gallery a:first-child' ).hover( function() { $( this ).children( '.secondary-image' ).stop().animate({'opacity' : 1}, 'fast'); }, function() { $( this ).children( '.secondary-image' ).stop().animate({'opacity' : 0}, 'fast'); }); /* Fill rest of page */ $('body').css({'background-color' : '#1e2171' }); });