jquery - sticky footer slide up to reveal -


what trying create sticky footer half hidden slide reveal hidden part on end of page scroll. sticky footer itself, can easy enough. but, want appear if end of page catches footer , pulls hidden part. hope explained correctly. seems should able figure out, im not. need use jquery not sure functions use. searched everywhere tut or no avail. if might point me in right direction awesome!

thanks in advance :)

i'm not going write code, try , send in right direction...

you don't technically need jquery this, may make easier. need make footer catch , pull bottom hook in document scroll event:

document.addeventlistener('scroll', function(){     // if bottom of page reached, slide footer }) 

you can know when , how move footer comparing window scroll, window height , document height.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

IIS->Tomcat Redirect: multiple worker with default -