Jump to content
Sign in to follow this  
julesmoretti

iPhone safari address bar automatic disappearance on page load

Recommended Posts

julesmoretti

So I noticed that when I load the theme on my iphone using the platform base template the page loads fine with the top address bar and then when done the address bar remains there. Is there a way to integrate some code so that on page load the address bar disappear and all you see is the highlight page? Thank you

Share this post


Link to post
Share on other sites
julesmoretti

@Kate yes I understand that anything is possible I am just suggesting that if you guys could add and alter the following to your template it would be a nice little upgrade

#morefoot { padding: 2em 0px 6em 0px ;
	}
and in the header script:
<script type="application/x-javascript">
	addEventListener("load", function() { setTimeout(hideURLbar, 0); }, false);
	
	function hideURLbar(){
	window.scrollTo(0,1);
	}
	</script>

Share this post


Link to post
Share on other sites
bryan-hadaway

Thanks, added to: Ideas and Feedback I've also given you your first karma point, we appreciate community help. Thanks, Bryan

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×