工会web
This commit is contained in:
25
GonghuiWeb/www/m/js/one/mj.js
Normal file
25
GonghuiWeb/www/m/js/one/mj.js
Normal file
@@ -0,0 +1,25 @@
|
||||
function dh(ty){
|
||||
if(!ty){
|
||||
ty = 'main';
|
||||
}
|
||||
$(".tab .xfl").removeClass('tab_dhs');
|
||||
$("#tab_"+ty).addClass('tab_dhs');
|
||||
loadnr(ty);
|
||||
}
|
||||
function loadnr(ty){
|
||||
var w_width =$(window).width();
|
||||
var w_height =$(window).height();
|
||||
var left_height = w_height-25;
|
||||
var right_width = w_width-120;
|
||||
layer.open({type:2,shade:false});
|
||||
$.get('/dh/index.php', {
|
||||
ty : ty,
|
||||
md5 : md5,
|
||||
gameid : gid
|
||||
}, function(data, status) {
|
||||
$("#content").html(data);
|
||||
$(".pf-left").height(left_height);
|
||||
$(".gdinfo").width(right_width);
|
||||
});
|
||||
}
|
||||
loadnr('cj');
|
||||
Reference in New Issue
Block a user