k (1 versie geïmporteerd: Zie JIRA-issue EMT-671.) |
Geen bewerkingssamenvatting |
||
Regel 1: | Regel 1: | ||
<noinclude> | <noinclude> | ||
Dit is de Widget:EMMNavigatorTree Widget. | Dit is de Widget:EMMNavigatorTree Widget. | ||
</noinclude> | </noinclude> | ||
<includeonly> | <includeonly> | ||
<!--<div class="row"> | <!--<div class="row"> | ||
<div class="col-md-4 col-sm-8 col-xs-8"> | |||
<button type="button" class="btn btn-success btn-sm" onclick="demo_create();"><i class="glyphicon glyphicon-asterisk"></i> Create</button> | |||
<button type="button" class="btn btn-warning btn-sm" onclick="demo_rename();"><i class="glyphicon glyphicon-pencil"></i> Rename</button> | |||
<button type="button" class="btn btn-danger btn-sm" onclick="demo_delete();"><i class="glyphicon glyphicon-remove"></i> Delete</button> | |||
</div> | </div> | ||
</div>--> | </div>--> | ||
<div id="results" class="demo" style="margin-top:1em;"></div> | <div id="results" class="demo" style="margin-top:1em;"></div> | ||
<script type="text/javascript" src="../extensions/emm-navigation-tree/js/lib/jquery-1.9.1.js"></script> | <script type="text/javascript" src="../extensions/emm-navigation-tree/js/lib/jquery-1.9.1.js"></script> | ||
<script src="../extensions/emm-navigation-tree/js/lib/jstree.js" charset="utf-8"></script> | <script src="../extensions/emm-navigation-tree/js/lib/jstree.js" charset="utf-8"></script> | ||
<!-- <script src="../extensions/emm-navigation-tree/js/lib/jquery.sticky.js"></script> | |||
</script> | |||
<style> | |||
< | #results { | ||
background: #bada55; | |||
color: white;<!--{$rootPages}--> | |||
width: 300px; | |||
border-radius: 50px; | |||
} | |||
</style>--> | |||
<script | <script src="../extensions/emm-navigation-tree/js/Emm-Jstree.js" charset="utf-8"></script> | ||
<script type="text/javascript"> | |||
function checkIfReadyAndExecute() | |||
{ | |||
//$("#results").sticky({topSpacing:0}); | |||
var c='<!--{$rootPages}-->'; | |||
console.log("rootPages:",c); | |||
var emmNavigationTree=new EMMNavigationTree( | |||
"<!--{$currentPageName|default:'Pagename niet doorgekregen'}-->",c); | |||
} | |||
/*RLQ.push(function () { | |||
console.log("jquery now loaded"); | |||
// | |||
$.getScript("../extensions/emm-navigation-tree/js/lib/jstree.js", function(){ | |||
$.getScript("../extensions/emm-navigation-tree/js/Emm-Jstree.js", function(){ | |||
checkIfReadyAndExecute(); | |||
}); | |||
}); | |||
});*/ | |||
checkIfReadyAndExecute(); | checkIfReadyAndExecute(); | ||
</script> | |||
</script> | |||
</includeonly> | </includeonly> |
Versie van 17 feb 2017 10:39
Dit is de Widget:EMMNavigatorTree Widget.