test
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • jscarfe Friend
    #190421

    Hi there,

    Is it possible to apply the “mega-dim” effect to other areas of the nav bar, like when the search input box is active?

    Thanks in advance!

    phong nam Friend
    #505221

    Hi jscarfe,

    You can apply the mega-dim to Search box on JA Argo template by openning templatesja_argojsscript.js file, then replace lines from 490-498 th:

    $('#t3-mainnav .nav > li').hover(function(event) {
    if(btnnav.css('display') == 'none' || $(this).closest('.nav').parent().hasClass('head-social')){
    if($.inArray(this, retain) == -1){
    retain.push(this);
    }
    clearTimeout ($(this).data('dimTimeout'));
    dim.addClass('active');
    }
    },

    with

    $('#t3-mainnav .nav > li,#t3-mainnav .head-search').hover(function(event) {
    if(btnnav.css('display') == 'none' || $(this).closest('.nav').parent().hasClass('head-social') || $(this).parent().hasClass('head-search')){
    if($.inArray(this, retain) == -1){
    retain.push(this);
    }
    clearTimeout ($(this).data('dimTimeout'));
    dim.addClass('active');
    }
    },

    Remember to backup your file before applying change.

    jscarfe Friend
    #505374

    Perfect!

    Thanks for your help.

    jscarfe Friend
    #505981

    Just a quick question,

    Is it a lot of work to apply the mega-dim effect to the blank t3 template?

    Thanks!

    phong nam Friend
    #506012

    Hi jscarfe,

    Yes. You just need to add the condition to more classes that you want to display mega-dim when hovering like additional red codes above. But, use this effect in suitable areas !

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  phong nam 11 years, 3 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum