Wish: hobbitserver find option.
Hello Henrik,
This is a not a request for a major feature, but it would be very welcome if this could be implemented in a coming version of Hobbit.
I would like to see that, when I choose the find-option from the menu, the carret moves immedeately to the box where you can enter data. Just like the way google works when you enter www.google.com. You can start typing directly; with the current Hobbit-version you have to hit the TAB-button first.
Thanks in advance,
Peter
I would like to see that, when I choose the find-option from the menu, the carret moves immedeately to the box where you can enter data. Just like the way google works when you enter www.google.com. You can start typing directly; with the current Hobbit-version you have to hit the TAB-button first.
Henrik,
If you allow (i´m still here, but a litle busy these last months),
I already have this suggestion implemented on my running hobbit, so I´ve token 5 minutes to made a quick check on the files and build the attached diff file, who should allow the requested "focus()" correctly be set.
Let me know any problems.
Reagrds
Werner
PS: 2 help, on already installed hobbit you could
- put the diff file in ~server/web
- run "patch --backup -p0 <findhost_web_form.diff"
- reload http://<hobit_server>/hobbit-cgi/bb-findhost.sh and the focus should move to the test field.
This feature would require you to edit two files.. see below:
[1] Edit the file $HOBBITHOME/server/web/findhost_form insert: NAME="findHost" ... in the line <FORM METHOD="GET" ACTION="&REQUEST_URI"> insert: onLoad="focus.host();" ... in the line <INPUT TYPE="TEXT" NAME="host" VALUE="" MAXLEN GTH=200 SIZE=70><BR>
[2] Edit the file $HOBBITHOME/server/web/findhost_header insert: onLoad="document.findHost.host.focus();" ... in the line <BODY BGCOLOR="&BBBACKGROUND" BACKGROUND="&BBSKIN /bkg-&BBBACKGROUND.gif" > tag.
And try the find host on the menu.. the cursor is automatically pointing to the form: "Pattern to look for"
HTH.
On 1/23/06, Peter Welter <peter.welter at gmail.com> wrote:
Hello Henrik,
This is a not a request for a major feature, but it would be very welcome if this could be implemented in a coming version of Hobbit.
I would like to see that, when I choose the find-option from the menu, the carret moves immedeately to the box where you can enter data. Just like the way google works when you enter www.google.com. You can start typing directly; with the current Hobbit-version you have to hit the TAB-button first.
Thanks in advance,
Peter
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (3)
-
great.dilla@gmail.com
-
peter.welter@gmail.com
-
wmlist_ext@terra.com.br