View Full Version : On Click?

07-26-2002, 01:26 PM
Hi all!

Me again :D

This time its all about the "on click" code (I think thats what its called)

I'm making my own crosswords, and I'm trying to make it so once you've found the word you click on the letters of the word (I have made .gifs for each letter of the alphabet) the letters change to the new letter (the same letter, but a different colored background) and the images change to that new image.
I searched the sites, but I can't find it!

Also, would the script make it so that every time you click the letter (.gif) it changes? (so if you click it, the image changes, but if you click it again it changes back)

I've confused myself now, so I hope you can understand the description!!

Thanks for reading!


07-26-2002, 03:17 PM
FWI - 'onClick' is an event handler ( http://developer.netscape.com/docs/manuals/js/client/jsref/handlers.htm#1119876 ). Moving thread to the JavaScript Programming forum...Good luck ;).