Änderung BUCHBAR + ANFRAGE / Navigationsbug

git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3434 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
adametz 2018-07-27 09:43:46 +00:00
parent 74b1146dd9
commit f440683f6b
6 changed files with 4505 additions and 4445 deletions

View file

@ -276,7 +276,8 @@ jQuery(document).ready(function($) {
/* ==============================================
MENU HOVER -->
=============================================== */
if($(window).width() > 768){
if($(window).width() > 768){
$(".header .navbar-nav .dropdown:not(.openClick)").hover(
function() {
$(".dropdown.openClick").removeClass('open');
@ -289,19 +290,28 @@ jQuery(document).ready(function($) {
$(this).toggleClass('open');
}
);
}
$(".header .dropdown:not(.openClick)").click(
function() {
if($(window).width() > 768){
var _self = $(this);
setTimeout(
function()
{
window.location.href = _self.find('a').attr('href');
}, 500);
$(".header .dropdown:not(.openClick) .nav-first-a").click(
function ()
{
window.location.href = $(this).attr('href');
// console.log($(this));
}
}
);
/* $(".header .dropdown").click(
function() {
if($(window).width() > 768){
var _self = $(this);
setTimeout(
function()
{
window.location.href = _self.find('a').attr('href');
}, 500);
}
}
);*/
}
$('.selectpicker').selectpicker({