Ray's changes in announcenment back-end

This commit is contained in:
Christophe Vilayphiou committed 2012-03-27 15:03:00 +08:00
1 parent 662c8c7a8a
commit 422a49f56c
14 files changed
+150 -44

No files matched your search

+2 -1
View File
@@ -1251,7 +1251,8 @@
var that = this
, complete = function () {
if (startEvent == 'show') that.reset()
that.$element.trigger(completeEvent)
that.$element.trigger(completeEvent)
mainTablePosition();
}
this.$element
+20 -1
View File
@@ -49,6 +49,25 @@ $(document).ready(function(){
$(document).on('click', '.sort-header > .sort', function() {
$.getScript($(this).attr('rel'));
});
var $role = $('.select-role');
var method =$('.privacy:eq(1)').attr('checked');
if(method == 'checked'){
$role.slideDown(0);
}
$('.privacy').each(function($i) {
$(this).click(function() {
switch ($i) {
case 0:
$role.slideUp(300);
break;
case 1:
$role.slideDown(300);
break;
}
});
});
/*tinyscrollbar&windows-Size*/
resize();
@@ -86,7 +105,7 @@ function mainTablePosition() {
var $height = $('#main-wrap > .subnav').height()
var $table = $('#main-wrap > .table')
//alert ($table.height())
$table.stop().animate({marginTop:$height},500)
$table.stop().animate({marginTop:$height-17},500)
//$table.css({marginTop : $height})
}
$(window).scroll(function () {