"); } else { imagecontainer14.append("
"); } } jQuery("#himage14"+step14).fadeIn(fadeInSpeed); //SmoothRotateHeaderImages14(); } } function SmoothRotateHeaderImages14() { fadeOutImage=jQuery("#himage14"+step14); if (rotation14 == 0 ){ //Rotate content sequentially step14+=1; if(step14>(7)) step14=0; } else { //Rotate content randomlystep14= generate14(0,imgNo114); } fadeInImage=jQuery("#himage14"+step14); fadeInImage.fadeIn(fadeInSpeed); fadeOutImage.fadeOut(fadeOutSpeed); } function generate14(x, y) { var range14 = y - x + 1; var randomNum14= Math.floor(Math.random() * range14) + x; while (step14== randomNum14) { randomNum14=generate14(0,imgNo114); }return randomNum14;}
| |
|