Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 16, 2012, 10:17 PM   #1
JBsea
macrumors newbie
 
Join Date: Jan 2012
iOS Safari URL bar delays

On my website, the iOS Safari URL bar delays (hangs around) for approx 5 secs longer when the "Reader" appears in the bar. I've tried several failed suggestions on how to work around this annoyance which cuts off a good 40px or so from the top of my site: test.acousticnoodles.net

Does anyone know any HTML, CSS, or JS code for stopping the iOS Safari URL bar from hiding the top of my website (or, I guess, in other words, disabling the "Reader"?)

using iPhone 4, iOS 6.0.1
JBsea is offline   0 Reply With Quote
Old Dec 17, 2012, 10:43 PM   #2
JBsea
Thread Starter
macrumors newbie
 
Join Date: Jan 2012
temporary fix

So, I have a temporary JavaScript fix: innerHTML inside a setTimeout() function:

HTML
<div id="aboutMain" class="theRest">
</div>


JS
var d1 = document.getElementById("aboutMain");

setTimeout(function(){d1.innerHTML = '<p class="titleTop">About</p><p><em>acoustic:</em> relating to or being a musical instrument whose sound is not modified electrically</p><br/ >';
d1.className="theRest";},1000);


Let me know if you come across anything that works better.

Last edited by JBsea; Jan 1, 2013 at 10:22 PM.
JBsea is offline   0 Reply With Quote

Reply
MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
Safari can't find server when typing a google search into url bar... adammusic Mac Basics and Help 0 Nov 27, 2013 07:25 AM
iOS 7 loses Bookmarks Bar folder in Safari neutrino23 iPhone 6 Nov 5, 2013 03:26 PM
ios 7 safari status bar dissapears ? the reappears ? stuartrozier iOS 7 4 Jun 30, 2013 05:54 PM
Splitting the search/URL bar in Safari 6? mcdj Mac Applications and Mac App Store 42 Jun 21, 2013 02:41 PM
Safari 6 unified search / url bar declandio Mac OS X 10.7 Lion 1 Jul 29, 2012 10:33 AM

Forum Jump

All times are GMT -5. The time now is 10:43 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC