Hi,
I have javascript code for rotating images, but the rotation starts only when mouse is placed over the image. But i want to rotate images automatically when the page loads. Can any guide me in this regard.
the javscript for rotating images is :
mg src="'+mImages[this.a3].src+'" onmouseover="th is.src=\''+mIma gesO[this.a3].src+'\'" onmouseout="thi s.src=\''+mImag es[this.a3].src+'\'" border=0 id="img'+this.a 3+'" style="cursor:p ointer
I want to replace onmouseover and onmouseout event by any other event which helps me in rotating images automatically when th page loads.
please help me in this regard. thank you in advance.
I have javascript code for rotating images, but the rotation starts only when mouse is placed over the image. But i want to rotate images automatically when the page loads. Can any guide me in this regard.
the javscript for rotating images is :
mg src="'+mImages[this.a3].src+'" onmouseover="th is.src=\''+mIma gesO[this.a3].src+'\'" onmouseout="thi s.src=\''+mImag es[this.a3].src+'\'" border=0 id="img'+this.a 3+'" style="cursor:p ointer
I want to replace onmouseover and onmouseout event by any other event which helps me in rotating images automatically when th page loads.
please help me in this regard. thank you in advance.
Comment