Changeset 9242 for temp/trunk/html


Ignore:
Timestamp:
2006/11/27 23:27:29 (20 years ago)
Author:
uehara
Message:

blank

File:
1 edited

Legend:

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

    r9241 r9242  
    6363        file_name = arrFileSplit[arrFileSplit.length-1]; 
    6464 
    65         tree += '<input type="image" src="'+ rank_img +'" border="0" name="tree_img'+ i +'" id="tree_img'+ i +'" onclick="fnTreeMenu(\'tree'+ i +'\',\''+ arrTree[i][1] +'\',\'tree_img'+ i +'\',\''+ arrTree[i][2] +'\')">'; 
     65        tree += '<input type="image" src="'+ rank_img +'" border="0" name="rank_img'+ i +'" id="rank_img'+ i +'" onclick="fnTreeMenu(\'tree'+ i +'\',\''+ arrTree[i][1] +'\',\'tree_img'+ i +'\',\''+ arrTree[i][2] +'\')">'; 
    6666        tree += '<input type="image" src="'+ folder_img +'" border="0" name="tree_img'+ i +'" id="tree_img'+ i +'" onclick="fnFolderOpen(\'tree'+ i +'\',\''+ arrTree[i][1] +'\',\''+ arrTree[i][2] +'\')">&nbsp;'+ file_name +'<br/>'; 
    6767        tree += '<div id="tree'+ i +'" style="display:'+ display +'">'; 
     
    120120    tMenu = document.all[tName].style; 
    121121 
    122     // ¥Õ¥©¥ë¥À¤ò¥ª¡¼¥×¥ó¾õÂ֤ؠ
    123     fnChgImg(IMG_FOLDER_OPEN, imgName); 
    124     // ¥ª¡¼¥×¥ó¥Õ¥¡¥¤¥ë¾õÂÖ¤òÊÝ»ý 
    125     arrTreeStatus.push(path); 
    126  
    127 /*  if(tMenu.display == 'none') { 
    128         if(type == '_parent') { 
    129             fnChgImg(IMG_FOLDER_OPEN_M, imgName); 
    130         } else { 
    131             fnChgImg(IMG_FOLDER_OPEN, imgName); 
    132         } 
    133  
    134         //tMenu.display = "block"; 
     122    if(tMenu.display == 'none') { 
     123        fnChgImg(IMG_MINUS, imgName); 
     124        tMenu.display = "block"; 
    135125        // ¥ª¡¼¥×¥ó¥Õ¥¡¥¤¥ë¾õÂÖ¤òÊÝ»ý 
    136126        arrTreeStatus.push(path); 
    137127 
    138128    } else { 
    139         if(type == '_parent') { 
    140             fnChgImg(IMG_FOLDER_CLOSE_P, imgName); 
    141         } else { 
    142             fnChgImg(IMG_FOLDER_CLOSE, imgName); 
    143         } 
     129        fnChgImg(IMG_PLUS, imgName); 
    144130        tMenu.display = "none"; 
    145131        // ÊĤ¸¾õÂÖ¤òÊÝ»ý 
    146132        fnDelTreeStatus(path); 
    147133    } 
    148 */ 
     134     
    149135    // ¥¯¥ê¥Ã¥¯¤·¤¿¥Õ¥©¥ë¥À¾ðÊó¤òÊÝ»ý 
    150136    document.form1['tree_select_file'].value = path; 
Note: See TracChangeset for help on using the changeset viewer.