【实例简介】增加对jsmind实例修改扩展
【实例截图】
【核心代码】
jsMindli{margin-top:2px; margin-bottom:2px;}
button{width:140px;}
select{width:140px;}
#layout{width:1230px;}
#jsmind_nav{width:210px;height:600px;border:solid 1px #ccc;overflow:auto;float:left;}
.file_input{width:100px;}
button.sub{width:100px;}
#jsmind_container{
float:left;
width:1000px;
height:600px;
border:solid 1px #ccc;
background:#f4f4f4;
}
var _jm = null;
function open_empty(){
var options = {
container:'jsmind_container',
theme:'greensea',
editable:true
}
_jm = jsMind.show(options);
// _jm = jsMind.show(options,mind);
}
function open_json(){
var mind = {
"meta":{
"name":"jsMind remote",
"author":"hizzgdev@163.com",
"version":"0.2"
},
"format":"node_tree",
"data":{"id":"root","topic":"jsMind","children":[
{"id":"easy","topic":"Easy","direction":"left","children":[<