I found that Safari on a mobile device like an iPhone or iPad doesn't play with anchor links.
It just doesn't take the #link
with it.
After reading a lot of online 'solutions' for this I didn't found anything usefull. So I want to try the following but I'm a little bit struggeling with the coding.
Here is the idea.
I want to $_POST
the #link
in the url. In the hope that it stays in the url.
The problem is that I'm using a <a href="#">
link to do this.
Is is possible to do a $_POST
in a a href
link?
Here are the basics:
$link_a = '#A';
<a href="<?php bloginfo('url')?>/scroll<?php $_POST['$link_a']?>" title="A">A</a>