test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • 1option Friend
    #180647

    How do I change the Menu to CSS style instead of Mega Menu? When I go to Templates > Univeristy > Profiles it does not allow me to select different menu styles.

    Thanks.

    HeR0 Friend
    #466895

    Hi 1option
    You should edit in file templatesja_universityetcprofilesdefault.ini

    Regards,

    kambene Friend
    #467347

    But Why I canĀ“t change from the backend? And In my case the megamenu is not working. Thanks

    HeR0 Friend
    #467351

    Hi Kambene
    I think the reason of this issue is the permission for written file. So you should edit it as normal.
    <blockquote> And In my case the megamenu is not working</blockquote> I need check directly on your site or please find in templates/ja_university/js/menu/mega.js

    prepare: function () {
    //preload images
    var imgElms = this.menu.getElements('img');

    if (imgElms.length && !this.imgloaded) {
    var imgSrcs = [];
    imgElms.each(function (image) {
    imgSrcs.push(image.src)
    });

    new Asset.images(imgSrcs, {
    onComplete: function () {
    this.start();
    }.bind(this)
    });

    this.imgloaded = true;
    //call this start if cannot load image after sometime
    this.start.delay(3000, this);
    } else {
    this.start();
    }
    },

    and replace as

    prepare: function () {
    //preload images
    var imgElms = this.menu.getElements('img');

    if (imgElms.length && !this.imgloaded) {
    var imgSrcs = [];
    imgElms.each(function (image) {
    imgSrcs.push(image.src)
    });

    new Asset.images(imgSrcs, {
    onComplete: function () {
    this.start();
    }.bind(this)
    });

    this.imgloaded = true;
    //call this start if cannot load image after sometime
    this.start.delay(3000, this);
    } else {
    this.imgloaded = true;
    this.start();
    }
    },

    Hope that can help you!

    Regards,

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

This topic contains 4 replies, has 3 voices, and was last updated by  HeR0 12 years, 3 months ago.

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