Suggestion: autofocus on botcheck input box

What new things would you like to see in Bulfleet? Give input on other ideas!
Потребителски аватар
chaosprime
Редник (Private)
Мнения: 10
Регистриран: ср окт 31, 2007 9:33 pm
Местоположение: New Jersey
Контакти:

Мнение от chaosprime »

It would be nice if the input focus were automatically moved into the input box in the botcheck, rather than requiring the user to click into the box.

There is Javascript form autofocus code at the link given that could be used to easily do this.
[i]Lost Souls: [url=http://lostsouls.org]text based RPG[/url]
MUDseek: [url=http://mudseek.com]MUD gaming search engine[/url][/i]
Nastiezo
Редник (Private)
Мнения: 32
Регистриран: вт ное 06, 2007 3:08 am
Контакти:

Мнение от Nastiezo »

chaosprime написа:QUOTE(chaosprime @ Nov 2 2007, 11:09 AM) It would be nice if the input focus were automatically moved into the input box in the botcheck, rather than requiring the user to click into the box.

There is Javascript form autofocus code at the link given that could be used to easily do this.
That javascript code is seriously the most ugly piece of work I've ever seen lol... I like your suggestion which is why I'll help by adding the simplest javascript method of focusing on an input box.

Код: Избери всички

document.form1.imgcode.focus();
Goes after the form tag.... I adapted it to work on the current botcheck on uni2..dunno if uni1, 3 or speed are different.
Последна промяна от Nastiezo на ср ное 07, 2007 6:38 pm, променено общо 1 път.
Отговори

Върни се в “Ideas & Suggestions”