Is detecting scrollbar presence with jQuery still difficult?
        Posted  
        
            by donpal
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by donpal
        
        
        
        Published on 2010-04-03T14:35:17Z
        Indexed on 
            2010/04/03
            14:43 UTC
        
        
        Read the original article
        Hit count: 598
        
I know that detecting scrollbar presence is supposed to be one of those illusive things that we should all have to suffer through. What I've read so far is that you can't really detect scrollbar presence, only use hints in the DOM to know if they may be present, and it can't be done in less than 30 lines of code.
This sounds a little impossible to me now that we're in 2010. Does jQuery have a cross-browser reliable solution that takes care of this and works at least most of the time? Any help please, I'm pulling my hair, half of it is already on the floor.
© Stack Overflow or respective owner