iPhone: hide navigation bar in safari

2
Hi there, Does anyone know how to hide the navigation bar in a mobile browser? I already tried in the head: <meta name="apple-mobile-web-app-capable" content="yes"> and also : <body onload="setTimeout(function() { window.scrollTo(0, 1) }, 100);"></body> with below in header: <script type="application/x-javascript"> addEventListener("load", function() { setTimeout( hideURLbar, 0); }, false); function hideURLbar(){ window.scrollTo(0,1); } </script> Regards!
asked
2 answers
1

May be you could try this script here. This works at least on my iPhone. Not tried it yet with Mendix though: Raising the bar on mobile

answered
2

This is more something you should look for on stackoverflow:

http://stackoverflow.com/questions/6011223/how-to-completely-hide-the-navigation-bar-in-iphone-html-5

answered