<DIV id="margarinFrame" style="width:40px;height:40px;overflow:hidden;">
<DIV id="margarinImage" style="width:40px;height:280px;background:url('margarin.png');"></DIV>
</DIV>
<script language="javascript">
<!--
function moveScroll()
{
setTimeout("imageTimer(0)",130);
}
function imageTimer(pIndex)
{
var margarinFrame = document.getElementById("margarinFrame");
if(pIndex < 8)
{
margarinFrame.scrollTop = pIndex*40;
setTimeout("imageTimer(" + (pIndex +1) + ")",130);
}
}
-->
</script>
<input type="button" value=" 실 행 " onClick="moveScroll();">
<DIV id="margarinFrame" style="width:40px;height:40px;overflow:hidden;">
<DIV id="margarinImage" style="width:40px;height:280px;background:url('margarin.png');"></DIV>
</DIV>
댓글 없음:
댓글 쓰기