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)
  • You must be logged in to reply to this topic.

Register

You will be emailed a link to set your password.

Login

Lost password?