I'm using thee latest awesome HTML boiler plate - HTML 5 BOILERPLATE

Now if you open this link in mobile safari on iphone - HTML 5 BOILERPLATE - once the page has fully loaded, the address bar slides up out the way.

Which is what should happen. But I downloaded the demo and started building my mobile app and I noticed it wasnt working for me, but I have carefully made sure everything is there that should make it work, but it still didn't

So I basically took the demo src files and made an exact duplicate of the HTML 5 BOILERPLATE and put in on my server HTML 5 BOLIERPLATE MYSERVER for test.

It's pretty much an identical copy apart from I've loaded in the latest jQuery instead and have left font face out.

And my exact copy does NOT slide the address bar once loaded - open these links below on iPhone to see.

HTML 5 BOILERPLATE - This hides address bar

HTML 5 BOLIERPLATE MYSERVER - Exact copy on my server but does not hide address bar

有帮助吗?

解决方案

The helper.js file which contains the Javascript to hide the address bar isn't loading.

It's being called towards the bottom of the HTML file.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top