Showing 1 – 2 of 2 replies
josepetew

First of all, congratulations for the […]

josepetew PURCHASED
9 years ago
Hello,

First of all, congratulations for the template, Its awesome!. But I just have a little problem with the navigation bar, a want to add an item in the menu that takes the user to another page. in the <a> tag I added my link, but is not working. It seems to only work when the link you put takes the user somewhere in the same page like: <li><a href="#page-contact">Contact</a></li>

This is what i added: <li><a href="pages/apply.html">Apply</a></li>. but doesnt responnd when i click it.

you can try it here: http://goglobalproject.org/
Hope you can help me

Thanks in advance
Jose Luis Peña

josepetew@gmail.com
ErleFurbey
ErleFurbey PURCHASED
9 years ago
I have this same problem with the "hash-loader". I even used an absolute-URL link within the same directory with no results. I does link-thru to an outside URL or if I right click the menu item then it "opens in a new window". I will keep attacking this problem.

erlefurbey@aol.com
cogdog
cogdog PURCHASED
8 years ago
There is fix for this. The developer is not using the most current version of the jQuery One Page Nav plugin even the most recent version of the theme uses version 2.2.0. Download the 3.0 version at https://github.com/davist11/jQuery-One-Page-Nav

Replace the file /assets/js/plugins/jquery.nav.js with the newer version (in older versions of the theme, it is /assets/js/plugins/jquery.nav.min.js - you can minify the code with http://jscompress.com/

Then in your navigation menu section of index.html, add class="external" to any link that is not a local one, e.g.

<ul id="main-menu" class="nav-collapse collapse">
<li><a href="#page-welcome">Cover</a></li>
<li><a href="#page-about">About</a></li>
<li><a href="#page-chapters">Chapters</a></li>
<li><a href="#page-features">Attributes</a></li>
<li><a href="#page-work">Courses</a></li>
<li><a href="http://cogdogblog.com/" class="external">Best Blog in the World</a></li>
</ul>