JP CE Modal Pro - Trigger Popup from GRID like multi-items element link
Article Index
- JP CE Modal Pro
- How to install & use
- Add the new custom element
- Use content as Module
- Use content from section
- Use content as Sublayout
- Popup Trigger Type
- Trigger Popup automatically
- Trigger Popup by click
- Trigger Popup using Custom HTML
- Trigger Popup during Scroll
- Trigger Popup from GRID like multi-items element link
- Popup Modal Close settings
- Important Configuration
- Video Tutorials
- Output
- All Pages
Page 12 of 16
"Use from GRID like multi-items element link"
- If you want to open the modal popup from GRID like multi-items element link just follow these steps. This will also work with Gallery and other elements.
- Open the element item and fill the link field with unique id of the modal in which you want to link.
- Then give a unique id to the grid element.
- Add the below script to the custom code section of the builder, where 'test_modal123' is the grid element ID created before replace this with your element unique ID.
jQuery(document).ready(function() { var elements = jQuery('#test_modal123 a') elements.removeAttr('uk-scroll') elements.attr('uk-toggle', '') });
- Once finished all the settings, Click "Save" and "Close" the builder.