Jackson Collins
Jackson Collins

Reputation: 120

Using Bootstrap Modals to represent a external HTML file

I have tried looking into setting up Bootstrap modals as external html files so I can show other websites I've made inside of the one website but couldn't really find anything that works with modals. Is this even possible or am I supposed to use a jQuery popover style method?

Thanks!

Upvotes: 1

Views: 868

Answers (2)

Shalin Patel
Shalin Patel

Reputation: 1099

Rather then using an iFrame just use the following solution.

Fist visit this link. And see section with label 'Loading remote page (1)'.

You can always use this bootstrap-dialog method to populate popup any time and any situation. and also you can customize popup however you want

Upvotes: 1

Jackson Collins
Jackson Collins

Reputation: 120

Ended up solving it and for those that possibly have the same issue, I solved it using an iframe reference inside the modal-body and stretching the iframe to fit the modal

Upvotes: 0

Related Questions