You are herePlain modal form, load on page load

Plain modal form, load on page load


By Marko Blažeković - Posted on 26 June 2014

To load just plain moda form and add some contetn to it. Do this

$(document).ready(function() {
Drupal.CTools.Modal.show();
$('#modal-title').html('put title here');
$('#modal-content').html('put content here');
});

and modal will open.