Fix Ad_Banner z-index

This commit is contained in:
Manson Wang 2013-10-18 15:54:50 +08:00
parent befb511492
commit 47894ab6f3
1 changed files with 2 additions and 0 deletions

View File

@ -73,8 +73,10 @@ function OrbitCycle(banner_index){
$(banner.banner_name+" > img").each(function(){ $(banner.banner_name+" > img").each(function(){
if(index==banner.current){ if(index==banner.current){
$( this ).css( "z-index", $(banner.banner_name+" img").length+1);
$(this).fadeTo( "slow" , 1); $(this).fadeTo( "slow" , 1);
}else{ }else{
$( this ).css( "z-index", index);
$(this).fadeTo( "slow" , 0); $(this).fadeTo( "slow" , 0);
} }
index++; index++;