<!DOCTYPE html>
<html>
<head>
<title></title>
<!-- Ignite UI for jQuery Required Combined CSS Files -->
<link href="http://cdn-na.infragistics.com/igniteui/2024.1/latest/css/themes/infragistics/infragistics.theme.css" rel="stylesheet" />
<link href="http://cdn-na.infragistics.com/igniteui/2024.1/latest/css/structure/infragistics.css" rel="stylesheet" />
<script src="http://ajax.aspnetcdn.com/ajax/modernizr/modernizr-2.8.3.js"></script>
<script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
<script src="http://code.jquery.com/ui/1.11.1/jquery-ui.min.js"></script>
<!-- Ignite UI for jQuery Required Combined JavaScript Files -->
<script src="http://cdn-na.infragistics.com/igniteui/2024.1/latest/js/infragistics.core.js"></script>
<script src="http://cdn-na.infragistics.com/igniteui/2024.1/latest/js/infragistics.lob.js"></script>
</head>
<body>
<button id="openDialog">
</button>
<!--igDialog target element-->
<div id="dialog">
<p>
<img style="width: 100%" src="/images/samples/dialog-window/content.jpg" />
</p>
</div>
<script>
$(function () {
// Initialize the open button with igButton
$("#openDialog").igButton({ labelText: "ダイアログを開く" });
$("#dialog").igDialog({
imageClass: "ui-icon ui-icon-flag",
closeButtonTitle: "ダイアログ ウィンドウを閉じる",
minimizeButtonTitle: "ダイアログ ウィンドウを最小化",
maximizeButtonTitle: "ダイアログ ウィンドウを最大化",
pinButtonTitle: "ダイアログ ウィンドウをピン固定",
unpinButtonTitle: "ダイアログ ウィンドウのピン固定を解除",
restoreButtonTitle: "ダイアログ ウィンドウの復元",
showMinimizeButton: true,
showMaximizeButton: true,
showPinButton: true,
zIndex: 100005,
height: "300px",
width: "280px"
});
$('#openDialog').on({
click: function () {
// Open the igDialog
$("#dialog").igDialog("open");
}
});
});
</script>
</body>
</html>