1
The page is this
The menus are made with Anchors and I wanted to add a link to redirect to an external page in exactly the same place. I tried to add one but without success, I have knowledge of html/css/php but I’m not able to do what I want. When I say unsuccessfully, I mean that the link does not work, and by adding my code in the middle of the other menus the text goes to the top of the page on the front end.
I hope someone can help me. Thank you, Daniel
the code is as follows and the goal is to add a link with a link to an external page, but that is positioned in the same place with the same style as these menus. (I tried to do myself what Bold is)
<header id="menu" class="menu">
<div class="posScroll"></div>
<div class="main">
<a onclick="$('#area0').animatescroll({scrollSpeed:1000,easing:'easeOutQuint'});" id="logo" class="logo"></a>
<a onclick="$('#area1').animatescroll({scrollSpeed:1000,easing:'easeOutQuint'});" id="nav1" class="itemMenu">
ECOPAINT
</a>
<a onclick="$('#area2').animatescroll({scrollSpeed:1000,easing:'easeOutQuint'});" id="nav2" class="itemMenu">
GO GREEN
</a>
<a onclick="$('#area3').animatescroll({scrollSpeed:1000,easing:'easeOutQuint'});" id="nav3" class="itemMenu">
Shёrbime
</a>
<a onclick="$('#area4').animatescroll({scrollSpeed:1000,easing:'easeOutQuint'});" id="nav4" class="itemMenu">
Materiale Eco
</a>
<a onclick="$('#area5').animatescroll({scrollSpeed:1000,easing:'easeOutQuint'});" id="nav5" class="itemMenu">
Çmime
</a>
<a onclick="$('#area6').animatescroll({scrollSpeed:1000,easing:'easeOutQuint'});" id="nav6" class="itemMenu">
Rreth botёs
</a>
<a onclick="$('#area7').animatescroll({scrollSpeed:1000,easing:'easeOutQuint'});" id="nav7" class="itemMenu">
Përshëndetje
</a>
**<a onclick="window.location.href=''" id="nav8" class="itemMenu">ONLINE STORE</a>**
<div class="headerContact">
Ecopaint Albania<br>
<a href="mailto:"></a><br>
+351 229 826 029
</div>
<button id="showRight"></button>
</div>
</header>
Put the code in the question and explain better what you want to do and the problem.
– Sam
@Sam Thanks :)
– Daniel Oliveira
I couldn’t figure out what you want to do. You want one of these links, when clicked, to go to another page?
– Sam
@Sam Yes, I’ve already done that. What I want is for the "Online Store" link to appear in Chrome in the same place as in Firefox. I am also trying to change the color of the link after clicked but unsuccessfully.
– Daniel Oliveira