Thread: html rotation
View Single Post
  #8 (permalink)  
Old 11-12-09, 11:32 PM
hemi hemi is offline
Wannabe Coder
 
Join Date: Aug 2009
Posts: 117
Thanks: 15
Thanked 0 Times in 0 Posts
it is working fine but whn i insert another div that one is not working
that mean

<body onload="initObj()">
<div id="holder" onclick="cw = setTimeout('rotateClockwise()',interval);" onchange="ccw = setTimeout('rotateCounterClockwise()',interval);">
<span>hema </span>

</div>

<div id="holder" onclick="cw = setTimeout('rotateClockwise()',interval);" onchange="ccw = setTimeout('rotateCounterClockwise()',interval);">
<span>chandra</span>

</div>

the second div is not working
Reply With Quote