Difference between revisions of "Widget:WikiDiagram"

From Audacity Wiki
Jump to: navigation, search
(updated.)
(bypass cloudflare)
 
(20 intermediate revisions by the same user not shown)
Line 3: Line 3:
  
 
</noinclude><includeonly>
 
</noinclude><includeonly>
<!--{if not $item}-->
+
 
<script data-cfasync="false" src="https://wit.audacityteam.org/js/wikidiagrams.js?time=1124"></script>
+
<!--{if $page}-->
 +
<div id="content_here" class="atkContentDiv" data-page="<!--{$page|escape:'url'}-->" style="text-align:center;">
 +
<!--{if $extra}-->
 +
    <div style="display:none">
 +
<!--{else}-->
 +
</div>
 +
<!--{/if}-->
 
<!--{/if}-->
 
<!--{/if}-->
  
ITEM:<!--{$item}-->
+
<!--{if $fin}-->
 
+
</div></div>
<div id="content_here0" style="text-align:center;">
+
<!--{/if}-->
</div>
 
  
 +
<!--{if $init}-->
 +
<script data-cfasync="false" src="https://wit.audacityteam.org/js/wikidiagrams.js?time=1143"></script>
 +
<script data-cfasync="false" src="https://wit.audacityteam.org/js/smiles.js?time=1143"></script>
  
 
<script>
 
<script>
 
+
initContent();
function loaded(){
 
  //alert("page loaded");
 
  var A = Annotator[0];
 
  A.page="<!--{$page|escape:'url'}-->"
 
  createDomElements(A);
 
  loadDiagram( A.page, "remote" );
 
  setInterval(timerCallback, 30);
 
}
 
 
 
loaded();
 
 
</script>
 
</script>
 +
<!--{/if}-->
  
 
<includeonly>
 
<includeonly>

Latest revision as of 22:18, 21 April 2020

This runs a script on loading complete