DaveR
23-Oct-2024, 04:26 PM
Inspired by today's webinar I thought I'd try a simple Flextron PDFViewer but I get the same issue as in this thread.
https://support.dataaccess.com/Forums/showthread.php?69357-PDFViewer-and-FlexTron&highlight=PDFViewer. DF23
two questions:
Does the advice in the thread still apply? as in drop the following into the oLocalWebAppHost object
Procedure OnDefineScriptIncludes String[] ByRef aScriptHtml
Move @'
<!-- DHTMLX Scheduler -->
<script src="dhtmlx/codebase/dhtmlxscheduler.js" type="text/javascript"></script>
<script src="dhtmlx/codebase/ext/dhtmlxscheduler_limit.js"></script>
<script src="dhtmlx/codebase/ext/dhtmlxscheduler_units.js"></script>
<script src="dhtmlx/codebase/ext/dhtmlxscheduler_timeline.js"></script>
<script src="dhtmlx/codebase/ext/dhtmlxscheduler_multiselect.js"></script>
<script src="dhtmlx/codebase/ext/dhtmlxscheduler_tooltip.js"></script>
<script src="dhtmlx/codebase/ext/dhtmlxscheduler_minical.js"></script>
<link rel="stylesheet" href="dhtmlx/codebase/dhtmlxscheduler.css" type="text/css">
<script src="dhtmlx/codebase/locale/locale_nl.js"></script>
<script src="Custom/WebDhxScheduler.js"></script>' to aScriptHtml[SizeOfArray(aScriptHtml)]
End_Procedure
and in the Apphtml\Index.htm the script can go anywhere in the <head> section, right?
<!-- WebPdfViewer -->
<script src="PdfViewer/WebPdfViewer.js"></script>
<link rel="stylesheet" type="text/css" href="PdfViewer/WebPdfViewer.css"/>
https://support.dataaccess.com/Forums/showthread.php?69357-PDFViewer-and-FlexTron&highlight=PDFViewer. DF23
two questions:
Does the advice in the thread still apply? as in drop the following into the oLocalWebAppHost object
Procedure OnDefineScriptIncludes String[] ByRef aScriptHtml
Move @'
<!-- DHTMLX Scheduler -->
<script src="dhtmlx/codebase/dhtmlxscheduler.js" type="text/javascript"></script>
<script src="dhtmlx/codebase/ext/dhtmlxscheduler_limit.js"></script>
<script src="dhtmlx/codebase/ext/dhtmlxscheduler_units.js"></script>
<script src="dhtmlx/codebase/ext/dhtmlxscheduler_timeline.js"></script>
<script src="dhtmlx/codebase/ext/dhtmlxscheduler_multiselect.js"></script>
<script src="dhtmlx/codebase/ext/dhtmlxscheduler_tooltip.js"></script>
<script src="dhtmlx/codebase/ext/dhtmlxscheduler_minical.js"></script>
<link rel="stylesheet" href="dhtmlx/codebase/dhtmlxscheduler.css" type="text/css">
<script src="dhtmlx/codebase/locale/locale_nl.js"></script>
<script src="Custom/WebDhxScheduler.js"></script>' to aScriptHtml[SizeOfArray(aScriptHtml)]
End_Procedure
and in the Apphtml\Index.htm the script can go anywhere in the <head> section, right?
<!-- WebPdfViewer -->
<script src="PdfViewer/WebPdfViewer.js"></script>
<link rel="stylesheet" type="text/css" href="PdfViewer/WebPdfViewer.css"/>