Learning to write variables for javascript can be a bit confusing. Several different ones will give you the same result..... Here is the table I started with and the one I ended with.... even though the original script went through three changes... Each one saving more bytes.... | |||||
the script went through to pare it from 3.9kb to 1.2kb. §.....Original §.....Using image tag once §.....Eliminating width variable §.....One string Here's a flag my friend did: § 36kb...Here is the javascript code....1.2kb.....§ Here are some art pieces utilizing this script idea: § This script by Tom gives wonderful explanations of saving bytes using javascript. Byte Budget Be sure to check out all the scripts and pages by Tom Thanks for all the help !! Border by Tsodi |