Menu targets

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
Mon Aug 04, 2014 12:59 pm
Reply with quote
Report this post
Hi guys,

(1)
On the menu bar, I'd like to be able to point the link to one of the front page modules/sections i.e. BEST ALBUMS, FEATURED ARTISTS, NEWS, NEWSLETTER or TOP USERS. And then I'd like the user to be scrolled to this section. How do I do that?

(2)
I see from other templates, that the way to do this is to set up a menu link as an external link and point it to #target

Where though, I do I define the #target for the frontpage?

Thanks!
User avatar
Gold Boarder

GK User
Mon Aug 04, 2014 1:20 pm
Reply with quote
Report this post
The #target is not defined - it is an id of html element that holds content. You either need to know firebug/chrome dev tools to be able to find those ID's by yourself, or plese post an url to your site and name all sections that you would like to scroll to. As far as I remember you can't post the url, so please name the sections basing on our demo site, but you must know that if you will change elements order or do anything to them, the anchors will different.
Also - this template doesn't have animated scroll like creativity has, so importing scrolling script from creativity would be also required.
User avatar
Moderator

GK User
Mon Aug 04, 2014 3:45 pm
Reply with quote
Report this post
OK - thanks for this guidance Cyberek. Basically I'd like (as an example) to click on FEATURES on the menu and have the browser move down to NEWSLETTER. Is this easy?

Also, is it straightforward to import the scrolling script from creativity? And can I make it scroll upwards from the bottom of the page rather than downwards from the top?
User avatar
Gold Boarder

GK User
Tue Aug 05, 2014 6:32 am
Reply with quote
Report this post
Please check this documentation:
http://www.gavick.com/documentation/joo ... enu-links/
Sadly because spaces between modules in MusicState it will not work that nice as it works in creativity (creativity was design with the idea of one page scrolling).
Also - scrolling up from bottom? If you have a sticky menu and your target module is higher than viewport it will scroll up, if the target is lower it will scroll down, there is nothing more to that.

Ps - importing scrolling script is easy if you know what you are doing. There are already few threads on the forum on this topic so you can search for them.
User avatar
Moderator


cron