Commit 5e59c39c authored by Akikonata's avatar Akikonata

added select

parent 17d50f10
...@@ -12,10 +12,17 @@ ...@@ -12,10 +12,17 @@
</head> </head>
<body style="background:#262626; margin:0; padding:0"> <body style="background:#262626; margin:0; padding:0">
<div id="kityminder" style="height:1000px;width:100%"> <div id="kityminder" style="height:1000px;width:100%">
<select id="StyleChange">
<option value="default">Default</option>
<option value="green">Green</option>
</select>
</div> </div>
</body> </body>
<script> <script>
document.getElementById("StyleChange").addEventListener("change",function(e){
var val = e.target.value;
minder.execCommand("switchlayout",val);
},false);
minder = KM.createMinder(kityminder); minder = KM.createMinder(kityminder);
minder.execCommand("switchlayout","green");
</script> </script>
</html> </html>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment