Fix Ad_Banner z-index
This commit is contained in:
parent
befb511492
commit
47894ab6f3
|
@ -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++;
|
||||||
|
|
Loading…
Reference in New Issue