Message text hi Nick & Fourth,
I really like the burst length option, thank you The new BM page source code looks very nice. I know your html & javascript rather well because I studied it for takeAplay ( ). I think I have one suggestion to make your BM pages even lighter.
The way you generate the hex-map is a bit perverse. You have one div for each hex, and "strettosinistra" and "strettodestra" div's for half-hexes. There was a reason for this with the much older code, when you used to "attach" the plane gifs to the single hexes (so to speak).
With your new javascript code, there's just no need to do this: you can just as well make a single <div class="SimplifiedHexMap">, with the hexes as a background: you will just have to make a new hexagon gif, which should be one-and-a-half hex big (one full hex, plus a vertical line below it), then you can generate the full map simply with the following CSS:
.SimplifiedHexMap { background-image:URL("../images/hexes/hexagon.gif"); }
I'm using this for Void Patrol, and it works for IE, Firefox, Opera, Safari, Mozilla Suite, Konqueror. This will make the html much lighter 
Give us faster & lighter fun! 
neko
--- Message edited by flying_neko
--- Message edited by flying_neko |
|
|