- Timestamp:
- 2012/02/11 05:48:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/html/user_data/packages/admin/js/ownersstore.js.php
r21441 r21481 41 41 remove: function() { 42 42 $("#TB_window").fadeOut( 43 "fast",43 'fast', 44 44 function(){ 45 $('#TB_window,#TB_overlay,#TB_HideSelect').trigger( "unload").unbind().remove();45 $('#TB_window,#TB_overlay,#TB_HideSelect').trigger('unload').unbind().remove(); 46 46 } 47 47 ); 48 48 $("#TB_load").remove(); 49 49 //if IE 6 50 if (typeof document.body.style.maxHeight == "undefined") {51 $( "body", "html").css({height: "auto", width: "auto"});52 $( "html").css("overflow", "");50 if (typeof document.body.style.maxHeight == 'undefined') { 51 $('body', 'html').css({height: 'auto', width: 'auto'}); 52 $('html').css('overflow', ""); 53 53 } 54 54 return false; … … 57 57 show_loading: function() { 58 58 //if IE 6 59 if (typeof document.body.style.maxHeight === "undefined") {60 $( "body","html").css({height: "100%", width: "100%"});61 $( "html").css("overflow","hidden");59 if (typeof document.body.style.maxHeight === 'undefined') { 60 $('body','html').css({height: "100%", width: "100%"}); 61 $('html').css('overflow','hidden'); 62 62 //iframe to hide select elements in ie6 63 if (document.getElementById( "TB_HideSelect") === null) {64 $( "body").append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>");63 if (document.getElementById('TB_HideSelect') === null) { 64 $('body').append("<iframe id='TB_HideSelect'></iframe><div id='TB_overlay'></div><div id='TB_window'></div>"); 65 65 $("#TB_overlay").click(this.remove); 66 66 } 67 67 //all others 68 68 } else { 69 if (document.getElementById( "TB_overlay") === null) {70 $( "body").append("<div id='TB_overlay'></div><div id='TB_window'></div>");69 if (document.getElementById('TB_overlay') === null) { 70 $('body').append("<div id='TB_overlay'></div><div id='TB_window'></div>"); 71 71 $("#TB_overlay").click(this.remove); 72 72 } … … 75 75 if (this.detectMacFF()) { 76 76 //use png overlay so hide flash 77 $("#TB_overlay").addClass( "TB_overlayMacFFBGHack");77 $("#TB_overlay").addClass('TB_overlayMacFFBGHack'); 78 78 } else { 79 79 //use background and opacity 80 $("#TB_overlay").addClass( "TB_overlayBG");80 $("#TB_overlay").addClass('TB_overlayBG'); 81 81 } 82 82 83 83 //add and show loader to the page 84 $( "body").append(84 $('body').append( 85 85 "<div id='TB_load'>" 86 86 + " <p style='color:#ffffff'>" + loading_message + "</p>" … … 101 101 var ajaxContentH = TB_HEIGHT - 45; 102 102 103 if ($("#TB_window").css( "display") != "block") {103 if ($("#TB_window").css('display') != 'block') { 104 104 $("#TB_window").append( 105 105 "<div id='TB_title'>" … … 112 112 //this means the window is already up, we are just loading new content via ajax 113 113 } else { 114 $("#TB_ajaxContent")[0].style.width = ajaxContentW + "px";115 $("#TB_ajaxContent")[0].style.height = ajaxContentH + "px";114 $("#TB_ajaxContent")[0].style.width = ajaxContentW +'px'; 115 $("#TB_ajaxContent")[0].style.height = ajaxContentH +'px'; 116 116 $("#TB_ajaxContent")[0].scrollTop = 0; 117 117 } … … 127 127 $("#TB_ajaxWindowTitle").html(title); 128 128 $("#TB_ajaxContent").html(contents); 129 $("#TB_window").css({display: "block"});129 $("#TB_window").css({display:'block'}); 130 130 131 131 // DL成功時に設定ボタンを表示
Note: See TracChangeset
for help on using the changeset viewer.