11/19/13

Loading iFrame external content into bootbox modal - twitter bootstrap

I used to use fancybox to deliver iframe modals but have found that the current version of Twitter Bootstrap for some reason conflicts with fancybox. The only reason I was using fancy box was that I wanted an easy way to modal iFrame external content (lazy man ajax)  - so I now had to find a way to use stock Twitter Bootstrap modals to deliver iFrame content.

Luckily this turned out to be pretty easy.

Standard modal HTML stuff by simply plugging in the iframe code within the widget content div.
The result is a frameless iframe'd content section within the standard bootbox modal window. The harder part is then connecting this strategy to dynamic content - that post will come next.


1 comment:

  1. I am not sure where you are getting your information, but good topic. I needs to spend some time learning much more or understanding more. Thanks for excellent information I was looking for this information for my mission. Compensate for the loss in the blast game

    ReplyDelete