javascript - sticky menu gets stuck with google map -


I have a sticky menu that stays at the top of the screen when scrolled up to 100px, I still have a page But a googlemap sticky menu is awkward and remains on an input search form. I have tried to disable the JS file which is integrated with the map, although it did not help, sticky menus on other pages without the map Works fine with Firefox and also p On the other hand, the sticky menu also works fine on the thigh. Now what's wrong in my chrome im on the verge of losing my mind ..

Here's the page that I have problems with you. Scroll down and scroll upwards to get the problem, this problem does not appear on Firefox, so my suspicious is Chrome itself ..

Where should I see any advice or What problem arises Might be possible?

Here is a sticky menu running JS. Function sticky_manu () {

  jQuery ('.header'). {Offset: {top: jQuery ('. Sticky_menu'). Offset (). T session}}); JQuery ('. Haider-Medium'). Afix ({Offset: {Head: jQuery ('. Chitchimemannu'). Offset (). Top + 100}}); JQuery ('# Logo'). Afix ({offset: {top: jQuery ('. Sticky_menu'). Offset (). Top + 100}});  

I think you are confusing your problem using jQuery. You can easily paste it using the CSS above the screen.

If you wrap your header, logo, and and .header-middle objects in a div such as

   

then status: fixed; ex:

  #wrapper {location: fixed; Set the style of casing / css for; Top: 0 pixels; Left: 0 pixels; Width: 100%; }  

CSS's status: fixed attribute forced the location of the object to be fixed on a fixed location on the screen, which is a screen Will follow along.


Comments

Popular posts from this blog

HTML/CSS - Automatically set height width from background image? -

php - Mysql Show Process - Sleep Commands and what to do -

c - What is the address of buf (the local variable in the main function)? -