mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
Common dialog bug fixes
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@12453 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
7ec02806be
commit
b6e1e42338
2 changed files with 74 additions and 26 deletions
|
|
@ -1002,7 +1002,7 @@ jQuery(function($){
|
|||
</div>');
|
||||
|
||||
//console.log($msgBox.html());
|
||||
$($("body")).append($msgBox);
|
||||
$("body").append($msgBox);
|
||||
//console.log($msgBox);
|
||||
//console.log($.find("body"));
|
||||
//$msgBox.show();
|
||||
|
|
@ -1179,8 +1179,54 @@ jQuery(function($){
|
|||
$.xeMsgBox._hideFoggy = function(){
|
||||
$foggyLayer.hide();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
jQuery(function($){
|
||||
$.xeFoggy = {};
|
||||
|
||||
var $foggyLayer = $.xeFoggy.$foggyLayer = $("<div>");
|
||||
$foggyLayer.css({
|
||||
position: 'absolute',
|
||||
top:0,
|
||||
left:0,
|
||||
backgroundColor:'#000',
|
||||
opacity: 0.5,
|
||||
display:'none',
|
||||
zIndex:9998
|
||||
});
|
||||
$("body").append($foggyLayer);
|
||||
|
||||
$.xeFoggy._resizeFoggy = function(){
|
||||
$foggyLayer.css({
|
||||
width: 0,
|
||||
height: 0
|
||||
});
|
||||
|
||||
setTimeout(function(){
|
||||
$foggyLayer.css({
|
||||
width: $(document).width(),
|
||||
height: $(document).height()
|
||||
});
|
||||
}, 0);
|
||||
}
|
||||
$(window).resize($.xeFoggy._resizeFoggy);
|
||||
$.xeFoggy._resizeFoggy();
|
||||
|
||||
$.xeFoggy.show = function(bClear){
|
||||
if(bClear){
|
||||
$foggyLayer.css({
|
||||
opacity: 0
|
||||
});
|
||||
}else{
|
||||
$foggyLayer.css({
|
||||
opacity: 0.5
|
||||
});
|
||||
}
|
||||
$foggyLayer.show();
|
||||
}
|
||||
$.xeFoggy.hide = function(){
|
||||
$foggyLayer.hide();
|
||||
}
|
||||
});
|
||||
|
||||
// Sortable table
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue