test
Viewing 3 posts - 31 through 33 (of 33 total)
  • Author
    Posts
  • josep masso Friend
    #528357

    <em>@Ninja Lead 418285 wrote:</em><blockquote>My apology, I just tried to get it solved again. Please check and let me know if the issue remains at your side.</blockquote>

    Great, Ninja!

    The menus work anymore. Also links tags work (the other question I had to make). Congratulations.

    One question: can you explain me how you did it? What is the secret?

    Thank you very much and God bless you.

    Ninja Lead Moderator
    #528417

    <blockquote>One question: can you explain me how you did it? What is the secret?</blockquote>

    Look at the templates/ja_onepage/js/script.js file and you will see this code:


    var target = this.href.replace(/.*(?=#[^s]+$)/, '');
    if (target && ($(target).length)) {

    } else { //not found
    var home = $('.navbar ul li a.home').attr('href');
    if (home) {
    window.location.href = home.replace(/([^#]*)(.*)/, '$1') + target;
    }
    }

    And in the home page of your site, you need to insert “home” into the Link CSS Style field as in this screenshot:


    1. home_class
    josep masso Friend
    #529187

    Understood.

    Thank you very much, Ninja Lead!

Viewing 3 posts - 31 through 33 (of 33 total)

This topic contains 33 replies, has 3 voices, and was last updated by  josep masso 10 years, 8 months ago.

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