Terry
01-02-2003, 11:40 PM
I thought I'd post this and see what you guys think (go easy on me :)). Anyway, my teacher gave the class a project to see if we could make a hangman game with an ActiveX object's draw methods and some good ole' DHTML. I've always wondered why javascript doesn't have any draw methods or graphics objects like Java has.
I suppose SVG will take the place of activeX and Flash... hopefully. Once we had the right object id it was a piece of cake (I found it by the way). Anyway, here's my program. I would've put the code in this post but I have a few includes and graphics that go with it. Best viewed in 1024 x 768 resolution, and IE only (of course).
http://www16.brinkster.com/webdesign23/Hangman/Hangman.htm
Tell me if it works in IE5. I had a problem with the way I checked for undefined subscripts in my arrays, I think I fixed it though (I'm using IE6).
- Terry
I suppose SVG will take the place of activeX and Flash... hopefully. Once we had the right object id it was a piece of cake (I found it by the way). Anyway, here's my program. I would've put the code in this post but I have a few includes and graphics that go with it. Best viewed in 1024 x 768 resolution, and IE only (of course).
http://www16.brinkster.com/webdesign23/Hangman/Hangman.htm
Tell me if it works in IE5. I had a problem with the way I checked for undefined subscripts in my arrays, I think I fixed it though (I'm using IE6).
- Terry