davist11/jQuery-One-Page-Nav

Hide current styling on top of page ? [SOLVED]

Closed this issue · 1 comments

Hey,

This plugin works amazing, I just have a question with an "intro" page

So when you go to my site, there's a little intro, how do I make sure that the plugin doesn't activate until I scroll passed the intro, or until I click on an anchor? And how do I disable the plugin when you scroll back to the top of the page?

This is just so that when I scroll up the current styling "disappears" .

I'm sure it's a simple solution, I'm still fairly new to this.

My bad, I was making it more complicated than it should be, just added the following class:

.disable {
display: none;
}

smh