Hugo Börjesson

Results 3 comments of Hugo Börjesson

I have a "sort of" working solution, with a modification of the script Nate Smith (https://gist.github.com/nateps/1172490) suggested. Only tested on iPhone, and it flickers a bit. Maybe someone can come...

``` // Modified version of https://gist.github.com/nateps/1172490 var page = document.getElementById('pageWrapper'), ua = navigator.userAgent, iphone = ~ua.indexOf('iPhone') || ~ua.indexOf('iPod'), ipad = ~ua.indexOf('iPad'), ios = iphone || ipad, // Detect if this...

The original script would always hide the address bar. The changes I made was to make the address bar appear again if the user scrolls 15px above the top (elastic...