diff options
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/boxes.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/boxes.pm b/lib/boxes.pm index 8c29644..5f9121e 100644 --- a/lib/boxes.pm +++ b/lib/boxes.pm @@ -41,12 +41,13 @@ sub search_box print <<__SEARCH__; <div class="message"> <table width=100% border=0 cellpadding=0 cellspacing=0 style="margin: 0px;"> +<script type="text/javascript">window.onload = function(){ document.getElementById("q").focus() }</script> <form action="$BUCKY/2/search" method="get" enctype="multipart/form-data"> $DEBUG_FORM_STRING <tr><td height=$AVATAR_MED_WIDTH> <table width=100% cellpadding=0 cellspacing=0 border=0> <tr><td style="text-align: center; vertical-align: middle;"> -<input name="q" value="" maxlength=1024 style="font-size: 10px; font-family: Trebuchet MS, Helvetica, Arial, sans-serif; +<input id="q" name="q" value="" maxlength=1024 style="font-size: 10px; font-family: Trebuchet MS, Helvetica, Arial, sans-serif; color: #140A0A; border: 1px #140A0A solid; padding: 1px; margin: 0px 0px 0px 0px; width: 100%;"> </td> <td style="text-align: center; vertical-align: middle;"> |
