1jQuery(document).ready(function($) {
2 $(':checkbox,:radio').not('.ios-checkbox').checkator();
3
4 var start_mobile_size = 960;
5
6 var isphone = false;
7 if($('body').hasClass('isphone')) { var isphone = true; }
8
9 vcenter = function() {
10 $('.vcenter').each(function(index, el) {
11 $(this).css('margin-top', ($(this).parent().height() - $(this).height()) / 2);
12 });
13 }
14 vcenter();
15
16 $('.hamburger-menu').on('click', function(event) {
17 $(this).hide();
18 $('header .header-nav').slideDown();
19 });
20
21 if($('.all-header-slider .sliderall .slider').length) {
22 var owlcarouselautoplay = false;
23 if($('.all-header-slider').data('autoscroll') == "yes") {
24 owlcarouselautoplay = true;
25 }
26
27 $('.all-header-slider .sliderall .slider').owlCarousel({
28 items: 6,
29 loop: false,
30 nav: true,
31 dots: false,
32 center: false,
33 autoplay: owlcarouselautoplay,
34 autoplayTimeout: 4000,
35 autoplaySpeed: 600,
36 margin: 10,
37 autoplayHoverPause: true,
38 navText: ['<span class="icon-left-open"></span>','<span class="icon-right-open"></span>'],
39 stagePadding: 0,
40 responsive : {
...
</html>