Indsætte pause i script
HejHvordan får jeg sat en pause ind mellem hvert billede, så man kan nå at se dem? Her er scriptet:
<script>
function goto(from, arrive){
var diff= Math.abs(from-arrive);
if (diff!=0 && from<arrive)
for (e=from;e<=arrive;e++){
window.alert(from);
document.all.flash.src='./1024/control/'+from+'.jpg';
from++;
};
else if (diff!=0 && from>arrive)
{for (e=from;e>=arrive;e--)
{window.alert(from);
document.all.flash.src='./1024/control/'+from+'.jpg';
from--;
};
};
};
</script>
