Anchor links in main menu

Responsive community-minded music Joomla template with JomSocial extension support.
Rate this topic: Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.Evaluations: 1, 1.00 on the average.1.00 out of 6 based on 1 vote(s)
GK User
Wed Apr 30, 2014 1:32 pm
Reply with quote
Report this post
Hello,

I want to implement a simple solution. If I click on a menu item in main menu, I want the page to scroll to a module position on my frontpage. Unfortunately, it does not work. Could somebody please explain how to do that?

I set the link in main menu to External Link an target is #features for example. Now I do not want to change the position of my modules! and add the ability to scroll to the #features module.

Thank you very much,

best,

Marcel
User avatar
Fresh Boarder

GK User
Wed Apr 30, 2014 5:11 pm
Reply with quote
Report this post
Hi,
first read: http://www.gavick.com/documentation/gen ... enu-links/
Second, if you want to add link to #features - this ID must be inside HTML Custom module or inside article.

Code: Select all
<div id="features">  I'm strong & fast </div>
User avatar
Platinum Boarder

GK User
Thu May 01, 2014 12:48 am
Reply with quote
Report this post
This is super easy!

Set your menu item to "External URL" and put #gk in front of the module position in the field for your external URL, capitalizing the module position. For example... If you want the link to scroll to module position bottom1 you'd use:

#gkBottom1

Hope that helps!

Craig
User avatar
Expert Boarder

GK User
Thu May 01, 2014 11:05 am
Reply with quote
Report this post
Hi VIBEdigital,
your post was a summary/shortcut from my manual ;)
User avatar
Platinum Boarder


cron