mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-28 15:49:57 +09:00
게시판 분류에 color 속성 추가 (color picker는 일괄 처리 예정)
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@5081 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1b51eb6c7d
commit
64ec631bba
18 changed files with 80 additions and 23 deletions
|
|
@ -16,10 +16,19 @@ function Tree(url){
|
|||
var text = jQuery(this).attr("text");
|
||||
var node_srl = jQuery(this).attr("node_srl");
|
||||
var parent_srl = jQuery(this).attr("parent_srl");
|
||||
var color = jQuery(this).attr("color");
|
||||
var url = jQuery(this).attr("url");
|
||||
|
||||
// node
|
||||
var node = jQuery('<li id="tree_'+node_srl+'"><span>'+text+'</span></li>');
|
||||
|
||||
var node = '';
|
||||
if(color){
|
||||
node = jQuery('<li id="tree_'+node_srl+'"><span style="color:'+color+';">'+text+'</span></li>');
|
||||
}else{
|
||||
node = jQuery('<li id="tree_'+node_srl+'"><span>'+text+'</span></li>');
|
||||
}
|
||||
|
||||
|
||||
|
||||
// button
|
||||
jQuery('<a href="#" class="add"><img src="./common/tpl/images/tree/iconAdd.gif" /></a>').bind("click",function(e){
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue