Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • nsak Friend
    #188991

    Hi, we are setting up a site running on onepage; for some reason the nice scrolling jquery effect is not working, when one uses the menu items. Only the arrows, at the top and bottom of the page can activate it…

    I believe we did something wrong and my question is if there is anything to look into via the admin panel before going into the code itself

    The site is at http://www.horeca-21.com. Can this be because of the Greek language the site is built on?

    many thanks, Nikos

    Saguaros Moderator
    #499275

    Hi Nikos,

    Did you make any changes in code or install any 3rd party extensions in your site?

    nsak Friend
    #499276

    Hi! ,

    we only changed the ini.file in /languages to get the TPL_SUBTITLEs on the page correct; also installed the GR language pack

    nothing else- Nikos

    Saguaros Moderator
    #500672

    Hi Nikos,

    Sorry for the late response, somehow I missed this ticket. If possible, pls send me admin and ftp account of your site, I will check this for you.

    Regards

    Saguaros Moderator
    #500726

    Hi Nikos,

    I’ve just checked the code and seen that there is some change in header file of this template: templates/ja_onepage/tpls/blocks/header.php

    [PHP]
    if(this.hostname != window.location.hostname || target.mb_substr(0, 1) != ‘#’){
    return;
    }
    [/PHP]

    by default, it is:

    [PHP]
    if(this.hostname != window.location.hostname || target.substr(0, 1) != ‘#’){
    return;
    }
    [/PHP]

    Kindly take a look and let me know if this helps.

    nsak Friend
    #500739

    Thanks Saguaros!

    thats truly so! now it scrolls ok;

    in Firefox however only the Portfolio link scrolls… language issue?

    Saguaros Moderator
    #500987

    Sorry for not leaving the message here.

    In the same header file like above, I replaced this line:

    [PHP]var target = this.href.replace(/.*(?=#[^s]+$)/, ”);[/PHP]

    by this:

    [PHP]var target = decodeURIComponent(this.href).replace(/.*(?=#[^s]+$)/, ”);[/PHP]

    Hope it heps.

    nsak Friend
    #515948

    Hi Saguaros,

    thought this was resolved… was informed by some client that the fourth (from left) menu item (Νέα) still wont scroll… (its http://www.horeca21.com)

    can you advice any possible action ?

    thanks a lot! Nikos

    Saguaros Moderator
    #516024

    Hi Nikos again,

    Seems that only Νέα menu item is not working, did you try to follow template guide and re-create this menu item?

    nsak Friend
    #516045

    thats it Saguaros! thanks!

    <em>@Saguaros 402720 wrote:</em><blockquote>Hi Nikos again,

    Seems that only Νέα menu item is not working, did you try to follow template guide and re-create this menu item?</blockquote>

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

This topic contains 10 replies, has 2 voices, and was last updated by  nsak 10 years, 11 months ago.

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