| Regel 1: | Regel 1: | ||
<noinclude> |
<noinclude> |
||
| − | Dit is |
+ | Dit is de EM3DNavigator Widget. |
| + | You have to include the script d3.v3.js with the script-tag because it is used in document.ready |
||
</noinclude> |
</noinclude> |
||
| − | |||
| − | |||
<includeonly> |
<includeonly> |
||
| − | + | <script src="../extensions/EM3DNavigator/js/d3.v3.js" charset="utf-8"></script> |
|
| − | |||
| − | <script src="// |
||
| − | |||
| − | |||
| − | |||
<script type="text/javascript"> |
<script type="text/javascript"> |
||
| + | $(document).ready(function() { |
||
| + | mw.loader.using( ['ext.EM3DNavigator']).done( function () { |
||
| + | //makeCollapsible gives error. Side-effect: error concerning makeCollapsible disappears |
||
| + | } |
||
| + | );//mw.loader |
||
| − | + |
});//document.ready |
|
| − | |||
| − | |||
| − | |||
| − | |||
</script> |
</script> |
||
</includeonly> |
</includeonly> |
||
Dit is de EM3DNavigator Widget. You have to include the script d3.v3.js with the script-tag because it is used in document.ready