Ignore:
Timestamp:
2010/03/11 10:35:11 (14 years ago)
Author:
kajiwara
Message:

正式版にナイトリービルド版をマージしてみるテスト

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tmp/version-2_5-test/html/user_data/packages/default/js/file_manager.js

    r16748 r18609  
    158158function fnTreeMenu(tName, imgName, path) { 
    159159 
    160     tMenu = document.all[tName].style; 
    161  
    162     if(tMenu.display == 'none') { 
     160    tMenu = $("#" + tName); 
     161 
     162    if(tMenu.css("display") == 'none') { 
    163163        fnChgImg(IMG_MINUS, imgName); 
    164         tMenu.display = "block"; 
     164        tMenu.show(); 
    165165        // 階層の開いた状態を保持 
    166166        arrTreeStatus.push(path); 
     
    168168    } else { 
    169169        fnChgImg(IMG_PLUS, imgName); 
    170         tMenu.display = "none"; 
     170        tMenu.hide(); 
    171171        // 閉じ状態を保持 
    172172        fnDelTreeStatus(path); 
     
    225225// imgタグの画像変更 
    226226function fnChgImg(fileName,imgName){ 
    227     document.getElementById(imgName).src = fileName; 
     227    $("#" + imgName).attr("src", fileName); 
    228228} 
    229229 
    230230// ファイル選択 
    231231function fnSelectFile(id, val) { 
    232     if(old_select_id != '') document.getElementById(old_select_id).style.backgroundColor = ''; 
    233     document.getElementById(id).style.backgroundColor = val; 
     232    if(old_select_id != '') $("#" + old_select_id).children("td").css("background-color", "#FFFFFF"); 
     233    $("#" + id).children("td").css("background-color", val); 
    234234    old_select_id = id; 
    235235} 
     
    238238function fnChangeBgColor(id, val) { 
    239239    if (old_select_id != id) { 
    240         document.getElementById(id).style.backgroundColor = val; 
     240        $("#" + id).children("td").css("background-color", val); 
    241241    } 
    242242} 
     
    244244// test 
    245245function view_test(id) { 
    246     document.getElementById(id).value=tree 
    247 } 
     246    $("#" + id).val(tree) 
     247} 
Note: See TracChangeset for help on using the changeset viewer.