I’m trying to get some pop-up lightboxes to work with site content and forms. This is so I can use multiple interactions on a long-form page without leaving the page (e.g pop-up form submissions etc.)
Can you tell me what specific elements you are trying to edit? It won’t be possible to edit the module markup, but maybe we can come up with a JavaScript solution for adding what you need. Let me know.
Since you can’t change the markup directly, you will need to set an ID on each module you want to work with using the ID setting in the advanced tab. Once you’ve done that, you can target it with JavaScript like this…
(function( $ ) {
$( function() {
$( '#my-id-1' ).on( 'click', function( e ) {
// Your code here...
});
$( '#my-id-2' ).on( 'click', function( e ) {
// Your code here...
});
});
})( jQuery );