Hi, I have downloaded your template
https://preview.keenthemes.com/aironepage/
All items (links) in the main menu are just "scrolling" links.
Is it possible to have a link in the menu which will direct me to completely separate page?
If I try to do it and put there link with HREF="/myotherpage",
I get a javascript error in the console "Syntax error, unrecognized expression: /myotherpage"
While there is onClick event fired which runs this code:
<pre>function(o) {
var a = $($(this).attr("href")).offset().top;
$("html, body").stop().animate({
scrollTop: a - t
}, 600), o.preventDefault()
}</pre>
Hi,
You can remove data-spy="scroll"
attribute from the body tag and use external links for the menu nav.
Regards.
Thank you, removed but..... it does nothing.
All links work the same, also error the same.
Hi,
You can format https://preview.keenthemes.com/aironepage/js/layout.min.js using https://beautifier.io/ and remove the o
function's code like this:
o = function() {}
OK thanks!