jQWidgets Forums

jQuery UI Widgets Forums Navigation Menu, Context Menu Re-create Menu

This topic contains 3 replies, has 2 voices, and was last updated by  Peter Stoev 10 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Re-create Menu #65920

    harishmaney
    Participant

    Hi,

    I want to know as to how to re-create the menu with new items each time the page is refreshed.
    Is this possible with jqxmenu?

    Example: Create the menu with ‘N’ items. After a certain period of time ‘X’ seconds, the page refreshes or the user clicks a button. Now I want to build the menu with new items.

    Currently, my menu is broken when click happens or the page refreshes.

    Re-create Menu #65951

    Peter Stoev
    Keymaster

    Hi harishmaney,

    If the page is refreshed, your script runs again and so your Menu creation code. There you’ll have to decide under which conditions to display appropriate set of menu items. However, that is a code which you should write and this does not depend on jqxMenu.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

    Re-create Menu #66040

    harishmaney
    Participant

    Hi Peter,

    I am doing exactly the same thing as told by you. But still the menu breaks. It does not render properly. When I re-create the menu, I am able to see all the menu items (without mouse hover). Am I doing anything wrong here?

    Re-create Menu #66065

    Peter Stoev
    Keymaster

    Hi harishmaney,

    I do not know actually what you’re doing because neither a sample or code is posted. Please, provide jsfiddle.net sample in order to see what’s going wrong with your code.

    Best Regards,
    Peter Stoev

    jQWidgets Team
    http://www.jqwidgets.com/

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

You must be logged in to reply to this topic.