Friday, 13 September 2013

Changing offset of existing Javascript?

Changing offset of existing Javascript?

I am using this example for my website. The only difference is: the
mainnav is at the top of the page with 100% width. But the problem is that
the content disappears under the main nav. How can i prevent this? I know
it has something to do with scrollTop and offset, but i don't no how i can
change this in the existing javascript (see example).
Cheers, Martijn

No comments:

Post a Comment