A nice rendition of the Tic Tac Toe game. Play against the computer and choose the difficulty level.
W e have tested the code in IE5.5, IE6, Netscape4.08 and Netscape7.02. This script worked well in all platforms tested with one variation observed in Netscape4.08.
- 1) Once the page is opened, it will flash and constantly reload itself.
- 2) In other words, it will not work in Netscape 4.08.
D epending on your knowledge of HTML and java scripts, this is an easy, one part copy and paste code* that goes in the <BODY> section of your document.
- * The site you get the copy and paste code from has part of the code missing from the "See The Code" link and the game will not work if you paste it as is from that location.
- We have notified them of this on 04/21/03 for them to rectify this small problem.
- Until they rectify this, if you select "Run the code" instead and then view the source** code on that page, you can copy and paste the correct code from there.
- ** If you do not know howto view the source code, at the top of the browser window select "View" and then select "Source" to see the code.
T he next thing you need to do is save the three (3) different images used in the game and upload them into the same directory as the game. You will notice below three (3) boxes, one contains an X, one contains an O and the third appears to be empty. It is not empty but contains a "nothing" gif image that you also need.
![]() |
![]() |
![]() |
O nce you upload the three (3) images, paste the correct code in the <BODY> section of your document, you may still not see the uploaded images but the infamous little X. If this occurs, replace the name of the images with the complete URL path of the uploaded image and not just the image name. This is done 5 times in the first part of the script and 9 times in the second part of the script. Just study the script and you will see where to change the default to the complete path of the uploaded image.
I n other words, the way the images are being called from the script are as the below depicts. First we will show you the default on how the images are being called and then howto change to the complete URL.
Default Calling Of Images
- src="ex.gif"
- src="oh.gif"
- src="nothing.gif"
Reconfigured Calling Of Images
- src="http://www.your address of uploaded image/ex.gif"
- src="http://www.your address of uploaded image/oh.gif"
- src="http://www.your address of uploaded image/nothing.gif"
I
f you would like to add this effect into your pages, just grab the below link and you are there. If you have any problems with this, feel free to contact us.
[ Get Code Here ]
Search Our Site By Individual letter
[ A ]
[ B ]
[ C ]
[ D ]
[ E ]
[ F ]
[ G ]
[ H ]
[ I ]
[ J-K ]
[ L ] |
Little Tips Directory [ Page 1 ] [ Page 2 ] [ Page 3 ] [ Page 4 ] [ Page 5 ] [ Page 6 ] [ Page 7 ] |
[ Index Page 1 ]
[ Index Page 2 ]
[ Index Page 3 ]
[ Index Page 4 ]
[ Index Page 5 ] [ Index Page 6 ] [ Index Page 7 ] [ Index Page 8 ] [ Index Page 9 ] [ Index Page 10 ] [ Index Page 11 ] [ Index Page 12 ] [ Index Page 13 ] [ News Letter Archives ]
[ Navigation Page ]
[ Archives Of Published Material ] |
If you are part of the ever growing number of webmasters who enjoy
sharing your knowledge with others on web design, join The
Consigliere Ltd. web ring to broaden your scope of exposure.
Join Today
This Site Was Built And Is Maintained Exclusively by
The Webmaster @ Consigliere Ltd.
Copyright © Consigliere Ltd., All Rights Reserved. 2001-