search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

HTML Application

Asked by Dom
5 years ago.

Hello,

Is there a way to embed DayPilot Scheduler in an HTML Application (.hta file) ?
I've tried this little code but no way: alertbox #1 and #2 never fired, and nothing shown (path to library is ok)...

<html>
<head>
<HTA:APPLICATION ID = "objAppli">
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<!-- daypilot libraries -->
<script src="./DayPilot/scripts/daypilot-all.min.js?v=1418" type="text/javascript"></script>
</head>
<BODY>
<div id="dp"></div>
<script language="javascript">
alert('1');
var dp = new DayPilot.Scheduler("dp");
dp.init();
alert('2');
</script>
</BODY>
</html>

Thanks !

This question is more than 3 months old and has been closed. Please create a new question if you have anything to add.