Cryptogram Script3. Crypto Head Script |
|
More of this FeatureThere are two scripts that you need to incorporate into the head of your web page to put a cryptogram on the page. The first of these is the array script that you have already generated with your texts in it. The second script is always the same code and is the one that does most of the work. I have actually created two versions of this script. The one on this page reloads the whole page each time a selection is made (useful for displaying a selection of ads etc while people are visiting. The alternate version doesn't reload the page. To obtain the page reloading version of the second script simply copy and save the following code as crypthead.js. You then link the scripts into the head of your page using the following code (don't forget to change the name of the first script if you saved your array script to a different name):
<script src="cryptoarray.js"
type="text/javascript">
</script> <script src="cryptohead.js" type="text/javascript"> </script> <link rel="stylesheet" type="text/css" href="crypto.css" /> As you can see, we have included code to link in a stylesheet. We had better get the cryptogram stylesheet next. |

