태터툴즈 스크립트폴더에 있는 gallery.js 그대로고요..
control.innerHTML = '(' + (this.offset + 1) + '/' + this.numImages + ') <a href="#" onclick="document.getElementById(\'' + this.containerId + '\').instance.prev(); return false" style="border: 0px"><img src="' + servicePath + '/image/gallery_prev.gif" width="20" height="16" alt="PREVIOUS" style="vertical-align: middle"/></a> <a href="' + this.src[this.offset] + '" rel="' + enlargelb + '" title="' + captionText + '" style="border: 0px" target="_blank"><img src="' + servicePath + '/image/gallery_enlarge.gif" width="27" height="19" alt="ZOOM" title="' + captionText + '" style="vertical-align: middle"/></a> <a href="#" onclick="document.getElementById(\'' + this.containerId + '\').instance.slide(); return false" style="border: 0px"><img src="' + servicePath + '/image/gallery_slide_off.gif" width="27" height="19" alt="SLIDE" style="vertical-align: middle"/></a> <a href="#" onclick="document.getElementById(\'' + this.containerId + '\').instance.next(); return false" style="border: 0px"><img src="' + servicePath + '/image/gallery_next.gif" width="20" height="16" alt="NEXT" style="vertical-align: middle"/></a>';
이부분을 위와 같이 변경했고..
TTGallery.prototype.slide = function()
{
};
위 함수는 함수만 만들어놓은겁니다.. 여러개 넣어서 해봤는데.. java를 잘몰라서 그런지 안되네요..
this.show(this.offset+1);
그냥 이렇게 넣으면 한번 다음으로 넘어 가긴하는데..
계속 해서 반복해서 할려고
setTimeout도 써봤는데 잘못썻는지 되지가 않네요