Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

After version 49.0.1 the menus in our appliccation don't work: http://www.sicris.si. Any hint ?

  • 1 trả lời
  • 1 gặp vấn đề này
  • 6 lượt xem
  • Trả lời mới nhất được viết bởi Paul

more options

We tried to set a higher value to z-index with no succsess.

/* ---------------------------------------------------------------------- */ /* Main Navigation /* ---------------------------------------------------------------------- */

(function() {

var $mainNav = $('#glavna-nav').children('ul');

//$mainNav.css('position', 'absolute'); //$mainNav.css('z-index', '1000'); //$mainNav.children('li').css('z-index', '30000'); //$mainNav.children('li').css('position', 'absolute');


// Regular nav $mainNav.on('mouseenter', 'li', function() { var $this = $(this), $subMenu = $this.children('ul'); if( $subMenu.length ) $this.addClass('hover'); $subMenu.hide().stop(true, true).fadeIn(200);

/* var zIndex = Math.max.apply(null, Array.prototype.map.call(document.querySelectorAll('*'), function(el) { return +el.style.zIndex; })) + 9995 + 10; setTimeout(function() { $(this).css('z-index', zIndex); console.log('zIndex: ' + zIndex); }, 1000); */

}).on('mouseleave', 'li', function() { $(this).removeClass('hover').children('ul').stop(true, true).fadeOut(50); });

})();

/* end Main Navigation */

We tried to set a higher value to z-index with no succsess. /* ---------------------------------------------------------------------- */ /* Main Navigation /* ---------------------------------------------------------------------- */ (function() { var $mainNav = $('#glavna-nav').children('ul'); //$mainNav.css('position', 'absolute'); //$mainNav.css('z-index', '1000'); //$mainNav.children('li').css('z-index', '30000'); //$mainNav.children('li').css('position', 'absolute'); // Regular nav $mainNav.on('mouseenter', 'li', function() { var $this = $(this), $subMenu = $this.children('ul'); if( $subMenu.length ) $this.addClass('hover'); $subMenu.hide().stop(true, true).fadeIn(200); /* var zIndex = Math.max.apply(null, Array.prototype.map.call(document.querySelectorAll('*'), function(el) { return +el.style.zIndex; })) + 9995 + 10; setTimeout(function() { $(this).css('z-index', zIndex); console.log('zIndex: ' + zIndex); }, 1000); */ }).on('mouseleave', 'li', function() { $(this).removeClass('hover').children('ul').stop(true, true).fadeOut(50); }); })(); /* end Main Navigation */

Được chỉnh sửa bởi andrejko vào

Tất cả các câu trả lời (1)

more options

Hi

Thank you for your question. This forum is more for user support issues with Firefox and Mozilla software. With this being more of a developer query, I recommend that you ask in Stack Overflow.

I am sure that one of the experts there should be able to help you.