Menu
EXAMPLE
[code]
left:
http://www.google.com
right:
http://www.yahoo.com
when the user presses the right arrow key he should be redirected to the yahoo webpage, same goes for the left arrow key going to the google webpage.
does anyone know how to do this?;P
EXAMPLE
[code]
<script type=”text/javascript”>
var right_url=’http://www.yahoo.com’;
var left_url=’http://www.google.com’;
function right_arrowkey()
{
var url=right_url;
//function
}
function left_arrowkey()
{
var url=left_url;
//function
}
</script>