0

I'd like to do something like this

Freeze Header until Irrelevant (HTML, CSS and JS)

but inside a container.

Is that possible?

Community
  • 1
  • 1
cloud1250000
  • 45
  • 1
  • 8
  • not able to get what you mean by inside a container? – 4dgaurav Jun 28 '14 at 05:16
  • it's on a mobile website and I've go a header menu that's always on top. I wan to have the same effect as that [link](http://jsfiddle.net/BCtP8/3/) when I scroll in my content – cloud1250000 Jul 01 '14 at 00:53

1 Answers1

0

This is what I was looking for. Maybe there's a better way to do it (like without jquery..) but well :) Getting a sticky header to "push up", like in Instagram's iPhone app using CSS and jQuery

Edit: but it's quite slow on mobile...

Community
  • 1
  • 1
cloud1250000
  • 45
  • 1
  • 8