Widget:EM3DNavigator: verschil tussen versies

(Zie JIRA-issue EMT-869.)
 
(18 tussenliggende versies door 2 gebruikers niet weergegeven)
Regel 1: Regel 1:
 
<noinclude>
 
<noinclude>
Dit is het commentaar waarin beschreven wordt waar deze widget over gaat.
+
Dit is de EM3DNavigator Widget.
 
</noinclude>
 
</noinclude>
 
 
 
<includeonly>
 
<includeonly>
 
+
<div class="toccolours mw-collapsible">
<!-- libraries/css - other (load first for jquery onload)-->       
+
3D-weergave
<script src="http://code.jquery.com/jquery-2.1.4.min.js"></script>
+
<div id="3DNavAnchor" class="mw-collapsible-content"></div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-cookie/1.4.1/jquery.cookie.js"></script>      
+
</div>
 
+
<!--<script src="../extensions/EM3DNavigator/js/d3.v3.js"
<h1>em3dnavigatorwidget</h1>
+
charset="utf-8"></script>-->
 
<script type="text/javascript">
 
<script type="text/javascript">
 
+
function checkIfReadyAndExecute()
mw.loader.using( 'ext.EM3DNavigator' ).done( function () {
+
{
  $(document).ready(function() {
+
    if (typeof mw === 'undefined' || !mw)
    setTimeout(function(){startVisualisation( "<!--{$currentPageName|default:'Pagename niet doorgekregen'}-->" );},1000);
+
        window.setTimeout(checkIfReadyAndExecute, 500);
  });
+
    else
});
+
    {
  +
        mw.loader.using( 'ext.EM3DNavigator' ).done( function () {
  +
            new ContextNavigator.Navigator();
  +
        });
  +
    }
  +
}
  +
checkIfReadyAndExecute();
 
</script>
 
</script>
 
</includeonly>
 
</includeonly>

Huidige versie van 13 sep 2017 om 13:20

Dit is de EM3DNavigator Widget.