$(function() { "use strict"; $('#home').css({ 'height': ($(window).height()) + 'px' }); $(window).resize(function() { $('#home').css({ 'height': ($(window).height()) + 'px' }); }); }); $(function() { Grid.init(); }); $(document).ready(function() { $("html").niceScroll(); }); $('ul.slimmenu').on('click', function() { var width = $(window).width(); if ((width <= 800)) { $(this).slideToggle(); } }); $('ul.slimmenu').slimmenu({ resizeWidth: '800', collapserTitle: '', easingEffect: 'easeInOutQuint', animSpeed: 'medium', indentChildren: true, childrenIndenter: '»' }); $(document).ready(function() { "use strict"; $(".scroll").click(function(event) { event.preventDefault(); var full_url = this.href; var parts = full_url.split("#"); var trgt = parts[1]; var target_offset = $("#" + trgt).offset(); var target_top = target_offset.top - 60; $('html, body').animate({ scrollTop: target_top }, 1200); }); }); $(document).ready(function() { $(".logo").click(function() { $('html, body').animate({ scrollTop: $("#home").offset().top }, 1200); }); }); $(document).ready(function() { $(".player").mb_YTPlayer(); $('#slide01').popup({ focusdelay: 400, outline: true, vertical: 'top' }); $('#slide02').popup({ focusdelay: 400, outline: true, vertical: 'top' }); $('#slide03').popup({ focusdelay: 400, outline: true, vertical: 'top' }); $('#slide04').popup({ focusdelay: 400, outline: true, vertical: 'top' }); }); $(document).ready(function() { $(".tipped").tipper(); }); $(document).ready(function() { $('.slider3').bxSlider({ adaptiveHeight: true, touchEnabled: true, pager: false, controls: true, auto: true, slideMargin: 1 }); }); $(window).load(function() { var $container = $('.portfolio-wrap'); var $filter = $('#filter'); $container.isotope({ filter: '*', layoutMode: 'fitRows', animationOptions: { duration: 750, easing: 'linear' } }); $filter.find('a').click(function() { var selector = $(this).attr('data-filter'); $filter.find('a').removeClass('current'); $(this).addClass('current'); $container.isotope({ filter: selector, animationOptions: { animationDuration: 750, easing: 'linear', queue: false, } }); return false; }); }); jQuery(document).ready(function($) { var container = $('.portfolio-wrap'); function splitColumns() { var winWidth = $(window).width(), columnNumb = 1; if (winWidth > 1024) { columnNumb = 6; } else if (winWidth > 900) { columnNumb = 4; } else if (winWidth > 479) { columnNumb = 2; } else if (winWidth < 479) { columnNumb = 1; } return columnNumb; } function setColumns() { var winWidth = $(window).width(), columnNumb = splitColumns(), postWidth = Math.floor(winWidth / columnNumb); container.find('.portfolio-box').each(function() { $(this).css({ width: postWidth + 'px' }); }); } function setProjects() { setColumns(); container.isotope('reLayout'); } container.imagesLoaded(function() { setColumns(); }); $(window).bind('resize', function() { setProjects(); }); }); jQuery(document).ready(function() { var e = new google.maps.LatLng(37.51809316879828, 127.05392509636381), o = { zoom: 14, center: new google.maps.LatLng(37.51809316879828, 127.05392509636381), mapTypeId: google.maps.MapTypeId.ROADMAP, mapTypeControl: !1, scrollwheel: !1, draggable: !0, navigationControl: !1 }, n = new google.maps.Map(document.getElementById("google_map"), o); google.maps.event.addDomListener(window, "resize", function() { var e = n.getCenter(); google.maps.event.trigger(n, "resize"), n.setCenter(e) }); var g = '
Makeup-House
', a = new google.maps.InfoWindow({ content: g }), t = new google.maps.MarkerImage("img/mobilen/images/map-pin.png", new google.maps.Size(40, 70), new google.maps.Point(0, 0), new google.maps.Point(20, 55)), i = new google.maps.LatLng(37.51809316879828, 127.05392509636381), p = new google.maps.Marker({ position: i, map: n, icon: t, zIndex: 3 }); google.maps.event.addListener(p, "click", function() { a.open(n, p) }), $(".button-map").click(function() { $("#google_map").slideToggle(300, function() { google.maps.event.trigger(n, "resize"), n.setCenter(e) }), $(this).toggleClass("close-map show-map") }); }); jQuery(window).load(function() { var a = jQuery("#gallery-items"); a.isotope({ itemSelector: ".gallery-item", layoutMode: "fitRows" }); jQuery("#gallery-filter a").click(function() { var b = jQuery(this).attr("data-filter"); a.isotope({ filter: b }); return false }); jQuery(".gallery-img a[data-rel^='prettyPhoto']").prettyPhoto({ animation_speed: "normal", autoplay_slideshow: true, social_tools: false, slideshow: 3000 }) });