i have this JS code,
[CODE] var dir = 1;
var dir_rem = 0;
function img_onload(){
x = document.getElementById(“allban”).scrollLeft;
//document.form1.keywd.value += x+”;”;
if (x>=(total_w – 312)) dir = -1;
if (x<=0) dir = 1;
document.getElementById(“allban”).scrollLeft = dir + x;
window.setTimeout(‘img_onload()’, 30);
}
function stop(xx){
if (xx==0){
dir_rem = dir;
dir = 0;
}
else dir = dir_rem;
}
total_w = 620;
in <HEAD>
then
<BODY>
[CODE] <div id=”allban” style=”margin-left: 4px; margin-bottom: 10px; padding-left: 15px; _padding-left: 20px; width:606px; _width:620px; overflow: hidden; white-space:nowrap;” onmouseover=”stop(0);” onmouseout=”stop(1);”>
<a href=”http://www.domain1.com” target=”_blank”><img src=”homepage/banner6.gif” border=”0″ width=”150″ height=”50″ class=”banner” id=”banner0″></a>
<a href=”http://www.domain2.com” target=”_blank”><img src=”homepage/banner1.gif” border=”0″ width=”150″ height=”50″ class=”banner” id=”banner1″></a>
<a href=”http://www.domain3.com” target=”_blank”><img src=”homepage/banner2.gif” border=”0″ width=”150″ height=”50″ class=”banner” id=”banner2″></a>
<a href=”http://www.domain4.com” target=”_blank”><img src=”homepage/banner3.gif” border=”0″ width=”150″ height=”50″ class=”banner” id=”banner3″></a>
<a href=”http://www.domain5.com” target=”_blank”><img src=”homepage/banner4.gif” border=”0″ width=”150″ height=”50″ class=”banner” id=”banner4″></a>
<a href=”http://www.domain6.com” target=”_blank”><img src=”homepage/banner5.gif” border=”0″ width=”150″ height=”50″ class=”banner” id=”banner5″></a>
</div>
this code scrolls 6 banners from the rleft to the right, then back, it’s quite fine, but i think much better it could be for my advertisers if these 6 banners will be turning around, i mean after 6th ad will goes again 1st ad, 2ndd… and overe and over…
if that’s question of money let me know Need to do it fast !