jquery - Changing class during scroll jumps to the top -
jquery - Changing class during scroll jumps to the top -
i'm trying create div alerts that
the alerts below header when header visible on screen the alerts @ top of screen when header scrolled off of screen.when (i've tried jquery , twitter bootstrap), , drag scrollbar down, scrollbar jumps top when css class on element changed.
i'm running in chrome, v38.0.2125.104
run width of 750px or less see issue: http://jsbin.com/jenibimaze/1
it turns out addition/removal of horizontal scrollbar causing page jump top.
i able create horizontal scrollbar consistent adding overflow:none css.
jquery html css twitter-bootstrap affix
Comments
Post a Comment