git-svn-id: http://78.47.251.156/svn/dev/sterntours-3@3394 f459cee4-fb09-11de-96c3-f9c5f16c3c76
This commit is contained in:
adametz 2018-05-22 15:35:56 +00:00
parent a3cf3a921d
commit cc0c353e1a
17 changed files with 658 additions and 489 deletions

View file

@ -277,7 +277,7 @@ jQuery(document).ready(function($) {
MENU HOVER -->
=============================================== */
if($(window).width() > 768){
$(".header .dropdown:not(.openClick)").hover(
$(".header .navbar-nav .dropdown:not(.openClick)").hover(
function() {
$(".dropdown.openClick").removeClass('open');
$('.dropdown-menu', this).stop( true, true ).slideDown("fast");
@ -290,14 +290,23 @@ jQuery(document).ready(function($) {
}
);
}
$(".header .dropdown:not(.openClick)").click(
function() {
if($(window).width() > 768){
window.location.href = $(this).find('a').attr('href');
/* $(".header .navbar-nav .dropdown:not(.openClick)").click(
function(event) {
if($(window).width() > 768){
event.preventDefault();
console.log($(this));
if($(this).hasClass('.nav-first-a"')){
//window.location.href = $(this).attr('href');
}
if(false){
//window.location.href = $(this).find('a').attr('href');
}
}
}
);
*/
$('.selectpicker').selectpicker({