I would like, when the white arrow is clicked, for the tray to move off the screen so that just the arrow is visible and then to return to its original position if the arrow is clicked again.
function zxcReturn() {
zxcargs = zxcReturn.arguments;
for (zxc0 = 0; zxc0 < zxcargs.length; zxc0++) {
zxcr = document.getElementById(zxcargs[zxc0]);
if (zxcr.obj) {
clearTimeout(zxcr.obj.to);
zxcr.obj.down = zxcr.obj.base;
zxcr.obj.auto();
}
}
}
Thanks in advance for all help.
12-09-2010, 04:35 PM
Tcobb
I won't say its the only thing wrong with your code, but in your function moveTray() you use document.elementById... when it should be "document.getElementById..." I doubt you will make much progress until that is changed.
And what is with this "style/images/>.png" ? I don't think that '>.png' is a valid name, although it might be in some OS's. I think it needs to be the name of the actual image, as in "myPict.png" You can of course have the path prepended to it, but you should have the file name of the image at the very end.