Commit 57c6b761 authored by andre's avatar andre

#1255 п4

parent 45fd3339
...@@ -312,6 +312,8 @@ $(document).ready(function() { ...@@ -312,6 +312,8 @@ $(document).ready(function() {
removalDelay: 300, removalDelay: 300,
mainClass: 'my-mfp-zoom-in', mainClass: 'my-mfp-zoom-in',
autoFocusLast: false,
callbacks: { callbacks: {
open: function() { open: function() {
$('.mfp-close').mouseover(function() { $('.mfp-close').mouseover(function() {
...@@ -319,6 +321,7 @@ $(document).ready(function() { ...@@ -319,6 +321,7 @@ $(document).ready(function() {
}).mouseout(function() { }).mouseout(function() {
$(this).parent().find('.txtbtnclose').hide(); $(this).parent().find('.txtbtnclose').hide();
}); });
// $('.sidebar_btn_2').mouseout();
} }
} }
}); });
...@@ -330,33 +333,33 @@ $(document).ready(function() { ...@@ -330,33 +333,33 @@ $(document).ready(function() {
$(function() { $(function() {
$('.top_phone').hover(function() { $('.top_phone').hover(function() {
if($('.phone_hover_head').is(':visible')) { if($('.phone_hover_head').is(':visible')) {
$('.phone_hover_head').removeClass('show_phone_inf_head'); $('.phone_hover_head').removeClass('show_phone_inf_head');
} }
else { else {
$('.phone_hover_head').addClass('show_phone_inf_head'); $('.phone_hover_head').addClass('show_phone_inf_head');
} }
}); });
}); });
$(function() { $(function() {
$('.foot_phone').hover(function() { $('.foot_phone').hover(function() {
if($('.phone_hover_foot').is(':visible')) { if($('.phone_hover_foot').is(':visible')) {
$('.phone_hover_foot').removeClass('show_phone_inf'); $('.phone_hover_foot').removeClass('show_phone_inf');
} }
else { else {
$('.phone_hover_foot').addClass('show_phone_inf'); $('.phone_hover_foot').addClass('show_phone_inf');
} }
}); });
}); });
$(function() { $(function() {
$('.d_menu').click(function() { $('.d_menu').click(function() {
if($('.d_menu_hide').is(':visible')) { if($('.d_menu_hide').is(':visible')) {
$('.d_menu_hide').removeClass('show_d_menu'); $('.d_menu_hide').removeClass('show_d_menu');
} }
else { else {
$('.d_menu_hide').addClass('show_d_menu'); $('.d_menu_hide').addClass('show_d_menu');
} }
}); });
}); });
$(function () { $(function () {
window.validation.init({ window.validation.init({
...@@ -508,7 +511,7 @@ jQuery(function($){ ...@@ -508,7 +511,7 @@ jQuery(function($){
var div = $(".d_menu_hide"); var div = $(".d_menu_hide");
if (!div.is(e.target) if (!div.is(e.target)
&& div.has(e.target).length === 0) { && div.has(e.target).length === 0) {
$('.d_menu_hide').removeClass('show_d_menu'); $('.d_menu_hide').removeClass('show_d_menu');
} }
}); });
}); });
...@@ -637,22 +640,22 @@ $('.ls_block_btn').hover( ...@@ -637,22 +640,22 @@ $('.ls_block_btn').hover(
$(function() { $(function() {
$('.ball-link').hover(function() { $('.ball-link').hover(function() {
if($('.ball_hover').is(':visible')) { if($('.ball_hover').is(':visible')) {
$('.ball_hover').removeClass('show_ball_hover'); $('.ball_hover').removeClass('show_ball_hover');
} }
else { else {
$('.ball_hover').addClass('show_ball_hover'); $('.ball_hover').addClass('show_ball_hover');
} }
}); });
}); });
$(function() { $(function() {
$('.ball-link_testing').hover(function() { $('.ball-link_testing').hover(function() {
if($('.ball_hover').is(':visible')) { if($('.ball_hover').is(':visible')) {
$('.ball_hover').removeClass('show_ball_hover'); $('.ball_hover').removeClass('show_ball_hover');
} }
else { else {
$('.ball_hover').addClass('show_ball_hover'); $('.ball_hover').addClass('show_ball_hover');
} }
}); });
}); });
jQuery(document).ready(function(){ jQuery(document).ready(function(){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment