Ray's changes in announcenment back-end
This commit is contained in:
1 parent
97adf94e15
commit
55d12e50f2
14 files changed
+150
-44
No files matched your search
Vendored
+2
-1
@@ -1250,7 +1250,8 @@
|
||||
var that = this
|
||||
, complete = function () {
|
||||
if (startEvent == 'show') that.reset()
|
||||
that.$element.trigger(completeEvent)
|
||||
that.$element.trigger(completeEvent)
|
||||
mainTablePosition();
|
||||
}
|
||||
|
||||
this.$element
|
||||
|
||||
@@ -43,6 +43,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();
|
||||
@@ -80,7 +99,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 () {
|
||||
|
||||
Reference in new issue
Block a user