Snoot.org General (archives): re: hangsnoot (zoom)

[ back | refresh | last 25 | post new ]

re: hangsnoot
[282] by "Cooboid" (dialin0127.upenn.edu)   on Mon 21 Feb 2000 11:12:18     reply ] [ up ]
Put in a form name, for instance 'hang'. Make input's name 'word'. Now put in body tag onload="document.hang.word.focus();".

So it'd be (using the 'you win' page as example):

<body onload="document.hang.word.focus();">
<p><center><img width=206 height=226 src=/i/hang/happy.jpg><br><font face="Verdana,Arial,Helvetica" size=-1>You win! The word was <b>antimony</b>.</center>
<p>We'd love for you to enter a word for the next player:
<p><form action=/fcgi-bin/aphid method=get name=hang>
<input type=hidden name=p value="s/hang/play">
<input type=hidden name=key value="2051773021">
<input type=hidden name=n value="6">
<INPUT type=text name=word size="15"> <INPUT type="submit" value="Search">