Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Special Interests > Visual Media > Web Design and Development

Reply
 
Thread Tools Search this Thread Display Modes
Old Dec 16, 2012, 09: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, 09: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 09: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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 04:09 PM.

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

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