JSFiddle - React, Tailwind, and code Playground
HTML
<script src="https://igniteui.com/js/modernizr.min.js"></script>
<script src="https://code.jquery.com/jquery-1.9.1.min.js"></script>
<script src="https://code.jquery.com/ui/1.10.3/jquery-ui.min.js"></script>
<script src="https://cdn-na.infragistics.com/igniteui/latest/js/infragistics.core.js"></script>
<script src="https://cdn-na.infragistics.com/igniteui/latest/js/infragistics.lob.js"></script>
<link href="https://cdn-na.infragistics.com/igniteui/latest/css/themes/infragistics/infragistics.theme.css" rel="stylesheet"></link>
<link href="https://cdn-na.infragistics.com/igniteui/latest/css/structure/infragistics.css" rel="stylesheet"></link>
<button id="openDialog">
</button>
<div id="dialog">
<iframe src="https://www.infragistics.com" frameborder="0" width="100%" height="100%"></iframe>
</div>
JavaScript
$(function () {
var width = $(window).width > 480 ? 440 : 280,
height = $(window).width > 480 ? 440 : 440;
// Initialize the open button with igButton
$("#openDialog").igButton({ labelText: "Open Dialog" });
// Initialize the igDialog
$("#dialog").igDialog({
height: height,
width: width,
headerText: "https://www.infragistics.com",
showMinimizeButton: true,
showMaximizeButton: true,
showPinButton: true,
zIndex: 100005
});
$("#openDialog").on({
click: function (e) {
// Open the igDialog
$("#dialog").igDialog("open");
}
});
});