...

View Full Version : Adress bar is over text when you linking on page in iPad & iPhone



lantiqo
07-21-2012, 08:55 PM
I added a tag, and it is used before the page finishes loading.
If you run the page in an iPhone or iPad (before the page finishes loading) the address bar is over the text when clicking on links, and you have to scroll to get to the top.

I want people to be on top without the address bar is over the text when you click on the links.

webpage (http://wwwlab.iki.his.se/~e11vicka/cafe2)


function modLinks()
{ var links = document.getElementsByTagName('a');
for(var i=0;i<=links.length-1;i++)
{
if(links[i].getAttribute('tag')=='before')
{
links[i].href = '#/' + links[i].href.split('#')[1];
}
}
}



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum