How to call modal box by a menu item
This topic shows you how to call contact popup form or call me back module by a menu item.
1. Creating menu item
Open admin panel and click “Menus -> Main menu -> Add New Menu Item” in the top menu.
Type menu item name and select in the “Menu item type” “System links -> External URL”.
Insert hash (“#”) in the “Link” field type. Then follow class field, for the contact form insert “contactus” and “joomly-callback” for the callback module.
2. Add module to some site pages
Now you should add the contact form or callback module to the site pages. Open Module Manager (“Extensions->Modules”) and choose your module. In the “View options” section find drop-down list (“Open Pop-Up/Callback window by”) and select “Class” option.
Then go to the “Menu Assignment” tab and choose pages to display (it should be “all pages” possibly).
After that put the module in any position (Warning! Position must be used in the template) and select “Published” in the “Status” drop-down box.