This topic contains 3 replies, has 2 voices, and was last updated by Sean Sean 3 years, 3 months ago.

Context Menus (Admin 4)


  • le_wild_vi
    Participant

    Posts: 5
    Member Reply #1146

    Hey.

     

    I was trying to implement the context menus according to the example in admin 4, and everything went well. But when I tried to replace the href=”javascript:;” by my own pages, it doesn’t do anything. I searched through bootstrap-contextmenu.js and components-context-menu.js and I can’t find what’s blocking the action.

    Sean
    Sean
    Keymaster

    Posts: 4526
    Support Staff Reply #1191

    Hi,

    Sorry for the late reply. We have been super busy with overloaded support.

    Can you please provide your code or give us a test link to your page ? Thus we could provide more effective support.

    For more info you can check the plugin’s official doc here: http://sydcanem.com/bootstrap-contextmenu/

    Thanks.


    le_wild_vi
    Participant

    Posts: 5
    Member Reply #1236

    I’ve tried both ways, these are inside a div with the id “context-menu”, like they were on the example in Admin Theme 4 (HTML), except on the example they had no href. When I click the links, they just close the context menu. I had to include a picture because I can’t insert any code here without it being recognized.

    Thanks for the reply!

    • This reply was modified 3 years, 3 months ago by  le_wild_vi.
    • This reply was modified 3 years, 3 months ago by  le_wild_vi.
    Attachments:
    You must be logged in to view attached files.
    Sean
    Sean
    Keymaster

    Posts: 4526
    Support Staff Reply #1261

    Hi :),

    Sorry for the late reply.

    This seems how the plugin works. You can check the live demo: http://sydcanem.com/bootstrap-contextmenu/

    You can try to attach click even to the menu options and use JS to redirect it to required pages.

    Thanks.

Tagged: 

You must be logged in to reply to this topic.