Regel 8: | Regel 8: | ||
mw.loader.using( 'ext.EM3DNavigator' ).done( function () { |
mw.loader.using( 'ext.EM3DNavigator' ).done( function () { |
||
$(document).ready(function() { |
$(document).ready(function() { |
||
− | + |
var visualisationInstance= new Visualisation(); |
|
visualisationInstance.drawHTMLElements("<!--{$baseDiv|default:'bodyContent'}-->","<!--{$currentPageName|default:'Pagename niet doorgekregen'}-->"); |
visualisationInstance.drawHTMLElements("<!--{$baseDiv|default:'bodyContent'}-->","<!--{$currentPageName|default:'Pagename niet doorgekregen'}-->"); |
||
//visualisationInstance.drawModel( ); |
//visualisationInstance.drawModel( ); |
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