Changeset 17409
- Timestamp:
- 2008/07/08 16:15:32 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/html/user_data/packages/default/js/file_manager.js
r17406 r17409 225 225 // imgタグの画像変更 226 226 function fnChgImg(fileName,imgName){ 227 document.getElementById(imgName).src = fileName;227 $("#" + imgName).attr("src", fileName); 228 228 } 229 229 230 230 // ファイル選択 231 231 function 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); 234 234 old_select_id = id; 235 235 } … … 238 238 function fnChangeBgColor(id, val) { 239 239 if (old_select_id != id) { 240 document.getElementById(id).style.backgroundColor = val;240 $("#" + id).children("td").css("background-color", val); 241 241 } 242 242 } … … 244 244 // test 245 245 function view_test(id) { 246 document.getElementById(id).value=tree247 } 246 $("#" + id).val(tree) 247 }
Note: See TracChangeset
for help on using the changeset viewer.