Archived

This topic is now archived and is closed to further replies.

iPhone safari address bar automatic disappearance on page load

5 posts in this topic

Posted · Report post

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

Posted · Report post

@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

Posted · Report post

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

Posted · Report post

Very Cool!! Thank you.

Share this post


Link to post
Share on other sites