-
AuthorPosts
-
August 15, 2013 at 9:15 pm #189770
What menu module is that where it reveals a fixed menu when user scrolls down?
August 16, 2013 at 12:54 am #502390<em>@ninedozen 385070 wrote:</em><blockquote>What menu module is that where it reveals a fixed menu when user scrolls down?</blockquote>
I guess it’s one of the built-in feature not a separated module..
August 16, 2013 at 1:03 am #502391What makes you say that? Are you currently using the template?
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
August 16, 2013 at 5:04 am #502418Hi ninedozen,
It was created by js code.
You can see it in file: /templates/ja_fixel/js/script.js
(function(){
// Add class for mainmenu when scroller
var light = null,
sid = null,
mainnav = $('#t3-mainnav');if(mainnav.length){
$(window).scroll(function() {
if(light != $(window).scrollTop() > mainnav.outerHeight(true) * 1.5){
light = !light;
light ? mainnav.addClass('affix') : mainnav.removeClass('light-mainnav');//force reflow
mainnav[0].offsetWidth;
light ? mainnav.addClass('light-mainnav') : mainnav.removeClass('affix');
}
})
}
})();Hope this helps
Regards,
Nazario
1 user says Thank You to Nazario A for this useful post
August 20, 2013 at 7:26 pm #502911Any plans on creating a module with this functionality? I love it and want to use it on my other sites.
What would it take to install this or similar functionality on a site built around the Brisk template?
Nazario A FriendNazario A
- Join date:
- April 2013
- Posts:
- 1183
- Downloads:
- 0
- Uploads:
- 406
- Thanks:
- 91
- Thanked:
- 284 times in 263 posts
August 22, 2013 at 3:07 am #503076Hi ninedozen,
Currently, we are using it for JA Fixel only. We don’t supply it as an extension. Please try to search for one extension supporting the same function.
If you want to use it to look like the Fixel template, you can custom css for it. Depending each template, the css will be different.
Regards,
Nazario
-
AuthorPosts
This topic contains 6 replies, has 3 voices, and was last updated by Nazario A 11 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum