jquery-bootstrap-scripting icon indicating copy to clipboard operation
jquery-bootstrap-scripting copied to clipboard

Add support for content loaded in an iframe on the modal.

Open yorch opened this issue 11 years ago • 4 comments

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.

yorch avatar Mar 08 '13 17:03 yorch

Great stuff getting the iFrame to work - I am having issues closing the Modal once it has loaded.

StevenHB avatar May 28 '13 22:05 StevenHB

Hi Steven,

you have to make sure you open the whole application on a local webserver. Otherwise AJAX will not work.

Cheers,

Nico

nikku avatar May 28 '13 22:05 nikku

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.

StevenHB avatar May 28 '13 23:05 StevenHB

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
        });

StevenHB avatar Jun 09 '13 05:06 StevenHB