(Zie JIRA-issue EMT-869.)
|
|||
(19 tussenliggende versies door 2 gebruikers niet weergegeven) | |||
Regel 1: | Regel 1: | ||
<noinclude> |
<noinclude> |
||
− | Dit is |
+ | Dit is de EM3DNavigator Widget. |
</noinclude> |
</noinclude> |
||
− | |||
− | |||
<includeonly> |
<includeonly> |
||
− | + | <div class="toccolours mw-collapsible">
|
|
− | < |
+ |
3D-weergave
|
− | < |
+ | <div id="3DNavAnchor" class="mw-collapsible-content"></div>
|
− | <script src=" |
+ |
</div> |
− | + |
<!--<script src="../extensions/EM3DNavigator/js/d3.v3.js"
|
|
− | + |
charset="utf-8"></script>--> |
|
<script type="text/javascript"> |
<script type="text/javascript"> |
||
− | + | function checkIfReadyAndExecute() |
|
− | mw.loader.using( 'ext.EM3DNavigator' ).done( function () { |
+ | { |
− | + | if (typeof mw === 'undefined' || !mw) |
|
− | + | window.setTimeout(checkIfReadyAndExecute, 500); |
|
− | + | else |
|
− | + | { |
|
+ |
mw.loader.using( 'ext.EM3DNavigator' ).done( function () { |
||
+ |
new ContextNavigator.Navigator();
|
||
+ |
}); |
||
+ |
} |
||
+ | } |
||
+ |
checkIfReadyAndExecute(); |
||
</script> |
</script> |
||
</includeonly> |
</includeonly> |
Dit is de EM3DNavigator Widget.