/*-----------------------------------------------------------------------------------*/ /* FANCYBOX /*-----------------------------------------------------------------------------------*/ /*$(document).ready(function() { $(".fancybox-media").fancybox({ arrows: true, padding: 0, closeBtn: true, openEffect: 'fade', closeEffect: 'fade', prevEffect: 'fade', nextEffect: 'fade', helpers: { media: {}, overlay: { locked: false }, buttons: false, thumbs: { width: 50, height: 50 }, title: { type: 'inside' } }, beforeLoad: function() { var el, id = $(this.element).data('title-id'); if (id) { el = $('#' + id); if (el.length) { this.title = el.html(); } } } }); });*/ /*-----------------------------------------------------------------------------------*/ /* ISOTOPE PORTFOLIO /*-----------------------------------------------------------------------------------*/ $(document).ready(function () { var $container = $('.items'); /* $container.imagesLoaded(function () { $container.isotope({ itemSelector: '.item', layoutMode: 'fitRows' }); });*/ $('.filter li a').click(function () { $('.filter li a').removeClass('active'); $(this).addClass('active'); var selector = $(this).attr('data-filter'); $container.isotope({ filter: selector }); return false; }); }); /*-----------------------------------------------------------------------------------*/ /* SHOWBIZ /*-----------------------------------------------------------------------------------*/ jQuery(document).ready(function() { /* jQuery('.showbiz-container').showbizpro({ dragAndScroll:"off", visibleElementsArray:[3,3,2,1], carousel:"off", heightOffsetBottom:0, mediaMaxHeight:[264,264,300,300], rewindFromEnd:"off", autoPlay:"off", delay:2000, speed:250 });*/ }); /*-----------------------------------------------------------------------------------*/ /* FULLWIDTH SLIDER /*-----------------------------------------------------------------------------------*/ $(document).ready(function() { if ($.fn.cssOriginal != undefined) $.fn.css = $.fn.cssOriginal; /*$('.wide-banner').revolution({ delay: 7000, startheight: 500, startwidth: 1000, hideThumbs: 200, thumbWidth: 100, // Thumb With and Height and Amount (only if navigation Tyope set to thumb !) thumbHeight: 50, thumbAmount: 5, navigationType: "bullet", // bullet, thumb, none navigationArrows: "verticalcentered", // nexttobullets, solo (old name verticalcentered), none navigationStyle: "round", // round,square,navbar,round-old,square-old,navbar-old, or any from the list in the docu (choose between 50+ different item), custom navigationHAlign: "center", // Vertical Align top,center,bottom navigationVAlign: "bottom", // Horizontal Align left,center,right navigationHOffset: 0, navigationVOffset: 20, soloArrowLeftHalign: "left", soloArrowLeftValign: "center", soloArrowLeftHOffset: 20, soloArrowLeftVOffset: 0, soloArrowRightHalign: "right", soloArrowRightValign: "center", soloArrowRightHOffset: 20, soloArrowRightVOffset: 0, touchenabled: "on", // Enable Swipe Function : on/off onHoverStop: "on", // Stop Banner Timet at Hover on Slide on/off stopAtSlide: -1, // Stop Timer if Slide "x" has been Reached. If stopAfterLoops set to 0, then it stops already in the first Loop at slide X which defined. -1 means do not stop at any slide. stopAfterLoops has no sinn in this case. stopAfterLoops: -1, // Stop Timer if All slides has been played "x" times. IT will stop at THe slide which is defined via stopAtSlide:x, if set to -1 slide never stop automatic hideCaptionAtLimit: 0, // It Defines if a caption should be shown under a Screen Resolution ( Basod on The Width of Browser) hideAllCaptionAtLilmit: 0, // Hide all The Captions if Width of Browser is less then this value hideSliderAtLimit: 0, // Hide the whole slider, and stop also functions if Width of Browser is less than this value shadow: 0, //0 = no Shadow, 1,2,3 = 3 Different Art of Shadows (No Shadow in Fullwidth Version !) fullWidth: "on" // Turns On or Off the Fullwidth Image Centering in FullWidth Modus }); */ }); /*-----------------------------------------------------------------------------------*/ /* PORTFOLIO SLIDER /*-----------------------------------------------------------------------------------*/ $(document).ready(function() { if ($.fn.cssOriginal != undefined) $.fn.css = $.fn.cssOriginal; /*$('.portfolio-banner').revolution({ delay: 7000, startheight: 500, startwidth: 1000, hideThumbs: 200, navigationType: "bullet", // bullet, thumb, none navigationArrows: "verticalcentered", // nexttobullets, solo (old name verticalcentered), none navigationStyle: "round", // round,square,navbar,round-old,square-old,navbar-old, or any from the list in the docu (choose between 50+ different item), custom navigationHAlign: "center", // Vertical Align top,center,bottom navigationVAlign: "bottom", // Horizontal Align left,center,right navigationHOffset: 0, navigationVOffset: 20, soloArrowLeftHalign: "left", soloArrowLeftValign: "center", soloArrowLeftHOffset: 20, soloArrowLeftVOffset: 0, soloArrowRightHalign: "right", soloArrowRightValign: "center", soloArrowRightHOffset: 20, soloArrowRightVOffset: 0, touchenabled: "on", // Enable Swipe Function : on/off onHoverStop: "on", // Stop Banner Timet at Hover on Slide on/off stopAtSlide: -1, // Stop Timer if Slide "x" has been Reached. If stopAfterLoops set to 0, then it stops already in the first Loop at slide X which defined. -1 means do not stop at any slide. stopAfterLoops has no sinn in this case. stopAfterLoops: -1, // Stop Timer if All slides has been played "x" times. IT will stop at THe slide which is defined via stopAtSlide:x, if set to -1 slide never stop automatic hideCaptionAtLimit: 0, // It Defines if a caption should be shown under a Screen Resolution ( Basod on The Width of Browser) hideAllCaptionAtLilmit: 0, // Hide all The Captions if Width of Browser is less then this value hideSliderAtLimit: 0, // Hide the whole slider, and stop also functions if Width of Browser is less than this value shadow: 0, //0 = no Shadow, 1,2,3 = 3 Different Art of Shadows (No Shadow in Fullwidth Version !) fullWidth: "off" // Turns On or Off the Fullwidth Image Centering in FullWidth Modus }); */ }); /*-----------------------------------------------------------------------------------*/ /* IMAGE HOVER /*-----------------------------------------------------------------------------------*/ //$(document).ready(function() { // $('.overlay a').append('
'); // $(' .overlay > a ').hoverdir(); //}); //jQuery(document).ready(function ($) { // $(".clients li").css("opacity", "0.70"); // $(".clients li").hover(function () { // $(this).stop().animate({ // opacity: 1.0 // }, "fast"); // }, // // function () { // $(this).stop().animate({ // opacity: 0.70 // }, "fast"); // }); //}); // ///*-----------------------------------------------------------------------------------*/ ///* PRETTIFY ///*-----------------------------------------------------------------------------------*/ jQuery(document).ready(function () { window.prettyPrint && prettyPrint() }); /*-----------------------------------------------------------------------------------*/ /* RETINA.JS /*-----------------------------------------------------------------------------------*/ (function () { function t(e) { this.path = e; var t = this.path.split("."), n = t.slice(0, t.length - 1).join("."), r = t[t.length - 1]; this.at_2x_path = n + "@2x." + r } function n(e) { this.el = e, this.path = new t(this.el.getAttribute("src")); var n = this; this.path.check_2x_variant(function (e) { e && n.swap() }) } var e = typeof exports == "undefined" ? window : exports; e.RetinaImagePath = t, t.confirmed_paths = [], t.prototype.is_external = function () { return !!this.path.match(/^https?\:/i) && !this.path.match("//" + document.domain) }, t.prototype.check_2x_variant = function (e) { var n, r = this; if (this.is_external()) return e(!1); if (this.at_2x_path in t.confirmed_paths) return e(!0); n = new XMLHttpRequest, n.open("HEAD", this.at_2x_path), n.onreadystatechange = function () { return n.readyState != 4 ? e(!1) : n.status >= 200 && n.status <= 399 ? (t.confirmed_paths.push(r.at_2x_path), e(!0)) : e(!1) }, n.send() }, e.RetinaImage = n, n.prototype.swap = function (e) { function n() { t.el.complete ? (t.el.setAttribute("width", t.el.offsetWidth), t.el.setAttribute("height", t.el.offsetHeight), t.el.setAttribute("src", e)) : setTimeout(n, 5) } typeof e == "undefined" && (e = this.path.at_2x_path); var t = this; n() }, e.devicePixelRatio > 1 && (window.onload = function () { var e = document.getElementsByTagName("img"), t = [], r, i; for (r = 0; r < e.length; r++) i = e[r], t.push(new n(i)) }) })();