Changeset 9543 for temp/trunk/html/test


Ignore:
Timestamp:
2006/11/29 21:52:20 (20 years ago)
Author:
uehara
Message:

blank

File:
1 edited

Legend:

Unmodified
Added
Removed
  • temp/trunk/html/test/uehara/js/tree.js

    r9538 r9543  
    55var IMG_NORMAL         = "./img/normal.gif";                    // ¥Î¡¼¥Þ¥ë¥é¥¤¥ó 
    66 
    7 var tree = ""; 
    8 var count = 0; 
    9 var arrTreeStatus = new Array(); 
     7var tree = "";                      // À¸À®HTML³ÊǼ 
     8var count = 0;                      // ¥ë¡¼¥×¥«¥¦¥ó¥¿ 
     9var arrTreeStatus = new Array();    // ¥Ä¥ê¡¼¾õÂÖÊÝ»ý 
     10var old_select_id = '';             // Á°²óÁªÂò¤·¤Æ¤¤¤¿¥Õ¥¡¥¤¥ë 
    1011 
    1112// ¥Ä¥ê¡¼É½¼¨ 
     
    181182// ÇØ·Ê¿§¤òÊѤ¨¤ë 
    182183function fnChangeBgColor(id, val) { 
     184    if(old_select_id != '') document.getElementById(old_select_id).style.backgroundColor = val; 
    183185    document.getElementById(id).style.backgroundColor = val; 
     186    old_select_id = id; 
    184187} 
Note: See TracChangeset for help on using the changeset viewer.