I'm trying to create a Modal and have a question: my code is:
<div id="my-modal" class="modal" >
<div id="modal" class="body">
<header class="header">
<h2>Modal header</h2>
</header>
<div style="overflow:auto;">
{{ include('srgooglemaps/infobubble/addEntry'}}
</div>
</div>
</div>
<button id="newInfoBubble" type="button" class="btn submit" value="test">new</button>
Javascript
$("#newInfoBubble").click(function(){
$modal = new Garnish.Modal($('#my-modal'));
});
How do I manage to make overscroll auto working? My included template is higher than the modal and I would like to add a scrollbar or another option to make everything visible.