_login.showBackground前景顯示/隱藏桌面背景層

2018-02-07 15:04 更新
  • 函數(shù)原型

/* 前端顯示
/隱藏桌面背景層,對(duì)于可操作的背景(如網(wǎng)址背景)有功效 */
_config.topbackground=0;
_login.showBackground=function(){ //前景顯示桌面背景層,對(duì)于可操作的背景有功效
	_config.topbackground=!_config.topbackground	
	if(_config.topbackground){
			 jQuery('#wrapper_div').css('z-index',100001);		 
			 jQuery('#hidebackground_button').show();	
	}else {		
	                 jQuery('#wrapper_div').css('z-index',0);		
	                 jQuery('#hidebackground_button').hide();
	}
 }


以上內(nèi)容是否對(duì)您有幫助:
在線筆記
App下載
App下載

掃描二維碼

下載編程獅App

公眾號(hào)
微信公眾號(hào)

編程獅公眾號(hào)