JS TETRIS

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Fabien Grasset

    JS TETRIS

    a JS Tetris online with hall of fame



    Enjoy!

    fabgrass


  • Richard Cornford

    #2
    Re: JS TETRIS

    "Fabien Grasset" <fgrasset@ide p-multimedia.com> wrote in message
    news:4007e151$0 $19264$626a54ce @news.free.fr.. .[color=blue]
    > a JS Tetris online with hall of fame
    >
    > http://www.idep-multimedia.com/tetris/tetris.php[/color]
    [color=blue]
    >Enjoy![/color]

    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.g etElementById(" HS").style.visi bility="visible ");

    LINES:
    javascript:void (document.getEl ementById("nbli gne").value=564 000);
    LEVEL:
    javascript:void (document.getEl ementById("nive au").value=3700 0);
    SCORE:
    javascript:void (document.getEl ementById("scor e").value=23461 00);
    type="hidden" ? :
    javascript:void (document.getEl ementById("nbco up").value=3700 00);

    (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.getEl ementById("nom" ).maxLength=41) ;

    write a name (including HTML but only 30 characters - trimmed on the
    server):-
    javascript:void (document.getEl ementById("nom" ).value="*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">
    &nbsp; *30 chars* </font></strong></td>

    It has been noticed so it probably will be fixed soon.

    Enjoy!

    Richard.


    Comment

    Working...