I want to check the scroll position is greater than 350 and menuSticky offset position is 92 in same condition.that condition is not working.I gave my piece of code

```
 $(window).scroll(function(){
if(($(document).scrollTop() >= 350) && (($('.menuSticky').offset().top )==92)) {
           console.log('true');
           $('.dropdown').hover(function() {
          $('.secMenu').hide();
             $(this).toggleClass("open");
        }).mouseleave(function(){
          $('.secMenu').show();
        });    
       }
      });   

```