Reputation: 77
My issue is pretty stupid and easily fixable I guess. But well, I'm looking for the reason since some hours, and didn't find it.
Here is the link: https://nnsprod.com/naheulbeuk/Maps.php
Try to navigate on the map (this part working), but randomly, the Previous Arrow (top left corner) isn't working.
I thought it was du to some z-index or whatever, but not. Seems to be something else. And to be clear, I have try a JS link (like now, with onclick) and also a direct a tag. Same issue.
Someone see something ?
Thanks :)
Edit: Lack of code, sorry about that. Full code in disponible via a simple see source. Everything is on JS.
I generate the link via this :
.controls {
position:absolute;
top:20px;
left:20px;
z-index:20;
}
<div class="controls">
<a href="javascript:history.back()"><i class="fa fa-arrow-left"></i></a>
</div>
Upvotes: 0
Views: 72
Reputation: 351
For me with Chrome 64.0.3 the javascript:history.back()
links did not work at all. But this version worked fine though:
<a href="javascript:;" onclick="history.back()"><i class="fa fa-arrow-left"></i></a>
Upvotes: 1