Articles Related to the Tag: JavaScript »

Below is a list of articles that have been tagged with "JavaScript".

Quick Tip: Hide Mobile Web Browser Address Bar Improved

March 03, 2012 | Quick Coding Tips | 23 Comments

If you have ever developed for the mobile web, you have probably come across this little snippet of JavaScript which enables you to hide the mobile browsers address bar: function hideURLbar() { window.scrollTo(0, 1); } if (navigator.userAgent.indexOf(‘iPhone’) != -1 || navigator.userAgent.indexOf(‘Android’) != -1) { addEventListener(“load”, function() { setTimeout(hideURLbar, 0); }, false); } This code hides […]

Search »

Go

Paying the Bills »


Twitter