Difference between revisions of "Widget:WikiDiagram"
From Audacity Wiki
(remote.) |
(Simpler?) |
||
Line 4: | Line 4: | ||
</noinclude><includeonly> | </noinclude><includeonly> | ||
<!--{if not $item}--> | <!--{if not $item}--> | ||
− | + | <script data-cfasync="false" src="https://wit.audacityteam.org/js/wikidiagrams.js?time=1123"></script> | |
− | < | ||
− | |||
<!--{/if}--> | <!--{/if}--> | ||
− | |||
− | < | + | ITEM:<!--{$item}--> |
+ | <div id="content_here" style="text-align:center;"> | ||
+ | </div> | ||
+ | <div id="atitle" style="text-align:center;"> | ||
+ | <em>No Hotspot Zones Loaded (Yet)</em> | ||
+ | </div> | ||
+ | <div id="tabular_contents"></div> | ||
+ | <div id="spec" style="margin-left:10px"></div> | ||
− | + | <script> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | function loaded( | + | function loaded(){ |
− | + | window.addEventListener("message", receiveReply, false); | |
//alert("page loaded"); | //alert("page loaded"); | ||
Line 34: | Line 32: | ||
loadDiagram( A.page, "remote" ); | loadDiagram( A.page, "remote" ); | ||
− | |||
− | |||
− | |||
setInterval(timerCallback, 30); | setInterval(timerCallback, 30); | ||
} | } | ||
+ | loaded(); | ||
</script> | </script> | ||
− | + | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
<includeonly> | <includeonly> |
Revision as of 22:19, 5 December 2019
This runs a script on loading complete
|