Hi,
I can’t create windows with all samples it give me windows without any skins and outside the zone !
Please help.
Thank
Hi,
Please check the next snippet, this is a minimal code to init Window.
If issue still occurs, please share any kind of sample where the issue can be checked.
Hi,
Thank you but it not worked, it not display a Window, It display only the name of the window and outside winVP. My code is below
<!DOCTYPE html>
<html>
<head>
<title>Extended init</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<link rel="stylesheet" type="text/css" href="~/content/roboto.css" />
<link rel="stylesheet" type="text/css" href="~/content/dhtmlxmenu_dhx_skyblue.css" />
<link rel="stylesheet" type="text/css" href="~/content/dhtmlx.css" />
<script src="~/scripts/dhtmlxwindows.js"></script>
<script src="~/scripts/dhtmlxcommon.js"></script>
<script>
var dhxWins;
function createWindow() {
dhxWins = new dhtmlXWindows();
dhxWins.attachViewportTo("winVP");
var w = Number("320");
var h = Number("200");
var x = Number("20");
var y = Number("30");
dhxWins.createWindow("1", x, y, w, h);
dhxWins.window("1").setText("New dhtmlxWindow");
}
</script>
</head>
<body>
<div>
<table>
<tr>
<td colspan="2" align="center" style="padding-top: 10px;"><input type="button" value="Create Window" onclick="createWindow();"></td>
</tr>
</table>
</div>
<div id="winVP" style="position: relative; height: 500px; border: #cecece 1px solid; margin: 10px;"></div>
</body>
Hi,
Finally it works but windows control buttons are without icons !
Help please
Hi,
It’s OK, it works fine.
Thank you