-
Notifications
You must be signed in to change notification settings - Fork 1
/
load-modules-and-write.html
45 lines (41 loc) · 1.49 KB
/
load-modules-and-write.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Load modules and private XML file, then write a date</title>
<!--Version M2021-07-29 fetchDOM is imported, simplify module loader
M2021-02-14 Adapt to modules and to fetchdom.js
M2021-01-11 rewrite in a more general case
M2020-12-12 Add MilesianAlertMsg
M2019-07-27
M2020-04-12 simplify !DOCTYPE
M2020-04-16 normalize <meta>
-->
<meta name="creator" content="Louis-Aimé de Fouquières">
<meta name="description" content="HTML basic code to insert as a widget or somewhere in the application
on an always-used page or any page that wants to use XML external data.UPDATE URI IN LAST SCRIPT.
If installed on a separate domain, this domain's server should allow external GET access">
<meta name="keywords" content="DOM, XML">
<meta name="viewport" content="width=device-width">
<!-- Partie à reporter -->
<link href="dialswthtpanels.css" rel="stylesheet"/>
<script type="text/javascript" src="milesianclockinitiate.js"></script>
<!-- fin -->
</head>
<body>
<section class="centered"><h1>Chargement de pldr puis impression</h1>
<!-- Partie à reporter -->
<span id="datetag">
<script type="text/javascript">
( async function () {
loadComplete.then ( () => {
document.getElementById ("datetag").innerHTML =
new modules.ExtDateTimeFormat(undefined,{year:"numeric", month: "long", day:"numeric"},
new modules.MilesianCalendar ("milesian",pldrDOM)).format(new Date());
})} () )
</script>
</span>
<!-- fin -->
</section>
</body>
</html>