Start a new discussion

To start a new discussion please visit the discussions section of the GitHub home page of the project.

Discussions on GitHub

You can also search our old self-hosted forums for any useful information below but please note that posting new content here is not possible any more.

on Fly refresh

Home Forums Older releases 0.9.x on Fly refresh

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #2274
    adel.shaban
    Participant

    I’m using smartmenu to build multi-levels menu dynamically from data about organization hierarchy exposed from database.
    For each mouse over event, an ajax call is fired to get children and append them in runtime,

    Everything is fine, except that when calling smartmenu(‘refresh’) as mentioned in documentation the whole menu collapsed!!!!!!!!!!

    is there some workaround to get rid of this behavior?!!!

    #2275
    adel.shaban
    Participant

    Well, I have resolved this issue through workaround by commenting the following line of code:
    this.menuHideAll();
    which is inside function refresh in file jquery.smartmenus.js

    the question here, is there any impact of that change that may affect performance or memory at client side?!!!

    #2278
    admin
    Keymaster

    It shouldn’t affect performance or memory in a bad way. You may just possibly notice some weird buggy behavior of the sub menus or incorrect parent item highlighting, etc. But I will need to test a live demo in order to figure out if any major issues might happen with your exact code.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘0.9.x’ is closed to new topics and replies.