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

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -