//加载一个公司所有职位
function loadAllJobPanel( allJob ) {
if( allJob != null ) {
for( var i = 0 ; i < allJob.length ; i ++ ) {
var di = document.createElement( "div" );
$( di ).addClass( "daj_panel_mn_item" ).mouseover( function () {
$( this ).css( "background", "#EBF2F8" );
} ).mouseout( function() {
$( this ).css( "background", "" );
}).attr( "jid" , allJob[i].ID.toString() )
.attr( "bid" , allJob[i].BusinessId.toString() ).html( allJob[i].Name )
.click( function() {
window.location.href = "showJob.aspx?jobId=" + $( this ).attr( "jid" ).toString() + "&businessId=" + $( this ).attr( "bid" ).toString(); }).appendTo( "#daj_allJobs" );
}
}
}
function loadAllJobPanel( allJob ) {
if( allJob != null ) {
for( var i = 0 ; i < allJob.length ; i ++ ) {
var di = document.createElement( "div" );
$( di ).addClass( "daj_panel_mn_item" ).mouseover( function () {
$( this ).css( "background", "#EBF2F8" );
} ).mouseout( function() {
$( this ).css( "background", "" );
}).attr( "jid" , allJob[i].ID.toString() )
.attr( "bid" , allJob[i].BusinessId.toString() ).html( allJob[i].Name )
.click( function() {
window.location.href = "showJob.aspx?jobId=" + $( this ).attr( "jid" ).toString() + "&businessId=" + $( this ).attr( "bid" ).toString(); }).appendTo( "#daj_allJobs" );
}
}
}
if( allJob != null ) {
for( var i = 0 ; i < allJob.length ; i ++ ) {
var di = document.createElement( "div" ); //这里添加
$(di).css('background', 'Yellow');$( di ).addClass( "daj_panel_mn_item" ).mouseover( function () {
$( this ).css( "background", "#EBF2F8" );
} ).mouseout( function() {
$( this ).css( "background", "" );
}).attr( "jid" , allJob[i].ID.toString() )
.attr( "bid" , allJob[i].BusinessId.toString() ).html( allJob[i].Name )
.click( function() {
window.location.href = "showJob.aspx?jobId=" + $( this ).attr( "jid" ).toString() + "&businessId=" + $( this ).attr( "bid" ).toString(); }).appendTo( "#daj_allJobs" );
}
}
}