jquery-bootstrap-scripting
jquery-bootstrap-scripting copied to clipboard
Add support for content loaded in an iframe on the modal.
Hey,
Thanks for your plugin, great work!
I've made a plugin that relies on yours to support URLs to be loaded on an iframe inside a modal. Feel free to pull it if you find it useful.
Thanks,
Jorge.
Great stuff getting the iFrame to work - I am having issues closing the Modal once it has loaded.
Hi Steven,
you have to make sure you open the whole application on a local webserver. Otherwise AJAX will not work.
Cheers,
Nico
I see, sorry I forgot to open it in the www folder. Next issue is trying to change the height of the Modal - I am using Yorch's iFrame plugin which is proving difficult without documentation. Right now it is stuck on width: 560px; height: 155px; I have tried to change the height in the javascrip call.
hey there, I am using the iframe extension - but I would like to to open the iframe on pageload... I have tried to add an id tag and use the following code -
$(window).load(function(){
$('#test').modal('show');
});
$(document).ready(function() {
$(".dialog-iframe").dialog2IFrame( {
height:900,
closeOnOverlayClick: true,
closeOnEscape: true,
removeOnClose: true,
showCloseHandle: true,
});
focussed:true
});