ok so i have the code listed below and i want it so that when i click the button x goes up by 60 for every click. then, this part i need but not as much, when it reaches y i would like it to execute a command to change a pic.
Code:
<input name="submit" type="button" value="button" onclick="button" />
<script language="JavaScript" type="text/javascript">
var x;
var y;
x = 0;
y = 600;
document.write(x);
document.write("/");
document.write(y);
</script>
Comment