Ray's changes in announcenment back-end

This commit is contained in:
Christophe Vilayphiou authored and Christophe Vilayphiou committed 2012-03-27 18:58:03 +08:00
1 parent 97adf94e15
commit 55d12e50f2
14 files changed
+150 -44

No files matched your search

+2 -1
View File
@@ -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
+20 -1
View File
@@ -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 () {