davist11 / jQuery-One-Page-Nav

Smooth scrolling and smart navigation when user scrolls on one-page sites.
http://davist11.github.com/jQuery-One-Page-Nav/
MIT License
1.52k stars 501 forks source link

collapse menu on a IOS device #130

Open Roel11 opened 9 years ago

Roel11 commented 9 years ago

I tried to setup a one-page website with a simple bootstrap frame. I used this script for scrolling purposes. On a mac it works fine, but on a Iphone the menu won't collapse after selecting a menu item. I can only remove the menu by pressing the main menu button. I can see the mainpage scrolling. How to correct this?

davist11 commented 9 years ago

Can you clarify what the menu collapsing means? This plugin does not provide anything for menu collapsing.

Roel11 commented 9 years ago

Hi Trevor,

Have a look at www.roelvossen.nl Try the menu; home, diensten and portfolio are in use. On a Iphone the menu doesn't disappear after selecting one of these items.

Best Regards,

Roel Vossen

Verstuurd vanaf mijn Iphone

Op 11 feb. 2015 om 17:15 heeft Trevor Davis notifications@github.com het volgende geschreven:

Can you clarify what the menu collapsing means? This plugin does not provide anything for menu collapsing.

— Reply to this email directly or view it on GitHub.

davist11 commented 9 years ago

There are callbacks in the plugin where you can execute your own code, but nothing would automatically make the menu collapse.

Roel11 commented 9 years ago

Without applying your script this worked fine. I don't know what I 'm doing wrong. Can you perhaps exact tell me what to change?

An example of the same basic page without the onepage -scrollscript is: www.hdfactory.nl

Bedt Regards,

Roel Vossen

Verstuurd vanaf mijn Iphone

Op 11 feb. 2015 om 17:27 heeft Trevor Davis notifications@github.com het volgende geschreven:

There are callbacks in the plugin where you can execute your own code, but nothing would automatically make the menu collapse.

— Reply to this email directly or view it on GitHub.

davist11 commented 9 years ago

Without applying your script this worked fine. I don't know what I 'm doing wrong. Can you perhaps exact tell me what to change?

Seems like you need to take a look at the code that does the collapsing.