mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-30 00:29:58 +09:00
reverse merge from 1.6.0 (r10060)
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@10701 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
696a3164c3
commit
fe75a29691
2 changed files with 11 additions and 5 deletions
|
|
@ -6,13 +6,19 @@ window.xeNotifyMessage = function(text, count){
|
|||
$bar = $('<div class="message info" />')
|
||||
.hide()
|
||||
.prependTo(document.body);
|
||||
.css({
|
||||
'position' : 'absolute',
|
||||
'z-index' : '100',
|
||||
})
|
||||
.appendTo(document.body);
|
||||
}
|
||||
text = text.replace('%d', count);
|
||||
h = $bar.html('<p><a href="'+current_url.setQuery('act','dispCommunicationMessages')+'">'+text+'</a></p>').height();
|
||||
$bar.show().animate({top:0});
|
||||
$bar.css('top', -h-4).show().animate({top:0});
|
||||
|
||||
// hide after 10 seconds
|
||||
setTimeout(function(){
|
||||
$bar.slideUp();
|
||||
}, 10000);
|
||||
}, 5000);
|
||||
};
|
||||
})(jQuery);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue