Menu
I have this code:
[CODE]<SCRIPT>
function tecla (e) {
if(!e) e=window.event;
key = e.keycode ? e.keycode : e.which;
if (key == 39)
{
ss.next();
e.returnValue=false;
}
else if (key == 37)
{
ss.previous();
e.returnValue=false;
}
}
</SCRIPT>
And for the HTML:
[CODE]<body onKeyDown=”tecla(event)”>
</body>
What I need is that when someone press the directional right or left key, a slideshow moves back and for.
Any Ideas?