This category features a series of quick web development coding tips. The languages featured in this category include PHP, MySQL, JavaScript, jQuery, CSS, and more.
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 […]